It's understood that the HW provides automatic correction of single bit ECC errors. However, it's unclear where the corrections are being made.
When the hardware autocorrects a single bit ECC error, does it correct on both the read out and the memory cell, or just on the read out?
From the AN5335 example figure, is the Read-out Data being corrected from 0->1? That would mean we need to write back the corrected value to RAM to actually clear it within the memory cell.
We are concerned if the data in the RAM memory cell is not corrected, a single bit error could degrade to a double bit error.
Hello @sean_dvorscak
1. "When the hardware autocorrects a single bit ECC error, does it correct on both the read out and the memory cell, or just on the read out?"
->>The correction is performed only on readout; the SRAM cell contents are not written back.
2. "We are concerned if the data in the RAM memory cell is not corrected, a single bit error could degrade to a double bit error."
->>Yes, if you want to clear errors in the memory cells and prevent error accumulation, it is recommended that the software perform a read-correct-writeback operation.
Thank you.
BR
Alice