Skip to main content
Explorer
September 27, 2024
Question

Facing issue while debugging

  • September 27, 2024
  • 1 reply
  • 987 views

Hi, I've been trying to debug my led toggle code. But I'm getting error like "Error in final launch sequence" and "Failed to execute MI command". I was using STM32F769-Disco board.

    This topic has been closed for replies.

    1 reply

    Super User
    September 27, 2024

    @Ratheesh wrote:

    I'm getting error like ... 


    "like" ?

    Please be specific: post the actual, complete message you are getting - a screenshot and/or copy & paste from the output log.

    Are you sure that your computer is actually seeing the Disco board's ST-Link?

    https://community.st.com/t5/stm32-mcus/how-to-solve-debugger-connection-issues/tac-p/698105/highlight/true#M956

     

    RatheeshAuthor
    Explorer
    September 27, 2024

    Hi, now I've attached the screenshot of that error message

    Super User
    September 27, 2024

    You can paste into the post - then we can see it more easily:

    AndrewNeil_0-1727429275744.png

    So it's failing to load the .elf file - ie, your code.

    Does that .elf file actually exist? Did you successfully build your project?

    And, again, are you sure that your computer is actually seeing the Disco board's ST-Link?

    If your computer can't see the ST-Link, then it's clearly not going to be able to use it to load your code...