‎2022-10-02 07:33 AM
I have start with TouchGFX, select the demo board and generate the code. Simulator and download works.
But now, when I want open the project with CubeIDE, the first is, the project is completly empty. Then when I start a new project with the existing IOC file, then CubeIDE generate a seperate folder with other files, but there are not the auto generates files from TouchGFX visible.
What is wrong? Please write me step by step how can I start my own project with STM32H7B3I-DK.
Thank you very much, Markus.
Solved! Go to Solution.
‎2022-10-03 07:22 AM
Nothing is missing :grinning_face_with_sweat:
I opened your project you shared, and I find all the files.
I opened TouchGFX Designer, I regenerate code from there. Then in STM32CubeIDE, I cleaned the project (right click, "Clean Project"), then I built it (right click, Build Project"). No errors, no warning during compilation. So the project is working.
If you can't find a specific resource file in the tree, try to do a global search by its name like this :
/Osman
‎2022-10-03 12:12 AM
Hi @Markus Müller​ ,
I recommend that you use the STM32CubeMx to create the TouchGFX project.
For that, I advise you to follow properly the steps as described in this MOOC.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
‎2022-10-03 01:51 AM
Hello MMüll.6,
Can you give more information about your configuration please ?
What do you mean by demo board ? Do you use a TouchGFX board setup with empty canvas or a Example/Demo that we provide ?
Is it possible for you to provide screenshots of your issue ?
I tried on my side to create a new empty project with the STM32H7B3I-DK and it went fine, I see it on STM32CubeIDE, it's not empty. I use TouchGFX Designer 4.20.0 and ST32CubeIDE 1.9.0
/Osman
‎2022-10-03 03:19 AM
@Osct
TouchGFX 20.0, CubeIde 1.10.1, CubeMX 6.6.1 (the newest)
I have try this 3 ways with "Demo Board configuration STM32H7B3I-DK":
1) Start with CubeMX:
2) Start with TouchGFX:
3) Start with CubeIDE:
This are three possible ways with different results, but all not working.
Please correct this 3 ways, that this all works with the same result.
Currently, there is a verv very big bug inside the auto code generator. Three ways with three different results from one company is not good.
Thank you very much.
M.Müller
‎2022-10-03 04:02 AM
In this video you can only see how to create a new project, but not what you have to do to make the demo board work (incl. touch driver) and what you have to do to make it work. Exactly where it gets interesting is the end of the video.
It would be helpful if there was a video how to start with a ST demo board completely, incl. download and e.g. a button in TouchGFX programmed and you see how a LED goes on and off.
Thank you very much for help
‎2022-10-03 04:24 AM
Hello again MMüll.6,
I do the 2nd way always, but I think you're missing one step;
- Start with TouchGFX:
Can you try that ?
/Osman
‎2022-10-03 04:37 AM
I have generate the code with TouchGFX designer:
‎2022-10-03 04:44 AM
‎2022-10-03 05:38 AM
Please, can you generate a new project with the demo board "STM32H7B3I-DK" for TouchGFX and CubeIDE with the name "DisplayH7".
Then I can download this, it will be very nice.
Thank you very much.
/Markus
‎2022-10-03 07:22 AM
Nothing is missing :grinning_face_with_sweat:
I opened your project you shared, and I find all the files.
I opened TouchGFX Designer, I regenerate code from there. Then in STM32CubeIDE, I cleaned the project (right click, "Clean Project"), then I built it (right click, Build Project"). No errors, no warning during compilation. So the project is working.
If you can't find a specific resource file in the tree, try to do a global search by its name like this :
/Osman