cancel
Showing results for 
Search instead for 
Did you mean: 

Configure stm32h747i-disco touch screen to make a graphic interface.

slimani
Associate II

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.

26 REPLIES 26
slimani
Associate II

slimani_0-1743873891984.pngslimani_1-1743873928831.png

 

slimani_2-1743874350523.jpeg

finally it works

 

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.

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.
slimani
Associate II

I want to make this graphical interface, can you help me to do that and thank you very much 

slimani_0-1743879071540.jpeg

 

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 

slimani_0-1743879071540.jpeg

 


This is another question, you need to open e new thread for it.

Thank you.

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.

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.

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:

mALLEm_0-1743945799983.png

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.
slimani
Associate II

slimani_0-1743949245410.png

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?

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?

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.

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.