Skip to main content
Associate
January 24, 2025
Solved

TouchGFX 4.24.2 on STM32N6570-DK: Black Screen and Red LED (LD4) After Flashing

  • January 24, 2025
  • 2 replies
  • 1792 views

Hi everyone,
I’m encountering an issue while working with TouchGFX 4.24.2 on the STM32N6570-DK, using STM32CubeIDE 1.17.

Here’s the situation:

  • I tested both my custom project and a demo project provided by TouchGFX.
  • I followed the recommended steps:
    1. Generate Code in TouchGFX Designer.
    2. Run the application in the TouchGFX simulator, where it executes without any issues.
    3. Build and flash the project onto the board using STM32CubeIDE.

However, after flashing, the board:

  • Shows a black screen (no content displayed).
  • The LD4 LED remains lit in red.

I verified the following:

  • The BOOT switches were in the correct positions during flashing and execution.
  • I used the correct flash scripts for the FSBL and application.

Despite these steps, the application refuses to run on the board. Even the demo projects, which should work out of the box, show the same behavior.

Has anyone experienced this issue or found a solution? Could it be related to memory configuration, the FSBL, or perhaps some compatibility issue with the board? Any help or troubleshooting suggestions would be highly appreciated!

Thank you for your support! :smiling_face_with_smiling_eyes:

Best answer by Osman SOYKURT

The flashing should be exclusively done using the .bat scripts provided in the Flash Scripts/ folder. 


@Ippo wrote:
  • I followed the recommended steps:
    1. Generate Code in TouchGFX Designer.
    2. Run the application in the TouchGFX simulator, where it executes without any issues.
    3. Build and flash the project onto the board using STM32CubeIDE.

We do not recommend number 3. You shouldn't try to flash using STM32CubeIDE because it will not work. 

2 replies

Osman SOYKURT
Technical Moderator
January 30, 2025

Hello @Ippo ,

Which version of STM32CubeProgrammer are you using? You must use the latest one in date (2.18.0) since STM32N6570-DK is supported from that version as described in the Release Note.

Osman SOYKURTST Software Developer | TouchGFX
IppoAuthor
Associate
January 30, 2025

The latest version is 2.18, but I tried flashing using CubeIDE 1.17. The problem is that when I try to flash a demo to the N6 after generating the code with TouchGFX and building the application code with CubeIDE, the code compiles without errors, but the screen remains black.

Maybe I did something wrong.

 

 

 

Osman SOYKURT
Osman SOYKURTBest answer
Technical Moderator
January 30, 2025

The flashing should be exclusively done using the .bat scripts provided in the Flash Scripts/ folder. 


@Ippo wrote:
  • I followed the recommended steps:
    1. Generate Code in TouchGFX Designer.
    2. Run the application in the TouchGFX simulator, where it executes without any issues.
    3. Build and flash the project onto the board using STM32CubeIDE.

We do not recommend number 3. You shouldn't try to flash using STM32CubeIDE because it will not work. 

Osman SOYKURTST Software Developer | TouchGFX
IppoAuthor
Associate
January 30, 2025

Thanks for the help. I'll update you if it works or not as soon as I can.