Skip to main content
Associate II
November 9, 2023
Solved

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

  • November 9, 2023
  • 1 reply
  • 1293 views

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

Best answer by Joe WILLIAMS

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

1 reply

Joe WILLIAMS
Joe WILLIAMSBest answer
ST Employee
November 10, 2023

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

Associate III
March 7, 2025

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.

Associate III
March 13, 2025

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.