2026-03-19 3:10 AM
Hi there,
i'm moving my first steps into ST boards programming and I have a trouble I can't solve.
Following this youtube tutorial: https://www.youtube.com/watch?v=NFljjd_vQGA
I tried to create the app in TouchGFX and it worked. I can flash my STM32F746G-DISCO board correctly:
(image 1)
The youtube tutorial ends with importing the project into STM32CubeIDE, to do so, you go inside STM32CubeIDE folder inside main folder named MyFirstTouchGFXProject and double-click on .project file:
which I did after editing the files .project and .cproject. Because I have multiple projects based on the same board and ALL OF THEM get imported with the same name, without possibility to change that name, that is in my case: STM3232F746G_DISCO, and rename the project from within the STM32CubeIDE breaks it. Therefore I changed this lines.
.project:
.cproject:
At this point i double-clicked on .project and imported into STM32CubeIDE, compiled and flashed correctly:
but the ending result looks like a broken LCD:
(image 2)
Of course if I flash directly from TouchGFX Designer I get again the image 1.0, therefore LCD is not broken.
So here my questions:
1) what I did wrong?
2) how to solve it?
3) has something to do with this "issue"?
4) and why compilations is fine if IDE shows some "issue"?
Thanks in advance
Solved! Go to Solution.
2026-03-26 2:33 AM
Welcome, I know that there is a lot to comprehend, if you are learning TouchGFX and the entire STM32Cube ecosystem all at once.
If you are using any flash outside the MCU, you need specify how to load this. TouchGFX projects are normally set up to put bitmap assets in external flash. You can set this for your debug/run configuration in CubeIDE, under the "Run -> Debug Configurations..." menu. I have tried to highlight the relevant fields in the screen below. When you are using an ST discovery board, an appropriate external loader should be available in the default list.
2026-03-25 3:52 AM
Hello Alberton
It is unfortunately a bit cumbersome to change the name of a project since it linked between STM32CubeMX, STM32CubeIDE and TouchGFX. We are rolling out a system to take the project name you pick when creating a project in TouchGFX Designer and apply it to the entire project. But it has not hit the STM3232F746G_DISCO yet.
But since you are able to compile and run the other project, I guess that you have renamed it sufficiently.
Based on the display corrupted image you shared, it looks like it runs the new application but with the assets from the old application. Have you set up the external loader correctly in debug configuration for the new project?
Best regards
Peter
2026-03-26 1:43 AM
Hello Peter,
Thank you for your kind reply. It is probably my fault, but as a beginner I don’t yet know where to look.
> But since you are able to compile and run the other project, I guess that you have renamed it sufficiently.
Thank you, having this confirmation helps me understand that the issue does not depend on that.
> Have you set up the external loader correctly in debug configuration for the new project?
I wouldn’t know how to configure an external loader. Could you point me to where I should look? Eclipse-like IDE are massive.
Thanks in advance,
Alberto
2026-03-26 2:33 AM
Welcome, I know that there is a lot to comprehend, if you are learning TouchGFX and the entire STM32Cube ecosystem all at once.
If you are using any flash outside the MCU, you need specify how to load this. TouchGFX projects are normally set up to put bitmap assets in external flash. You can set this for your debug/run configuration in CubeIDE, under the "Run -> Debug Configurations..." menu. I have tried to highlight the relevant fields in the screen below. When you are using an ST discovery board, an appropriate external loader should be available in the default list.
2026-03-26 2:48 AM
Thank you, sir. That worked!
Much obliged.
Have a nice day.