cancel
Showing results for 
Search instead for 
Did you mean: 

STM32N6570-DK Board Debug Problem

LeeJaewon
Associate III

Hello, I'm using the STM32N6570-DK board.

I completed the TOUCHGFX project through this URL, and there was a DEBUG problem while I was making CUBEMX and CUBEIDE operating it.

(https://community.st.com/t5/stm32-mcus/how-to-debug-stm32n6-touchgfx-applications-using-stm32cubeide/ta-p/845901)

I'm not moving from FSBL to APPLI. I'm asking for your help on this part.

Please check.

6 REPLIES 6
jiangfan
ST Employee

Please clearly describe what is your problem.

When debug is running, fsbl does not go over to the application.

Hello @LeeJaewon,

 

your FSBL runs normally, right? The problem is going from FSBL to the AppS/AppNS, correct?

Try describing what the context of your problem is:

What is the last thing your FSBL is doing before going to AppS/AppNS. Make sure it's not an FSBL code error that stops you from ever even starting the transition.

How did you setup the transition? Consider providing screenshots or excerpts of your code. (It seems, you attached your whole project folder which is nice but makes it more time consuming for someone to help you troubleshoot. Most people aren't ready to look at an entire project but rather screenshots and excerpts.)

Are there any error messages you could share? What is your debug console saying in CubeIDE?

Are you using developer boot or flash boot? Make sure you correctly loaded all applications into the external flash memory before executing from it.

 

Kind regards,

Len

You may debug your FSBL, in step mode, to see where/when is the issue occurring.

it is suggested that you share the debug screen shot.

The picture I just gave you is the captured part of the debug console when I ran it.

 

Please check.

I assumed you had the FSBL source code, but it seemed that you did not have. Then it is difficult to do step in FSBL. I suppose you may debug/step with the FSBL source code you have, then compare with debug/step on the TOUCHGFX FSBL without source code - perhaps you may find some clues.