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.
Tool/software:
Hi Team,
How to generate flash api related files for F021 on TMS570LS0914? I need to include them in my bootloader application where the data to be stored in the program memory.
Regrads,
Bhanu Prakash.
Hi Bhanu Prakash,
How to generate flash api related files for F021 on TMS570LS0914? I need to include them in my bootloader application where the data to be stored in the program memory.
It is not possible to generate the F021 files from HALCoGen.
And we have a F021 flash library for hercules devices, you need to download that library and should need to include that library to your project.
HERCULES-F021FLASHAPI Driver or library | TI.com
Once you did that you could call erase/read/write routines to perform the corresponding operations.
You can find some examples related FAPI in below FAQ:
--
Thanks & regards,
Jagadish.
Hi Jagadish Gundavarapu,
Thank you for the information. Can you suggest that which lib file exactly need to be included for TMS570LS0914 controller?
Below is the list for your reference.
Thanks & Regards,
Bhanu Prakash.
Hi Bhanu,
Please use "F021_API_CortexR4_BE_V3D16" library.
--
Thanks & regards,
Jagadish.
Hi Jagadish,
Thank you for the info but after including the particular file mentioned, it's throwing me the below error during compilation.
object files have incompatible byte orderings ("../FLASH/F021_API_CortexR4_LE_V3D16.lib<Async.WithAddress.obj>" = little endian, "./ASW/source/Application/AppLayerInterface.obj" = big endian) null: object files have incompatible byte orderings ("../FLASH/F021_API_CortexR4_LE_V3D16.lib<Async.WithAddress.obj>" = little endian, "./ASW/source/Application/AppLayerInterface.obj" = big endian)
Can you suggest any solution on the same?
Thanks & Regards,
Bhanu Prakash
Hi Bhanu Prakash,
I think you are including wrong library.
I told you to include big endian (BE) library (F021_API_CortexR4_BE_V3D16):
Please use "F021_API_CortexR4_BE_V3D16" library.
However, looks like you included Little endian (LE) library (F021_API_CortexR4_LE_V3D16):
./FLASH/F021_API_CortexR4_LE_V3D16.lib
And TMS570LS09x is big endian device:
So, we should need to include big-endian library. Please make sure this.
--
Thanks & regards,
Jagdish.