Hi,
I have just started using a TMS570LC4357 on the TMDX570LC43HDK to port our existing TMS570LS3137 bootloader and application.
I currently have the linker script setup to virtual fill the empty flash and generate the ECC. This allow me to search for erased flash addresses using the F021 API without triggering a fatal bus error and the causing the nError LED to turn on.
The problem is when I erase a sector with the Flash API and only write the bytes required back into this erase sector the erased space is not 0xFFFFFFFF. A subsequent read in this sector for empty space causes the Error LED to turn on due to uncorrectable ECC.
Is there an easy way to erase a sector and leave it in a sort of virtual fill state with the F021 API?
I don't really want to write a whole flash sector of bytes with unused space initialised to 0xFF if I can help it.
Thanks,
Stu