cancel
Showing results for 
Search instead for 
Did you mean: 

Can't download from CubeIDE to stm32H745 after GDB Server Error

embededwarrior
Associate

I accidentally flashed faulty code to the board in STM32CubeIDE before building it. Since then, I'm constantly getting a GDB Server Error in STM32CubeIDE.However, when I pull BOOT0 to 3.3V and then back to GND, the board temporarily recovers. I can upload code and debug successfully using Atollic TrueSTUDIO and Keil, but not with STM32CubeIDE.In STM32CubeIDE, I still cannot upload any code to the board — it keeps throwing GDB server connection errors, no matter what I try.I've tried every possible solution I could find, but the issue persists. Can you please help me?

2 REPLIES 2
TDK
Super User

Sometimes restarting the IDE will help.

You can do a full chip erase with STM32CubeProgrammer to remove whatever code is on there.

If you feel a post has answered your question, please click "Accept as Solution".
Imen.D
ST Employee

Hello @embededwarrior ,

You can share the debugging logs from STM32CubeIDE and screenshots of the Debugger configuration, this may help in diagnosing the problem.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen