cancel
Showing results for 
Search instead for 
Did you mean: 

Failed to execute MI command

Tomuello
Associate II

Hello, I have a problem with running code, generated by motor workbench:

Guess it is not hardware problem, because i can run another project on it.

 

Error in final launch sequence:

 

Failed to execute MI command:

load C:\\Users\\tomek\\OneDrive\\Dokumenty\\st_workbench\\pls\\STM32CubeIDE\\Debug\\pls.elf

 

Error message from debugger back end:

Error finishing flash operation

Failed to execute MI command:

load C:\\Users\\tomek\\OneDrive\\Dokumenty\\st_workbench\\pls\\STM32CubeIDE\\Debug\\pls.elf

 

Error message from debugger back end:

Error finishing flash operation

Failed to execute MI command:

load C:\\Users\\tomek\\OneDrive\\Dokumenty\\st_workbench\\pls\\STM32CubeIDE\\Debug\\pls.elf

 

Error message from debugger back end:

Error finishing flash operation

Error finishing flash operation

 

 

Please help me 🙂

3 REPLIES 3
Ram_satya
Associate II

hai friend i am also having the same issue with stm32f411vet6 discovery board
did you got any solution

 

cedric H
ST Employee

@Tomuello ,

Could you describe your HW config ? 

Did you try to flash your board with cubeProgrammer ?

@Ram_satya 

Do you have an issue with Motor control generated code ? With a discovery board ? that sounds strange to me !

Regards

Cedric

Hagi
Associate II

Maybe you messed up the debugger settings. You can try to create a new debug configuration (Run => Debug Configurations => Right Click on STM32 C/C++ Application => New Configuration => Hit Debug button). It will be a clean default configuration. If it works, delete the old one.