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.

F021 Flash API on TMS570LS2021

Hello,

I have a functional boot loader for the TMS570 LS3137 using F021 Flash API that gets loaded into RAM. I am attempting to use this same boot loader for the LS2021. However, I am having issues executing the F021 Flash API commands (ex: Fapi_initializeFlashBanks). 

When I look at the disassembly, I can step through this command in RAM, so I know it has been properly copied into location. However, somewhere during the execution of this command, I get a data abort. 

Before I dig deeper into possible errors in my memory mapping/linker.cmd, I would like to ask:

Is F021 Flash API compatible with the LS2021? Or, are there any known issues?

From what I know about the 2 different flavors of uController(LS2021 and LS3137) I thought the main differences were memory mapping and peripheral selection. I am now concerned if the LS2021 will need to use a different flash API (F035).

Thanks,

Phillip