cancel
Showing results for 
Search instead for 
Did you mean: 

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

SSerg.6
Associate

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

1 REPLY 1
Peter BENSCH
ST Employee

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.