2025-09-12 12:28 AM
Hello,
I am working with the STM32N6570-DK board and using STM32CubeIDE (version 1.19.0) .
I cloned the full STM32N6 repository from: https://github.com/STMicroelectronics/STM32CubeN6
When I try to build and flash the Ux_Device_Video project, I face a problem:
I right-click on the Ux_Device_Video→ Debug As → it flashes successfully, but the program never reaches main(). (Normally in every program the debugger points to first line in main).
When I press Run, the debugger only executes a few assembly lines like below and stays there:
What I observed in Debug Configurations (screenshot attached):
For all other example projects, the Debugger tab looks normal , and in this project even FSBL flashing good and stops at main and behaves as expected.
But for Ux_Device_Video, I see an additional “Load Mode” section (highlighted in my screenshot). Other projects don’t have this.
Also, under STM32 C/C++ Application, I normally see two entries (e.g. FSBL and the application). But here I only see FSBL, not Ux_Device_Video.
The top “Name” field in Debug Config is also empty, unlike other projects.
I tried to modify the debug configuration manually to match working examples, but this project does not accept the changes.
bellow image is FSBL project configuration , i tried to add the same for the ux_device_video but there is no options( Apply or debug ) are enabled for change .
How can I fix this so that the code actually enters main() and runs properly?
Any help or guidance on how to correctly debug and run this project would be greatly appreciated.
Thanks in advance.
2025-09-12 1:14 AM
Hello @saib
I recommend reviewing the article "How to Debug STM32N6 Using STM32CubeIDE". It provides detailed guidance and troubleshooting steps that could be very helpful for your situation.
THX
Ghofrane
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.
2025-09-12 4:45 AM
Hello Mr @Ghofrane GSOURI
Thanks for your suggestion. I have already tried the steps explained in the article "How to Debug STM32N6 Using STM32CubeIDE", but unfortunately the issue is still not solved,
However, I did some further testing:
When I import the same project in STM32CubeIDE v1.18.1, it works fine and the code enters main() as expected.
But with STM32CubeIDE v1.19.0, the issue appears.
I have tested on four different PCs with v1.19.0, and the behavior is the same on all of them.
So it seems to be related specifically to the new IDE version (1.19.0).
Could you please check this from your side and let me know the insights or if it is a known issue in CubeIDE 1.19.0?
Thanks in advance.
2025-09-17 6:26 AM
Hello @saib
Have you experienced an error popup similar to this?
THX
Ghofrane
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.
2025-09-17 11:20 PM
2025-09-18 1:04 AM
Hello @saib
Thank you very much for your contribution.
The issue has already been reported to the development team under internal ticket 215099 and will be addressed as soon as possible.
THX
Ghofrane
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.