Conclusion
With a higher level of integration of the microelectronics in a system, memory cells are more prone to failure, hence ECC memory integrity protection becomes more important. The main difference between the RAM ECC compared to a regular peripheral is that the RAM ECC cannot be turned off as it is an integral part of the RAM interface.
This application note is a description of the ECC in RAM, flash memory and cache memory.
It provides also procedures to deal with ECC errors in RAM and flash memory.