Skip to main content
SSerg.6
Visitor II
March 27, 2023
Question

Failed to execute MI command: load D:\\STM32_projects\\cancellare\\Debug\\cancellare_2.elf

  • March 27, 2023
  • 1 reply
  • 1094 views

Hi,

I'm trying to debug the STM32103 microcontroller with STM32CubeIDE but every time I try I get the following error:

Error in final launch sequence:

Failed to execute MI command:

load D:\\STM32_projects\\cancellare\\Debug\\cancellare_2.elf 

Error message from debugger back end:

Error finishing flash operation

Failed to execute MI command:

load D:\\STM32_projects\\cancellare\\Debug\\cancellare_2.elf 

Error message from debugger back end:

Error finishing flash operation

Failed to execute MI command:

load D:\\STM32_projects\\cancellare\\Debug\\cancellare_2.elf 

Error message from debugger back end:

Error finishing flash operation

Error finishing flash operation

I am using the following version of the STM32CubeIDE: Version: 1.11.0 Build: 13638_20221122_1308 (UTC).

If I use the STM32 ST-LINK Utility to load the application everything works fine.

Anyone can help me?

Thank you

This topic has been closed for replies.

1 reply

Peter BENSCH
ST Technical Moderator
March 28, 2023

Welcome, @Community member​, to the community!

  • what debugger hardware are you using (a photo would be helpful)?
  • what is the marking of the target (again, a photo would be useful)?

You may also want to consider installing the newer version of STM32CubeIDE.

Regards

/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.