2026-04-03 1:50 PM - last edited on 2026-04-05 7:54 PM by Pavel A.
I am new to STM32CubeIDE 2.0.0 environment and I cannot debug my first project. See failure message in attachment. What do I need to do to debug in this environment? Is there instructions hidden somewhere that I need to follow?
Solved! Go to Solution.
2026-04-04 2:00 AM
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues
2026-04-04 1:54 AM
There may be problem with your hardware connection or debugger or usb cable.
Please try again after checking everything.
2026-04-04 2:00 AM
How to solve connection errors when connecting and programming the STM32 target board.
How to solve debugger connection issues
2026-04-04 5:41 AM
Thanks Andrew,
I can use this is information to do more testing. My cable may be too long (6') but it is heavy duty. The NUCLEO is right out of the box and not connected to any other hardware..
Is it possible that I have to program my code into the NUCLEO before the IDE can debug it? I thought the IDE programmed it before starting the debugger.
Bruce
2026-04-04 7:10 AM
Hi Andrew,
Using the programmer gave me more information why it failed. I am designing for a H573 but the NUCLEO has a H533. The memory is much smaller and my program exceeded the H533 memory.
My design is no longer blocked. Thanks,
Bruce
2026-04-07 2:40 AM
@BrucePB wrote:My cable may be too long (6') ...
Six feet ?!!
Yes, that's waaaaaaaaaaaaaaaaaaaaaaaaaaaaaaay too long!
@BrucePB wrote:
... but it is heavy duty.
What do you mean by that?