cancel
Showing results for 
Search instead for 
Did you mean: 

First test with "Blinking Led", but error message

FabioCC
Associate II

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

 

 

 

4 REPLIES 4
Pavel A.
Evangelist III

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.

 

 


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?

Pavel A.
Evangelist III

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

 

I duplicated the thread to ask for help.