Skip to main content
JLythgoe
Visitor II
November 7, 2022
Question

Failed to execute .localhost:61234

Hi, i have recently purchased an STM32F746G-DISCO.

i am very new to STM and compontents, but my manager would like me to try and build an interest with it. I followed a tutorial online, and i have followed the exact routes but i keep getting this error when debugging

video here (Get started with STM32 microcontroller programming)

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.

This topic has been closed for replies.

1 reply

ST Technical Moderator
November 25, 2022

Hello @JLythgoe​ 

It will be better to share the screen shot of the debugger settings. It will help to understand the issue.

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 help to resolve the issue.

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

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks