Modify imxrt1024 SDK flashloader example to run on flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Modify imxrt1024 SDK flashloader example to run on flash

Jump to solution
851 Views
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 Kudos
Reply
1 Solution
824 Views
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

View solution in original post

0 Kudos
Reply
4 Replies
838 Views
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 Kudos
Reply
825 Views
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 Kudos
Reply
812 Views
rodrigocsm
Contributor I

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

0 Kudos
Reply
842 Views
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 Kudos
Reply