2022-08-23 4:50 AM
Error in final launch sequence:
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
Failed to execute MI command:
target remote localhost:61234
Error message from debugger back end:
localhost:61234: Connection timed out.
Why?
2025-05-10 9:43 AM
In my case it was just restarting the computer, I have windows 11 and CubeIDE 1.17.0
2025-08-12 2:27 PM
Had the same problem. When I connected both usb ports [one through ST-LINK\V3-SWD and one directly to other USB VCP it works!], when I disconnect USB VCP it does not work. Seems to be current/voltage related.
No CubeIDE reset helped.
No Cubeprogrammer erase helped.
No PC restart helped.
No debugger server port reset helped.
Luckilly my board had two (2) usb ports => more current to put MCU in configuration mode!
[some other guy even connected pull up resistors, or SWD flying wires].
2025-08-13 8:04 AM - edited 2025-08-13 8:05 AM
Hi @CHRISTOS_PENOGLIDIS ,
Please follow this article How to solve debugger connection issues.
Check Debug pins (SWDIO, SWCLK) are correctly configured.