cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX on STM32N6570-DK

Duc
Senior

Hello everyone,

I’m working with the STM32N6570-DK and trying to bring up a TouchGFX project by following the official STM tutorial:

https://www.youtube.com/watch?v=NFljjd_vQGA

I generated the project with TouchGFX Designer and programmed the board using STM32CubeProgrammer exactly as shown in this one:

  • FSBL flashed at address: 0x7000 0000

  • Application flashed at address: 0x7010 0000

The flashing process completes without any errors.
However, when the board boots, the GUI is completely corrupted. The display only shows colored noise/static like in the video I attached.

It seems like framebuffer data, LTDC configuration, cache handling, or memory mapping might be wrong… but everything was generated by TouchGFX. 

Any guidance would be greatly appreciated.

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
Osman SOYKURT
ST Employee

Hello @Duc ,

For the STM32N6570-DK, we advise our users to use the provided script that is intended for flashing. You'll find more explanation about the flashing procedure in the readme file (located in your project root folder), but in your case, this part is the most important :

OsmanSOYKURT_0-1765187546916.png

We will release soon another version for this STM32N6570-DK TBS where you can flash directly through TouchGFX Designer like all the other TBSs.

Osman SOYKURT
ST Software Developer | TouchGFX

View solution in original post

4 REPLIES 4
Osman SOYKURT
ST Employee

Hello @Duc ,

For the STM32N6570-DK, we advise our users to use the provided script that is intended for flashing. You'll find more explanation about the flashing procedure in the readme file (located in your project root folder), but in your case, this part is the most important :

OsmanSOYKURT_0-1765187546916.png

We will release soon another version for this STM32N6570-DK TBS where you can flash directly through TouchGFX Designer like all the other TBSs.

Osman SOYKURT
ST Software Developer | TouchGFX
Louie88
Senior II

Hi Osman,

I have the same problem: I cannot run the created Two Screens App (shows Screen1 or Screen 2) from TouchGFX on the STM32N6570-DK board. The generated scripts also do not help. When they try to sign the *.bin file then the STM32_SigningTool_CLI.exe stops with Error: Invalid command '-align'

20260227-N6-flash-sign-error.png

In the available commands there is no -align command. Do I have a wrong version of the signing app?

Thanks,

Louis

PS: I also could not open BSP, Nx_WebServer nor UART_HyperTerminal_IT examples, any examples I tried. All reported a lot of errors what I could not fix. 

Louie88
Senior II

It is solved.

  1. Lauch the STM32CubeProgrammer.
  2. In the bottom, left corner click on "?" icon.
  3. In the menu select Software update.
  4. Update it to - currently - V.2.22.0 (I had V.2.19.0)
  5. The app will be updated a restarted.
  6. Close it.
  7. Switch the BOOT1 switch on the board to 'H' position. BOOT0 should be in 'L' position.
  8. Run the [Project folder]/Flash scripts/CubeIDE/Debug/LoadAll.bat. (Or Release)
  9. Switch the BOOT1 switch back to 'L' position.
  10. Cycle the power of the board and the app will run.

Best regards,

Louis

 

Hello @Louie88 , 

I confirm that the issue is the use of an outdated version of STM32CubeProgrammer. Updating to the latest version should fix the issue.

Osman SOYKURT
ST Software Developer | TouchGFX