cancel
Showing results for 
Search instead for 
Did you mean: 

Project imported from TouchGFX but not able to debug for board STM32H745I - DISCO

Chaitanya1997
Associate II

Board : STM32H745I - DISCO

Cubeide : v.1.13.2
TouchGFX : v4.22.1 Designer

STM32H745I - DISCO as it is dual core m4 and m7
1st i did build and debugging for m4 processor. It is successful.
2nly done with building for m7 processor.It is successful
But while debugging the m7 i am facing following issue ??????

@Jorge Jacome 

@Phillip Wolstencroft 

 

please help me with this .

 

Error in final launch sequence:

 

Failed to execute MI command:

load C:\\TouchGFXProjects\\11092023\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

 

Error message from debugger back end:

Load failed

Failed to execute MI command:

load C:\\TouchGFXProjects\\11092023\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

 

Error message from debugger back end:

Load failed

Failed to execute MI command:

load C:\\TouchGFXProjects\\11092023\\STM32CubeIDE\\CM7\\Debug\\STM32H745I_DISCO_CM7.elf

 

Error message from debugger back end:

Load failed

Load failed

1 ACCEPTED SOLUTION

Accepted Solutions
Joe WILLIAMS
ST Employee

Hello Chaitanya1997

 

Your case has been routed and your question will be further addressed through the online support system.

 

Kind Regards

Joe WILLIAMS

STMicro Support

View solution in original post

3 REPLIES 3
Joe WILLIAMS
ST Employee

Hello Chaitanya1997

 

Your case has been routed and your question will be further addressed through the online support system.

 

Kind Regards

Joe WILLIAMS

STMicro Support

Hello @Joe WILLIAMS 

I have the same issue than Chaitanya.

I have created a simple TouchGFX project for the board STM32H745I-DISCO. I can run the project from TouchGFX 4.25.0. I have imported the project to CubeIDE 1.17.0. I can compile both CM4 and CM7, I can run CM4 but when runing or debbuging CM7 the error Failed to execute MI command appears.

Please, do you know a solution for that?

 

Thank you.

Hello, 

in my case the Mi error was because I needed to load an external loadar beacuse de QUADSPI flash. 

In Run configurations -> Debugger. 

Add external debugger -> C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoader\MT25TL01G_STM32H745I-DISCO.stldr

Regards.