2025-05-30 3:15 AM
Hi,
Is there any way to debug an application launched from external flash memory? I use J-Link and IAR, the application is loaded into flash but I am not able to start debugging. I assume that in order for the microcontroller to even start executing code, XSPI must be configured first and memory mapping must be enabled. Should the debugger do this? Is it even possible?
BR
Artur
2025-05-30 3:29 AM
You need to create a bootloader that jumps to the QSPI. And then load the program to the QSPI and debug that program.