Skip to main content
Visitor II
May 10, 2024
Question

First test with "Blinking Led", but error message

  • May 10, 2024
  • 2 replies
  • 1290 views

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

 

 

 

    This topic has been closed for replies.

    2 replies

    Super User
    May 10, 2024

    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.

     

     

    FabioCCAuthor
    Visitor II
    May 11, 2024


    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?

    Super User
    May 11, 2024

    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

     

    FabioCCAuthor
    Visitor II
    May 12, 2024

    I duplicated the thread to ask for help.