AnsweredAssumed Answered

Load instructions into RAM from external flash while executing in place (XIP) on IMXRT1062

Question asked by Eirik Storesund on Sep 20, 2019
Latest reply on Sep 24, 2019 by Eirik Storesund

Hello,

 

Me and my colleagues are developing a product using the IMXRT1062 MCU with external flash MX25UM51345G which we communicate with through OSPI. We've developed both a bootloader and an application and execute these using XIP.

 

We want to be able to flash a new application from the bootloader. To my understanding, we can't write or erase the flash while executing in place (XIP), is this correct?

 

If so, we need to load the bootloader instructions into RAM and run the program from there. Does anyone have any suggestions on how to do this?

 

I've attached the .icf file we use.

 

Best Regards

Eirik

Outcomes