cancel
Showing results for 
Search instead for 
Did you mean: 

"Failed to execute MI command: target remote localhost:61234" Error

XYZ
Associate

I just started using the STM32L552ZET6Q board. So, I wrote a program and built it successfully without any error, but I am getting an error while debugging with the error message Failed to execute MI command: target remote localhost:61234.

I use ST-LINK (ST-LINK GDB server) as debug probe and SWD interface.

I can not figure out where the problem is.

1 REPLY 1
ChahinezC
Lead

Hello @XYZ​,

It seems the issue you are facing is a connection problem, try checking the connection of the board/ST-Link or use better cables.

You can also 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.

If this solves your problem, please mark my answer as "Best Answer" by clicking on the "Select as Best" button, this can be very helpful for Community users to find this solution faster.

Thank you.

Chahinez.