2024-04-29 12:52 PM
Today I suddenly got a new error message when trying run my project debug:
Error in final launch sequence:
Failed to execute MI command:
load C:\\....\\labb3_klockaknapp2\\Debug\\labb3_klockaknapp2.elf
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\.....\\labb3_klockaknapp2\\Debug\\labb3_klockaknapp2.elf
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\.......\\labb3_klockaknapp2\\Debug\\labb3_klockaknapp2.elf
Error message from debugger back end:
Error finishing flash operation
Error finishing flash operation
I tried creating a new project and transfering code etc, but nothing changed.
The code worked a few days ago.
and the only change i did was moving my 4 number - 7 segment display and it's cables a few steps to the left on the breadboard.
2024-04-30 11:30 AM
Hello @Ambalrith
Make sure to use the latest version of STM32CubeIDE.
Clean your project and delete the debug folder. Then, try flash the code using STM32CubeProgrammer and update the firmware.
Otherwise, try re-install the CubeIDE.