cancel
Showing results for 
Search instead for 
Did you mean: 

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

csaji
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

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?

View solution in original post

2 REPLIES 2
Amel NASRI
ST Employee

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.

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?