Hi, I'm new to imxRT processors and I'm trying to develop a secondary bootloader for the imxrt1024. At first I'm using the flashloader example from SDK as a base. What are the steps to modify the project, from RAM to Flash?
已解决! 转到解答。
Hi @rodrigocsm ,
Do you check the evkmimxrt1024_fsl_romapi project which I recommend you?
In fact, that project is using the ROM API to realize the flash operation. So, you can add it in your secondary bootloader.
BTW, we also have the SBL for your reference:
https://www.nxp.com/docs/en/application-note/AN13460.pdf
Wish it helps you!
Best Regards,
Kerry
Thanks @kerryzhou. I'll try.
Just a question. There's no ROM_RunBootloader function in the fsl_romapi. Can I implement it manually or it doesn't work on imxrt1024?
Hi @rodrigocsm ,
Do you check the evkmimxrt1024_fsl_romapi project which I recommend you?
In fact, that project is using the ROM API to realize the flash operation. So, you can add it in your secondary bootloader.
BTW, we also have the SBL for your reference:
https://www.nxp.com/docs/en/application-note/AN13460.pdf
Wish it helps you!
Best Regards,
Kerry
Thanks @kerryzhou, I've checked the project. I'll read de application note.
Hi @rodrigocsm ,
RT1024 support the ROM API, you can use the ROM API, that code can run in the flash directly.
Please check this SDK code:
SDK_2_13_0_MIMXRT1024-EVK\boards\evkmimxrt1024\driver_examples\fsl_romapi
Wish it helps you!
Best Regards,
Kerry