Skip to main content
Associate III
September 24, 2024
Solved

Failed to execute MI command

  • September 24, 2024
  • 1 reply
  • 1937 views

I recently started getting the following error when trying to program my nucleo-32 L432KC board:

 

 

 

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.

 

 

 

I have tried using the cube programmer to erase the flash memory, but when trying to connect with "Mode: Normal", I get an error: "Error: ST-LINK error (DEV_TARGET_HELD_UNDER_RESET)". When changing the Mode to "Hot plug", I am able to connect to my MCU, but the "Full chip erase" operation gives me the error: "Error: Mass erase operation failed.Please verify flash protection".

Does someone have an idea what could cause this? Programming the MCU worked just fine a day ago.

 

Best answer by DavidL_

Ok this was solved by breaking the S9 solder bridge.

1 reply

DavidL_AuthorBest answer
Associate III
September 25, 2024

Ok this was solved by breaking the S9 solder bridge.

Andrew Neil
Super User
September 25, 2024
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.