Modify imxrt1024 SDK flashloader example to run on flash

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Modify imxrt1024 SDK flashloader example to run on flash

跳至解决方案
1,145 次查看
rodrigocsm
Contributor I

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?

0 项奖励
回复
1 解答
1,118 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,132 次查看
rodrigocsm
Contributor I

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?

0 项奖励
回复
1,119 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复
1,106 次查看
rodrigocsm
Contributor I

Thanks @kerryzhou, I've checked the project. I'll read de application note. 

0 项奖励
回复
1,136 次查看
kerryzhou
NXP TechSupport
NXP TechSupport

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

kerryzhou_0-1681377455698.png

 

Wish it helps you!

Best Regards,

Kerry

 

0 项奖励
回复