cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F746G-DISCO does not work with TouchGfx 4.22.1

hbZhao
Associate III

Hello,

I just bought a STM32F746G-DISCO from Mouser (Mouser #:511-STM32F746G-DISCO).

When it arrived, the LCD and touchscreen were working well. However, after I downloaded the demo project (STM32F746G-DISCO Control LED from GUI v3.0.6) in the TouchGfx 4.22.1, there was nothing displayed. 

And I tried to import the project into STM32CubeIDE 1.13.2 to build it. The external loader was 'N25Q128A_STM32F746G-DISCO.stldr'. But there was not any luck.

The board is the blue one. The label on the front is 'STM32F746G-DISCO DK32F746G$CU2', and the label on the back is 'MB1191-F746-C01 / C222103562'.

May I know how to generate a WORKING project with TouchGfx? Thanks.

 
4 REPLIES 4
Yoann KLEIN
ST Employee

Hello @hbZhao,

Do you have any error while running the demo on target in TouchGFXDesigner ?

What happens if you try to flash your board with another demo project ?

Yoann KLEIN
ST Software Developer | TouchGFX
hbZhao
Associate III

Hello @Yoann KLEIN 

Thanks for your reply. As you suggested, I checked the compiler log. There is not any error.

Also I flashed anther demo project (Intertask Communication Demo v3.0.6), the display is still white.

The interesting is there are some lines which can be seen after programming the project, while it is pure clean if I erase the full flash chip. Please check the attached photo.

The below is the compiler log. And I attach the logs of 'generate code' and 'run target'.

=================================================================

Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Reading ./application.config
Reading ./target.config
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project
.cproject file: ../STM32CubeIDE/.cproject
Writing STM32CubeIDE project file: ../STM32CubeIDE/.project
Writing STM32CubeIDE project file: ../STM32CubeIDE/.cproject
Done
Compile
make -f ../gcc/Makefile -j8
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Linking TouchGFX/build/bin/target.elf
Producing additional output formats...
target.hex - Combined internal+external hex
intflash.elf - Internal flash, elf debug
intflash.hex - Internal flash, hex
Done
Flash
make -f ../gcc/Makefile flash -j8
Reading TouchGFX/application.config
Reading TouchGFX/target.config
Linking TouchGFX/build/bin/target.elf
Producing additional output formats...
target.hex - Combined internal+external hex
intflash.elf - Internal flash, elf debug
intflash.hex - Internal flash, hex
-------------------------------------------------------------------
STM32CubeProgrammer v2.13.0
-------------------------------------------------------------------

ST-LINK SN : 0668FF565588494867115321
ST-LINK FW : V2J42M27
Board : 32F746GDISCOVERY
Voltage : 3.22V
SWD freq : 4000 KHz
Connect mode: Normal
Reset mode : Software reset
Device ID : 0x449
Revision ID : Rev Z
Device name : STM32F74x/STM32F75x
Flash size : 1 MBytes
Device type : MCU
Device CPU : Cortex-M7
BL Version : 0x90
Debug in Low Power mode enabled



Memory Programming ...
Opening and parsing file: target.hex
File : target.hex
Size : 503.77 KB
Address : 0x08000000


Erasing memory corresponding to segment 0:
Erasing internal memory sector 0
Erasing memory corresponding to segment 1:
Erasing internal memory sectors [0 4]
Erasing memory corresponding to segment 2:
Erasing external memory sectors [0 5]
Download in Progress:
北北北北北北北北北北北北北北北北北北北北北北北北北 0%
圹圹圹圹圹圹圹圹圹圹圹圹圹圹圹? 62%圹圹圹圹圹圹圹圹? 97%圹 100%

File download complete
Time elapsed during download operation: 00:00:06.817

Hard reset is performed
Done
Done

Check build options new boards might use different parts, screen, etc

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
hbZhao
Associate III

Hello @Tesla DeLorean ,

May I have more information about the build options? The following is the screenshot of the build options in my TouchGfx.

It would be better to have a working demo project, even if it is a single touchable button on the screen.

hbZhao_0-1696522577622.png