Skip to main content
Kamurasi-Jordan-Arthur
Associate III
April 21, 2026
Question

Debugging STM32N6 XIP (execute in place) or LRUN (LRUN)

  • April 21, 2026
  • 0 replies
  • 70 views

Hey Team, 
Another day with a different problem.

We have reached the point where we have to migrate to either XIP or LRUN in the life cycle of our project.
We choose to do XIP and set up the External memories appropriately , For this workflow, we are using the the stm32N6DK, and  MX66UW1G45G_STM32N6570-DK.stldr for starters.

We have set up the debug session as indicated in the  Getting started with STM32N6 MCUs in STM32CubeIDE
Attached are the

  • Debug logs from some of the debug sessions.
  • The content of my linker scripts (FSBL) and (APPLI)
  • Screen shoots of debug configurations .

 

KamurasiJordanArthur_0-1776750636895.pngKamurasiJordanArthur_1-1776750655702.pngKamurasiJordanArthur_2-1776750695522.png

Spoiler
Our debug sessions fail straight from the beginning as shown int the debug logs.

Note:  

  • At some point the debug session worked okay,
  • Every time it worked I had not to have break points inserted in the application project.
  • I am currently inclined to think the issue is with the IDE debug process as the code runs if not debugged and I can attach to it. instead. 

I will be grateful to any insights into this matter. thank you.