TouchGFX Not working STM32F746G-DISCO
- October 14, 2024
- 6 replies
- 5269 views
I am facing some problems with TouchGFX 4.24.1.
After creating a project from Demos -> Board Specific Demo and selecting the STM32F746G-DISCO, and selecting the project: STM32F746G-DISCO Control LED from GUI. I got two problems:
- Problem 1: Frozen Screen and incorrect display of toggle button and light icon
Program and Run Target "F6", After flashing it
Memory Programming ...
Opening and parsing file: target.hex
File : target.hex
Size : 507.87 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:07.805
Hard reset is performed
Done
Done
The light toggle button is not showing correctly and not interacting from the touchscreen.

- Problem 2: incorrect display of toggle button and light icon
After opening the project with STM32CubeIDE 1.16.0, compiling and running the project. It interacts but the LED icon and the toggle button are still displaying incorrectly.
(I have faced the some problem also with 1.16.1, but since TouchGFX suggests software tools CubeMX 6.12.0 and FW 1.17.2)
- Problem 3: Program and Run Target "F6", with TouchGFX fails sometimes
Compiling TouchGFX/target/TouchGFXGPIO.cpp
0 [main] us 0 init_cheap: VirtualAlloc pointer is null, Win32 error 487
AllocationBase 0x0, BaseAddress 0x60EA0000, RegionSize 0x1F0000, State 0x10000
C:\TouchGFX\4.24.1\env\MinGW\msys\1.0\bin\mkdir.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 0
gcc/Makefile:328: recipe for target 'TouchGFX/build/STM32F746-DISCO/TouchGFX/target/TouchGFXGPIO.o' failed
make[2]: *** [TouchGFX/build/STM32F746-DISCO/TouchGFX/target/TouchGFXGPIO.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [generate_assets] Error 2
gcc/Makefile:294: recipe for target 'generate_assets' failed
make: *** [all] Error 2
../gcc/Makefile:49: recipe for target 'all' failed
Failed
Failed
Can anyone help me to get TouchGFX running properly?
Thanks
Tools used:
- STM32CubeIDE 1.16.1 and STM32CubeMX 6.12.1
- STM32CubeIDE 1.16.0 and STM32CubeMX 6.12.0
with both TouchGFX 4.24.1 Designer and TouchGFX 4.24.0 Designer
