i.MXRT1010 bootloader sample code, how to change to use flash memory

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

i.MXRT1010 bootloader sample code, how to change to use flash memory

Jump to solution
918 Views
Felix_ar
Contributor III

Hi All,

The customer wants to development bootloader by himself, they reference sample code is "flashloader"

\SDK_2_16_000_EVK-MIMXRT1010\boards\evkmimxrt1010\bootloader_examples\flashloader

but that sample code is execution in RAM, how to change to use flash memory?

Thanks.

Labels (1)
0 Kudos
Reply
1 Solution
894 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, the flashloader is loaded on the RAM because this need to write on the flash and then the image reside on the flash and the flashloader will erase, if the customer wants to use a bootloader that reside on the flash, this could be possible but the bootloader need to be execute in RAM too.

I recommend review the information of the MCU bootloader opensource or the MCU bootloader SBL.

GitHub - nxp-mcuxpresso/sbl

MCU Bootloader | NXP Semiconductors

MCUboot | mcuboot

Best regards,
Pavel

View solution in original post

0 Kudos
Reply
2 Replies
895 Views
Pavel_Hernandez
NXP TechSupport
NXP TechSupport

Hello, my name is Pavel, and I will be supporting your case, the flashloader is loaded on the RAM because this need to write on the flash and then the image reside on the flash and the flashloader will erase, if the customer wants to use a bootloader that reside on the flash, this could be possible but the bootloader need to be execute in RAM too.

I recommend review the information of the MCU bootloader opensource or the MCU bootloader SBL.

GitHub - nxp-mcuxpresso/sbl

MCU Bootloader | NXP Semiconductors

MCUboot | mcuboot

Best regards,
Pavel

0 Kudos
Reply
881 Views
Felix_ar
Contributor III
Hi Pavel

Thanks for your reply.
0 Kudos
Reply