cancel
Showing results for 
Search instead for 
Did you mean: 

Error localhost:61234: Connection timed out.

ADębs.1
Senior

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?

10 REPLIES 10
Imen.D
ST Employee

Hello @Andrzej Dębski​ ,

Try erasing the flash using STM32Cubeporgrammer, and make sure to activate the gdb server log in the "Debugger" tab of your debug configuration, this may helped you.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Imen

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

Is the device local or remote, check settings and expectations.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
ADębs.1
Senior

Local device

Can you please provide a meaningful title for your request?

Many thanks

Perhaps screen shot the debugger settings you have in the tool currently. It will help to understand the "not working"

What board or STM32 is involved here?

How is it connected?

Is the ST-LINK connected directly? And not via a hub or docking station.

Hard you tried better cables?

Does STM32 Cube Programmer work/connect properly?

Understand its very hard to debug this stuff with no information or context.

Explain the situation better and more completely.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
AZube.2
Associate III

@Andrzej Dębski​ Where you able to solve this issue in the end?? Because I am having the same problem.

DQues.1
Associate


_legacyfs_online_stmicro_images_0693W00000bhokDQAQ.png 

[SPA] En nuestro caso la falla se solucionó recargando el proyecto con otro nombre. Cambiamos el cable y el cable no era el problema. El proyecto anteriormente trabajaba sin problemas, pero luego de rearmar el circuito y volver a cargar el codigo en el programa presento la falla. Esa fue la solución en nuestro caso usando la tarjeta STM32F411RE con CubeIDE 1.10.1

SiqinZhao
Associate

SiqinZhao_0-1707031772961.png

I am having the same problem. CubeIDE 1.14.1

Melek
Associate II

I am having the same problem cube ıde and cube ıde programming, won't you help?