Skip to main content
Associate
August 12, 2023
Question

Error in initializing ST-Link

  • August 12, 2023
  • 3 replies
  • 1693 views

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.

    This topic has been closed for replies.

    3 replies

    RhSilicon
    Lead
    August 12, 2023

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

    MA_itAuthor
    Associate
    August 16, 2023

    Hello Sir/Madam,

                 Yes , I have tried with the version 1.12.1.

    Rim LANDOLSI
    ST Employee
    August 14, 2023

    Hello @MA_it  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.

    MA_itAuthor
    Associate
    August 16, 2023

    Hello Madam,

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

    STM32_DEBUG.png

    Rim LANDOLSI
    ST Employee
    August 21, 2023

    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