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,
I am trying to implement OTA over TCP/IP on RM57. I read through the reference manual and fund out that this microcontroller has Bank 0 and Bank 1. So, my idea is to execute code from one bank and use other bank for writing the OTA code. However, my question is I do not see any flash api's generated by Halcogen for RM57. Am I missing simthing here or do we have to write our own api's for reading/writing flash?
Thanks,
Ravi
Hi Ravi Teja,
However, my question is I do not see any flash api's generated by Halcogen for RM57. Am I missing simthing here or do we have to write our own api's for reading/writing flash?
Flash API libraries will not directly available in HALCoGen, you need to include the F021 Little Endian API library like as shown below:
For example, refer the FAPI example available on RM57 in below FAQ:
Once you include FAPI library into your project then you can use the API's in that library and can write into the flash, In above shared example as you can see, we are writing into the BANK_1 of the RM57 controller.
--
Thanks & regards,
Jagadish.
Hi Jagadish,
Thanks for the reply.
I am trying to download Flash library from here and I don't see RM57 listed under the list of microcontrollers supported. I can only see support for Cortex R4 based microcontrollers and not Cortex R5 which RM57 is based on. Is there a seperate link for RM57?
HERCULES-F021FLASHAPI Driver or library | TI.com
Thanks,
Ravi
Hi Ravi Teja,
You should need to use " F021_API_CortexR4_LE_L2FMC_V3D16", like as mentioned in the FEE example of RM57x.
--
Thanks & regards,
Jagadish.