2024-05-10 01:15 PM
Hello to everyone
I have connected a NUCLEO F446RE board, and I was following the tutorial "Step 2, Blinking LED"
In the end, after launching the Debug, I receive the following error message.
What does it mean? How can I solve?
Tanks to anyone who will help
MESSAGE
Error in final launch sequence:
Failed to execute MI command:
load C:\\Users\\mp\\STM32Cube\\stepbystep2\\Debug\\stepbystep2.elf
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\Users\\mp\\STM32Cube\\stepbystep2\\Debug\\stepbystep2.elf
Error message from debugger back end:
Error finishing flash operation
Failed to execute MI command:
load C:\\Users\\mp\\STM32Cube\\stepbystep2\\Debug\\stepbystep2.elf
Error message from debugger back end:
Error finishing flash operation
Error finishing flash operation
2024-05-10 02:49 PM
This message basically means that there's some problem with downloading your program to the MCU.
What you can do:
1. Run CubeProgrammer. Connect to the board over the ST-LINK, read out the MCU flash. If you can do this, communication with the board is OK. Don't forget to exit CubeProgrammer or disconnect from the board to release the ST-LINK
2. Enable detailed logs of the debugger in CubeIDE. See the fine manual.
2024-05-11 11:29 AM
I launched STM32CubeProgrammer
It does not work.
It gives me this error message:
***
CubeProgrammer_API or one of its dependencies is missing.
Please try reinstalling the program or check your java architecture.
***
I reinstalled it.
I updated Java on the system.
Nothing.
What do I have to do?
2024-05-11 04:15 PM - edited 2024-05-11 04:30 PM
If this is a work or school computer, ask your IT to help.
If this is your own computer... maybe, reinstall Windows?
Duplicate thread: https://community.st.com/t5/stm32-mcus-products/stm32cubeprogrammer-not-working/td-p/673034
2024-05-12 12:13 AM
I duplicated the thread to ask for help.