Tool/software: Code Composer Studio
I've been tasked to enable ECC for our flash memory. In sys_startup.c just after RAM ECC is enabled with _coreEnableRamEcc_() - I enable flash ECC with _coreEnableFlashEcc_();
CCS is set to erase all of flash, and target settings are set to auto ECC generation. But after CCS loads this bootloader application, the ECC fails when this blank memory is first read.
I see CCS erasing all of flash, but it is not generating the correct ECC.
Our software version# is read out of flash just after main, before the F01 Flash API is used. For now I've moved the enabling of flashecc until our bootloader and app have been updated.
This thread is similar to my situation, but it is closed now.
https://e2e.ti.com/support/microcontrollers/hercules/f/312/p/887304/3284317?tisearch=e2e-sitesearch&keymatch=rm44%252520flash%252520ecc#3284317
Processor: RM44L520, I also use TMS570 too but I have not tried enabling flash ecc yet.
CCS: 10.1.1
Debugger: Blackhawk USB200/XDS200 JTAG
