Hello,
I am using TI's Hercules TMS570LS0432 microcontroller and I need to read and write to flash memory. In order to do that I need to use TI's F021 Flash API (according to the app note: spnu501h). However, my company is currently using ARM Keil tools to compile code, whereas the F021 API is built using TI's code generation tools for ARM. The folks over at ARM support said that the ABI for code compiled with Keil ARM tools is not compatible with the F021 library compiled using TI's tools.
So, I am wondering 2 things: 1) Does it sound accurate that they are not compatible? 2) If that is the case, is there a version of the F021 API that is compiled with Keil ARM tools instead of TI Tools? (Based on a few forum posts it appears that getting source code and compiling it myself is not an option).
Another option would be to use the flash programming algorithms for TMS570LS that come included with Keil. However on page 2 of spna148 (which discusses writing custom program/erase functions) it says, "The F021 Flash API is still required for Flash initialization and bank selection." Does that mean that I will always have to use those initialization functions from TI's F021 API when using flash on the TMS570LS0432? Or could I use the equivalent functions included with Keil? (For me, the file with those functions is located at: C:\Keil_v5\ARM\TMS570LS_F021_384KB.FLM)
Thank you very much for your help!
Gawan