Skip to main content
Associate
April 22, 2026
Solved

How to setup debug with STM32N6 in FSBL Load and Run configuration?

  • April 22, 2026
  • 1 reply
  • 130 views

How can I debug an STM32N6 project when using a load-and-run configuration? CubeMX generates two separate projects, and I’m able to debug each one individually when the BOOT1 pin is set high. However, it seems that if I only debug the application project, the FSBL never executes, so the system clocks aren’t initialized. What’s the correct approach to debugging both projects together?

I came across a debugging guide, but it only applies to the XIP configuration.

Best answer by csaji

Hi Amel,

 

Thanks for your reply. The article you linked is for the FSBL XiP configuration. Does the same setup apply for FSBL Load and Run configuration?

1 reply

Amel NASRI
Technical Moderator
April 23, 2026

Hi @csaji ,

If you are using STM32CubeIDE, this article can be helpful for you: How to debug STM32N6 using STM32CubeIDE.

If you are getting started with STM32N6, several other articles are available on this link.

-Amel

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
csajiAuthorBest answer
Associate
April 23, 2026

Hi Amel,

 

Thanks for your reply. The article you linked is for the FSBL XiP configuration. Does the same setup apply for FSBL Load and Run configuration?