cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeIDE stuck debugging STM32F746G-Disco at 95% Launching

Michael_GetElectronic
Associate III

Hello,

Attempting to debug STM32F746G-Disco, it's been working fine for days. The debugger first started playing up when trying to pause execution during the program, it would not pause but no error message was thrown. Next it would download and launch but pressing the green play button to start the program would not run it. Finally, I've lost the ability to program the board altogether, it just sits on 95% configuring GDB.

Running the program (not debugging) works fine as does programing and debugging other boards. Is it something to do with the GDB server? Do I need to reinstall IDE and (somehow) the GDB server? It's odd that it's only this board and only when debugging not launching.

Cheers,

Michael

CubeIDE version info (windows 11):      

Version: 1.18.1

Build: 24813_20250409_2138 (UTC)

 

ST-Link Version:

V2J46M31

 

Michael_GetElectronic_0-1746666065738.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Michael_GetElectronic
Associate III

Fixed! Not overly sure what I've done to improve download times but I changed my debug config to the following through trial and error and it started working.

Michael_GetElectronic_0-1748567635644.png

I also disabled flash verification.

Thanks for the help!

Cheers,
Michael  

View solution in original post

4 REPLIES 4
Semer CHERNI
ST Employee

Hello @Michael_GetElectronic 

First let me thank you for posting.

Could you share the debug log as it provides details about the issue.
Are you able to make it works if you use OpenOCD?

KR,
Semer.

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.

Hello @Semer CHERNI,

Sorry for the delayed response, I ended up reinstalling CubeIDE and the problem went away but I forgot to post that here. 

HOWEVER, It's back! Attached is the log, now interestingly it was not crashing just taking a very long time, it finished just after I saved the log. (~9 min). 

I'm happy to have a go trying using OpenOCD but I'll need to figure out how to use openOCD first. 

Cheers,

Michael

Michael_GetElectronic
Associate III

So, got an update,

I have reinstalled IDE and the problem persists this time, I may not have correctly removed everything of IDE before reinstalling. Programing through STMCubeProgramer work flawlessly and quickly <1min compared with 9 min from IDE, sometimes it even just sometimes errors out when flashing about a 3 minutes see bellow:

Michael_GetElectronic_0-1747876378534.png

The above error only happens with the F746G disco board. STM32H750B-DK Downloads and runs without errors

Any help would be greatly appreciated, this is really starting to hamper my testing.

Cheers,

Michael

Michael_GetElectronic
Associate III

Fixed! Not overly sure what I've done to improve download times but I changed my debug config to the following through trial and error and it started working.

Michael_GetElectronic_0-1748567635644.png

I also disabled flash verification.

Thanks for the help!

Cheers,
Michael