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.