Skip to main content
Associate II
October 17, 2023
Question

Failed to execute MI command

  • October 17, 2023
  • 3 replies
  • 2044 views

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 :)

    This topic has been closed for replies.

    3 replies

    Visitor II
    November 7, 2023

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

     

    cedric H
    Technical Moderator
    November 7, 2023

    @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

    Associate
    November 7, 2023

    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.