cancel
Showing results for 
Search instead for 
Did you mean: 

Cube IDE 1.16.0 + TouchGFX 4.24.0 for STM32F746 Disco - Black Screen

EmanueleS
Associate

Hello everyone,

I've made a project for STM32F746 disco, the project compile and debug fine. 

The problem is that the screen of my board remains black. All TouchGFX configuration has done right. Project is uploaded in browse section. When I start debugging the screen is white and I see this on the log. 

 

  • STMicroelectronics ST-LINK GDB server. Version 7.8.0
  • Copyright (c) 2024, STMicroelectronics. All rights reserved.
  •  
  • Starting server with the following options:
  • Persistent Mode : Disabled
  • Logging Level : 1
  • Listen Port Number : 61234
  • Status Refresh Delay : 15s
  • Verbose Mode : Disabled
  • SWD Debug : Enabled
  • InitWhile : Enabled
  •  
  • Waiting for debugger connection...
  • Debugger connected
  • Waiting for debugger connection...
  • Debugger connected
  • Waiting for debugger connection...
  • -------------------------------------------------------------------
  • STM32CubeProgrammer v2.17.0
  • -------------------------------------------------------------------
  •  
  •  
  •  
  • Log output file: C:\Users\emanu\AppData\Local\Temp\STM32CubeProgrammer_a27776.log
  • ST-LINK SN : 066AFF3238504B3043193049
  • ST-LINK FW : V2J45M31
  • Board : 32F746GDISCOVERY
  • Voltage : 3.24V
  • SWD freq : 4000 KHz
  • Connect mode: Under Reset
  • Reset mode : Hardware 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: ST-LINK_GDB_server_a27776.srec
  • File : ST-LINK_GDB_server_a27776.srec
  • Size : 915.78 KB
  • Address : 0x08000000
  •  
  •  
  • Erasing memory corresponding to segment 0:
  • Download in Progress:
  •  
  •  
  • File download complete
  • Time elapsed during download operation: 00:00:13.216
  •  
  •  
  •  
  • Verifying ...
  •  
  •  
  •  
  •  
  • Download verified successfully

In my task I wrote MX_TouchGFX_Process(); when I run at MX_LTDC_Init(); my screen is black. Cannot see any image.

 

1 REPLY 1
LouisB
ST Employee

Hello @EmanueleS,

I checked your archive but the folder structure is very different from what it's supposed to be. Try to create a project with the default structure, and it may work without an issue.

Best Regards,

Louis BOUDO
ST Software Developer | TouchGFX