cancel
Showing results for 
Search instead for 
Did you mean: 

Error in initializing ST-Link

MA
Associate II

Hello Sir,

     I'm new to this STM 32 environment. I'm using Nucleo F429ZI board when I try to debug the board it shows the following error.

"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.
localhost:61234: Connection timed out."

Please help me to solve the issue.

5 REPLIES 5
RhSilicon
Lead

Is this happening with STM32CubeIDE? Have you tried with version 1.12.1?

Rim LANDOLSI
ST Employee

Hello @MA  and welcome to the community,

Could you, please, provide the debug configuration for this board and attach the GDB server log file to further analyze the issue.

Thanks,

Rim.

Hello Sir/Madam,

             Yes , I have tried with the version 1.12.1.

Hello Madam,

         Please find the attached debug configuration and the log file for your reference.

STM32_DEBUG.png

Rim LANDOLSI
ST Employee

Hello,

Could you connect the target to STM32CubeProgrammer . If it is connected successfully , try to:

- Erase the Flash with STM32CubeProgrammer

- Disconnect STM32CubeProgrammer from the target

- Debug the program using ST-LINK_gdbserver