2018-11-26 02:06 AM
I wanted to test Error Correction code (ECC) for the flash memory (for both data flash and code flash) and was looking out for a way to generate these error. In the Reference manual (SPC560P40L3 micro), ECC Error Generation Register (EEGR) is given, but its mentioned for RAM error generation, is there any way we could also generate error for flash memory also??
Solved! Go to Solution.
2018-11-28 02:16 AM
Hello Burhanuddin ,
there is an example on SPC5Studio 5.8.1
SPC560Bxx_RLA ECC Test Application for Discovery
Best regards
Erwan
2018-11-26 03:47 AM
I don't know about the SPC, but for the ECC protected STM32, a second write with a schanged pattern with more programmed bit to already programmed flash will provoke an ECC error.
2018-11-26 08:00 PM
Do you mean I should perform a second write operation without performing an erase operation to that location with some different value??
2018-11-28 01:52 AM
Hello All,
Is there some manual / Document where i can get more information about ECC handling and some test code through which i can verify ECC Error Scenario any help on the same is appreciated.
Thanks and Regards
2018-11-28 02:16 AM
Hello Burhanuddin ,
there is an example on SPC5Studio 5.8.1
SPC560Bxx_RLA ECC Test Application for Discovery
Best regards
Erwan