2025-04-04 8:28 AM - last edited on 2025-04-04 8:52 AM by Andrew Neil
I am a student in embedded systems. I have a final project with the stm32h747i-disco card. I want to configure the touch screen to make a graphic interface.
2025-04-05 10:25 AM
2025-04-05 10:34 AM
finally it works
2025-04-05 11:36 AM
Now did you try the generated TouchGFX project?
Note: don't start a debug session. Just upload the two applications CM4 and CM7 disconnect and reconnect the STLINK USB cable again.
2025-04-05 11:51 AM
I want to make this graphical interface, can you help me to do that and thank you very much
2025-04-05 12:06 PM
1 - Did you solve your original issue or not? does the generated TouchGX project is working for you? and how it worked for you.
2-
@slimani wrote:
I want to make this graphical interface, can you help me to do that and thank you very much
This is another question, you need to open e new thread for it.
Thank you.
2025-04-06 6:13 AM
No, my problem is not solved. I didn't understand the cause of this problem. When I create a project with TouchGFX and upload it to the STM32, the screen remains black and doesn't light up. However, when I upload the demo project you gave me, the screen works correctly.
And I will open a new thread for the GFX interface.
2025-04-06 6:19 AM - edited 2025-04-06 6:28 AM
Ok. Then proceed as the following (after compiling the two projects relatad to the two cores):
With STM32CubeProgrammer, upload the two hex files related to CM4 and CM7 projects:
1- <Your_project_location>\STM32CubeIDE\CM4\Debug\STM32H747I-DISCO_CM4.hex
2- <Your_project_location>\STM32CubeIDE\CM7\Debug\STM32H747I-DISCO_CM7.hex
3- Reset the MCU.
If that works, that's because you would run the application in debug mode which is a bit tricky.
PS: before uploading the hex file related to the CM7, make sure you selected the external flash loader for this board:
2025-04-06 7:24 AM - edited 2025-04-06 7:38 AM
I didn't understand your answer correctly but I opened stmprogrammer and I found this file and I clicked on connect, what is this file for? Is it for you to upload this file and then I upload the project if it explains to you what exactly needs to be done?
2025-04-06 7:45 AM - edited 2025-04-06 7:46 AM
This the flashloader used by STM32CubeProgrammer to upload the external Flash (QuadSPI). The quad SPI flash contains the TouchGFX assets: images, texts etc..
Select that Flash loader then upload the two hex files as I mentionned before. Did you see somthing on the screen?
2025-04-06 8:35 AM
I uploaded the two .hex files from CM7 and CM4 but the screen remains black and does not light up. The screen only lights up when I upload the demo project. I don't understand the cause of this.