cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging an application run from external flash memory

Artur5
Associate

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

1 REPLY 1
urbito
Senior II

You need to create a bootloader that jumps to the QSPI. And then load the program to the QSPI and debug that program.