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.

TMS570LS0232: Erasing and writing flash memory data with F021 Flash API

Part Number: TMS570LS0232

Hello everyone,

I need to delete and add data from flash memory via bootloader. I'm trying it with F021 ( 2.01.01) Flash API codes (Fapi_setActiveFlashBank(Fapi_FlashBank0)), but the code doesn't compile every time and I encounter a few errors:
1-) "push registers and link register on to stack" in dabort.asm
2-) "check if bit 3 is set, this indicates uncorrectable ECC error on B0TCM" in dabort.asm
3-) "prefetchEntry" in sys_intvecs.asm
I cannot compile any flash api code such as deleting flash memory data, adding data or activating flash bank.
How can I fix?

Thank you for your help.

Greetings

Fatih