2025-05-07 6:04 PM
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
Solved! Go to Solution.
2025-05-29 6:15 PM
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.
I also disabled flash verification.
Thanks for the help!
Cheers,
Michael
2025-05-09 9:20 AM
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.
2025-05-15 7:32 PM
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
2025-05-21 6:21 PM
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:
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
2025-05-29 6:15 PM
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.
I also disabled flash verification.
Thanks for the help!
Cheers,
Michael