Skip to main content
Pensees
Associate
July 30, 2021
Question

Compile problems from STM32CubeIDE in STM32H747-DISCO based TouchGFX project

  • July 30, 2021
  • 3 replies
  • 2813 views

Hello,

I have compile problems with STM32CubeIDE.

< Detail information >

1) STM32CubeIDE version : 1.7.0

2) TouchGFX version : 4.17.0

3) Target Board : STM32H747I-DISCO

4) Process order in my case

  • Create new STM32 project (select STM32H747I-DISCO board, targeted language is C++)
  • Configure Software Packs (in .ioc file)0693W00000D13XMQAZ.png

  • GUI design from TouchGFX program (open ApplicationTemplate.touchgfx.part)
  • Generate code
  • Refresh ​STM32 project and copy necessary files From TouchGFX project to STM32 project
  • Build project (in my case, compile error occurs)
  • If needed, added Paths0693W00000D13YUQAZ.png

5) Compile error messages0693W00000D13ZIQAZ.png 

Attached my project.

Please advise for me, thanks.

This topic has been closed for replies.

3 replies

Ethan HUANG
ST Employee
July 30, 2021

It seems to me you could figure this out by following page 2 of the attachment. Meanwhile, I would suggest you to disable binary generation as shown in page 3 so you do not need to spend much time waiting for big binary (>2GB) generation.

Pensees
PenseesAuthor
Associate
July 30, 2021

Thanks to Ethan HUANG, it compiles successfully.

And upload CM4.elf file also done.

But, CM7.elf file upload failed.

< Error message>

Error in final launch sequence:

Failed to execute MI command:

load D:\\study\\STM32\\STM32H747I-DISCO\\CM7\\Debug\\STM32H747I-DISCO_CM7.elf 

Error message from debugger back end:

Load failed

Failed to execute MI command:

load D:\\study\\STM32\\STM32H747I-DISCO\\CM7\\Debug\\STM32H747I-DISCO_CM7.elf 

Error message from debugger back end:

Load failed

Failed to execute MI command:

load D:\\study\\STM32\\STM32H747I-DISCO\\CM7\\Debug\\STM32H747I-DISCO_CM7.elf 

Error message from debugger back end:

Load failed

Load failed

Ethan HUANG
ST Employee
July 30, 2021

First (and only) guess is "external loader" is not enabled in "Debugger". Please take a look at the attached picture below:

Pensees
PenseesAuthor
Associate
July 30, 2021

Upload is done in STM32CubeIDE. But still nothing displayed.