2021-07-29 07:35 PM
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
5) Compile error messages
Attached my project.
Please advise for me, thanks.
2021-07-29 09:08 PM
2021-07-29 09:59 PM
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
2021-07-29 10:07 PM
First (and only) guess is "external loader" is not enabled in "Debugger". Please take a look at the attached picture below:
2021-07-29 10:15 PM
It possible to load hex file via "STM32 ST-Link Utility" but nothing displayed...
2021-07-29 10:42 PM
It's not clear to me "nothing display". I think you got either one below:
If you got #1, you need to figure out display setting first. If you got #2, it's normal because your TouchGFX project is pure white.
Anyway, I would highly recommend you start the project by using TouchGFX Designer w/ TouchGFX Board Setups of H747I-DISCO so you can get rid of much of the hardware configurations and therefore can focus on GUI design.
Starting from CubeIDE is a bit challenging and I would suggest you to refer to section "How-to" from the link below":
https://support.touchgfx.com/docs/development/board-bring-up/how-to/01-create-project
As you can see from section "3. Framebuffer in internal RAM
" , you may need to check if you can really see a read screen before enabling TouchGFX.
2021-07-29 10:49 PM
Upload is done in STM32CubeIDE. But still nothing displayed.