cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H757I-EVAL TouchGFX Project not uploadable with CubeIDE

CBier.1
Associate II

I bought the STM32H7 dual-core EVAL board STM32H757I-EVAL and started with TouchGFX. I created some first buttons in TouchGFX Designer and flashed them to the board — that part works fine and runs without issues.

Now I want to continue programming in STM32CubeIDE, but I cannot start the CM7 debug session. CubeIDE shows:

  • “Launching STM32H747I-EVAL_CM7 Debug has encountered a problem”

  • “Failed to execute MI command: load …\STM32H747I-EVAL_CM7.elf”

  • “Error message from debugger back end: Load failed”

The M4 upload/flash finishes without any error message, but it looks like the M4 application does not run. For M7, I always get the “Load failed” message above.

I followed this YouTube tutorial, but without success: https://www.youtube.com/watch?v=k3mXhPZSasw

Question: What is the correct workflow to flash/debug CM7 and CM4 on this EVAL board in CubeIDE (especially for TouchGFX projects)? Why does CM7 “load” fail while TouchGFX flashing works?

1 REPLY 1
Souhaib MAZHOUD
ST Employee

Hello @CBier.1 

You can refer to this Application Note to flash/debug CM7 and CM4 on the STM32H7 Eval board.

Could you please take a look at this post to see if it's similar to your issue?

Otherwise, try to connect your board using STM32CubeProgrammer tool and load the .elf file and check

KR, Souhaib

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.