Skip to main content
Visitor II
May 30, 2025
Question

Debugging an application run from external flash memory

  • May 30, 2025
  • 1 reply
  • 294 views

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

    This topic has been closed for replies.

    1 reply

    Graduate II
    May 30, 2025

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