Hello all,
I'm working on an bootloader for a TMS570LS1224. All works fine so far. I can successfully erase flash and verify an application and start it afterwards. But now I try to add a Magic (0x5A5A5A5A) at the beginning of the application flash after verify to mark the it as valid. Therefore I left 8 bytes unused (0xFF) right at the beginning of the application and try to write the Magic there after verify. But this write fails form time to time. I guess it could be something related to the ECC bit generation. As stated in the manual the ECC bits are generated for every 64 bit written to the flash. That's the reason I left 8 bits space for the 4 byte Magic. Is it allowed to overwrite a flash portion that was previous written with 0xFF?
Any help is appreciated.
Kind regards
Jens