cancel
Showing results for 
Search instead for 
Did you mean: 

Facing issue while debugging

Ratheesh
Associate

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.

3 REPLIES 3
Andrew Neil
Evangelist III

@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

 

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

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...