AnsweredAssumed Answered

RT1050 QSPI to internal RAM

Question asked by Giuseppe Scarpi on Nov 6, 2018
Latest reply on Nov 13, 2018 by CarlosCasillas

Currently, I am attempting to store code in the external QSPI and to execute it in internal RAM.

With MCUXpresso, this should be quite easy. You prepare a firmware stored in flash (XIP_EXTERNAL_FLASH=1 and XIP_BOOT_HEADER_ENABLE=1), and you set Plain Load Image flag with the desider memory area (SRAM_OC in my case).

Nonetheless, the operation does not work. After loading the firmware, I get a SIGTRAP at address 0xDEADBEEE.

 

Note that I read various threads on the forum, but I was unable to find a final solution.

Also note that I am using JLink on the JTAG/SWD port to program and debug the device.

Finally, the firmware runs with no problem as XIP.

 

Thanks in advance for any help!

 

Giuseppe

Outcomes