Software Handling for ECC Error detection in CY7C1061GE30-10BV1XI

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
swanandpurankar
Level 1
Level 1
First question asked First like given Welcome!

I am using CY7C1061GE30-10BV1XI  as external RAM in the product and this RAM provides "ERR" pin which should be monitored by software.

When ERR is asserted? On correcting the data or if RAM could not correct the data? 

In my opinion, if data is corrected by ECC algorithm, then software need not do anything but if it is uncorrectable, then appropriate action should be taken.

0 Likes
1 Solution
PradiptaB_11
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Hi,

When the ERR pin is asserted, due the ECC hardware you will read the correct data even though there may be one bit data corruption. Please note that the corrupted bit itself is not corrected in the memory location. So in case of SEUs, when you are reading the memory and if the ERR pin is asserted for some address location then the best practice will be to to write back the read data (as the read data will be correct due to ECC hardware). You can also read our app note on this.

https://www.cypress.com/file/141291/download

Thanks,

Pradipta.

View solution in original post

1 Reply
PradiptaB_11
Moderator
Moderator
Moderator
500 replies posted 250 solutions authored 250 replies posted

Hi,

When the ERR pin is asserted, due the ECC hardware you will read the correct data even though there may be one bit data corruption. Please note that the corrupted bit itself is not corrected in the memory location. So in case of SEUs, when you are reading the memory and if the ERR pin is asserted for some address location then the best practice will be to to write back the read data (as the read data will be correct due to ECC hardware). You can also read our app note on this.

https://www.cypress.com/file/141291/download

Thanks,

Pradipta.