This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS3137: speculative fetch CR4 and bootloader

Part Number: TMS570LS3137

Hello,

in the post

https://e2e.ti.com/support/microcontrollers/hercules/f/312/t/228184

is mentioned that the CPU uses a "speculative fetch" and this fact requires that "The ECC values for all of the ATCM program memory space (flash banks 0 through 6) must be programmed into the flash before SECDED is enabled."

I'am using a bootloader that is located in Flash sector 0 (0x0000 - 0x7FFF). Sector 1 - 14 in Bank 0 is cleared and reprogrammed if required by the target application (in my case about 200 KBytes).

Q: What is the best way to prevent an data abort error if the speculative fetch reads from an address that is not initialized/writen by the bootloader?

Q: is it really neccessary to programm the whole remaining memory (3MB with dummy data) to prevent any data abort?

regards

Lorenz