2025-09-30 3:00 AM
Hello everyone!
I tried to explore TouchGFX for the first time to discover the advantages of it.
So in TouchGFX 26.0, I started a project for the STM32N6570-DK.
What I did: "Create new", then selected "STM32N6570 Discovery Kit".
Before doing anything, this problem appears:
"Cannot Run Target" and the "Program and Run Target" button appears disabled.
I noticed the "STM32U5G9J DK2 has the "Program and Run Target" button enabled.
Is the STM32N6570-DK not supported in TouchGFX?
Or what did I do wrong?
Thank you in advance for your help.
Solved! Go to Solution.
2025-09-30 4:02 AM
Hello @Jack3.
The N6 is supported starting from TouchGFX version 4.24.2.
However, currently only STM32CubeIDE and EWARM are supported for compiling applications. This means that you cannot compile and flash applications for the N6 directly within TouchGFX Designer. This limitation is also mentioned in the board setup description, as shown below.
To get started, I recommend reviewing the readme file located in the root folder when creating an N6 project. This file provides detailed information on the limitations and guides for building and flashing applications. Due to the N6's powerful and complex nature, there are several important considerations to be aware of.
Best regards,
Johan
2025-09-30 4:02 AM
Hello @Jack3.
The N6 is supported starting from TouchGFX version 4.24.2.
However, currently only STM32CubeIDE and EWARM are supported for compiling applications. This means that you cannot compile and flash applications for the N6 directly within TouchGFX Designer. This limitation is also mentioned in the board setup description, as shown below.
To get started, I recommend reviewing the readme file located in the root folder when creating an N6 project. This file provides detailed information on the limitations and guides for building and flashing applications. Due to the N6's powerful and complex nature, there are several important considerations to be aware of.
Best regards,
Johan
2025-09-30 4:29 AM - edited 2025-09-30 7:52 AM
Hi Johan, thank you very much!
I missed that note, because in TGFX 4.26.0 doesn't show the description.
I read "readme.md" in the root folder.
The "Flash Scripts" don't work: "Error: binary file does not exist".
Did I perhaps give my project a 'wrong' name that doesn't match the scripts' expectations?
Meanwhile I discovered the STM32N6570 has a somewhat more complex nauture (in compare with the STM32H7S78), making any attempt to use it fail so far.
I created a project with STM32CubeMX 6.15.0, compile it with STM32CubeIDE 1.19.0., but can't flash it directly from the IDE. No errors, but the existing demo just remains working after a reset.
Obviously the code needs to be flashed in external flash, and since I'm missing the "ExtMemLoader", and "flash scripts", I need to use the MX66UW1G45G_STM32N6570-DK in the External Loader in STM32CubeProg, right?
Reading is for wimps and I'm a wimp, so I'm going to read the documentation more thoroughly.
I enjoy learning new things.
Best regards, Jack
2025-10-01 2:58 AM
Could you share a screenshot of how it appears in your TouchGFX Designer? I see the description on the right when I select a TBS.
Are you using STM32CubeIDE or EWARM?
To confirm, have you followed this procedure:
If you have followed the procedure above and the script cannot locate the binaries, could you please share your project?
Best regards,
Johan
2025-10-01 3:24 AM - edited 2025-10-03 6:01 AM
Hi Johan, I see it now too.
The problem was that TouchGFX Designer opened with the window maximized to the screen (not preferred).
My screen is 5120 pixels wide, so the description was about a meter to the right; I didn't notice.
For the screenshot below, I resized the window to get them close together.
Sorry to bother you.
I succeeded to flash my code.
Some useful links to start:
STM32N6 boot ROM explained
https://community.st.com/t5/stm32-mcus/stm32n6-boot-rom-explained/ta-p/763648
How to create an STM32N6 FSBL load and run
https://community.st.com/t5/stm32-mcus/how-to-create-an-stm32n6-fsbl-load-and-run/ta-p/768206
STM32N6 demo workshop
https://www.youtube.com/watch?v=3jnal51NBZQ&list=PLTJzs51NlEICI7ARAHOyUqMhTgJE0UFv0&index=1
Thanks a lot! Jack.