AnsweredAssumed Answered

Any iMXRT examples that boot out of FlexSPI, but run from SDRAM?

Question asked by Ed Sutter on Mar 19, 2020
Latest reply on Mar 24, 2020 by Ed Sutter

I'm working with the ARMGCC version of the SDK (using MIMXRT1060-EVK currently).  I've built several different examples and small applications that boot from (and run out of) FlexSPI-NOR-flash.  I'd like to be able to boot out of FlexSPI-nor, then have the application transfer itself to SDRAM and run from there.  Are there any examples of that in the SDK?

I'm guessing it's just a matter of massaging the .ld file and making sure that Reset_Handler copies text space to the correct location in SDRAM, prior to jumping to the relocated _start;  but that's easier said than done...

Before I trek this path, has anyone done this already?

Outcomes