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, ...