cancel
Showing results for 
Search instead for 
Did you mean: 

Debug Mode not Working STM32F469I-DISCO in STM32CubeIDE

Kneepatch
Senior

For some reason my STM32CubeIDE debug mode is not working for my STM32F469I-DISCO board. Whenever I run the debugger, the screen on the STM32F469I-DISCO does not initialize (stays black), even when I press the Resume button (play/pause icon). If I press the pause icon, the debugger session seems to crash/exit. It ignores breakpoints. It's as if the STM32F469I-DISCO is in its own little world, wholly unconcerned with whatever I do. I have attached a video demonstrating the issue.

-Kneepatch
2 REPLIES 2
Ozone
Lead III

I would recommend to disable the "hidden part" of the debugger.
I'm not a Cube user, but I'm quite sure it has a setting "run to main()" enabled by default.
Disable the setting, and put a breakpoint in the startup code, as early as possible.
I suspect some init code fails, either RAM init, clock setup, or (as probably in your case) setup of the ext. memory interface.


@Ozone wrote:

I'm not a Cube user, but I'm quite sure it has a setting "run to main()" enabled by default


Indeed it does:

AndrewNeil_0-1741093512713.png

In the 'Debug Configuration' settings