2025-08-14 2:06 AM
Dear Sir/Madam ,
I have imported BSP package for the stm32F429zi-disc1 board to the stm32cube ide and connected to the disc1 board over STLink Interface and then tried to start debugging ; but I could not download the executable file and I have got the following error. I have also upgraded the firmware of the STLink on the Disc1 board to the latest one. But I have got the same result. Firmware version of the board is V2J46M33 . Please help me on this issue.
Remark : Please also note that I was able to download the same hex file to the board using stm32cubeprogrammer version 2.20.
Error in final launch sequence:
Failed to execute MI command:
load C:\\Users\\Lenovo\\STM32Cube\\Repository\\STM32Cube_FW_F4_V1.28.2\\Projects\\STM32F429I-Discovery\\Examples\\BSP\\STM32CubeIDE\\Discovery_Debug\\BSP.elf
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\Users\\Lenovo\\STM32Cube\\Repository\\STM32Cube_FW_F4_V1.28.2\\Projects\\STM32F429I-Discovery\\Examples\\BSP\\STM32CubeIDE\\Discovery_Debug\\BSP.elf
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\Users\\Lenovo\\STM32Cube\\Repository\\STM32Cube_FW_F4_V1.28.2\\Projects\\STM32F429I-Discovery\\Examples\\BSP\\STM32CubeIDE\\Discovery_Debug\\BSP.elf
Error message from debugger back end:
Error finishing flash operation
Error finishing flash operation
2025-08-20 2:56 AM
Hello @mkosu.2
Could you please provide more details about your operating system?
Additionally, I would be grateful if you could share your project so that I can further investigate the issue.
I will be waiting for your feedback.
THX
Ghofrane
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.