2020-08-14 12:13 AM
Good morning,
I'm using a discovery board STM32H747-DISCO.
Why, Touchgfx don't generate the project .ioc, to import in CUBE IDE?
Instead, if I select another board (for example STM32F7508-DK) , when generate code, the compiler buil also .ioc file.
I have also installed the last version 4.14.0 of TouchGFX, but the problem persist.
Thank you
Solved! Go to Solution.
2021-07-02 01:03 AM
Hi,
TouchGFX 4.17 is now live along a new release of the TouchGFX Board Setup (new name for "Application template") for the STM32H747-disco board based on STM32CubeMX and with a STM32CubeIDE project.
/Romain
2020-08-14 03:57 AM
Hello,
I checked with my TouchGFX and meet the same issue, this problem may come from TouchGFX
Hieu
2020-08-14 04:23 AM
Many thanks HPha.1590 for your confirmation!
Now, I would like to have an official response from the TouchGFX staff for the resolution of the problem.
2020-08-14 07:06 AM
Hello,
If you look closely when choosing an Application Template you can see a version. For H747-DISCO, the version is 1.0.0 as you can see highlighted on the picture below.
For an Application Template to be with an .ioc file, meaning to be compatible with TouchGFX Generator inside CubeMX, this version must be superior or equal to 3.0.0. Therefore, it is normal that a version 1.0.0 has no .ioc file.
The reason why there is no 3.0.0 version for the H747 is because CubeMX does not yet support the dual core of this MCU, therefore it is not possible to configure it in CubeMX. I do not know the schedule for this CubeMX update but it is to be done in the foreseeable future.
/Alexandre
2020-08-18 07:39 AM
Hello.
I wrote in this thread in the past. I finally got the 'mixup' between TouchGFX- and CubeIDE/MX generated applications for the H747 to run. Its not an easy task but it is possible, although in my opinion its nothing a beginner should start with :-).
Regards
Hp.
2020-08-19 01:03 AM
Hello Hp,
Thank you very much for this feedback. This could help others =)
/Alexandre
2020-08-19 02:00 AM
Hello Alexandre.
Thanks and I hope this issue will soon be solved with a proper generator for the H747 :-).
Another issue, virtually brand new, I've discovered yesterday: Don't forget to disable / enable the caches for data and instructions (SCB_EnableDCache();
SCB_EnableICache();). Disable the caches as long as you are setting up your hardware and then enable it befor you call touchgfx::HAL::getInstance(). TouchGFX is assuming that these caches are enabled. If they aren't, the application can crash. The behaviour is somewhat random, makes it hard to find.
Regards
Hp.
2020-08-20 07:21 AM
Hi HB,
Thanks a lot for your feedback.
But, for a beginner like me, it is a very difficult task.
It would be wonderful to have a simple demo project to use as a template in CubeIDE.
I also hope that this problem will be solved soon with an automatic generator for the H747,
so I can better evaluate my board.
/Enrico
2020-08-20 08:42 AM
Hello Enrico.
Yes you are right; its not a task for a beginner. But to be fair: the STM32H747 is a complex piece of hardware with myriads of possibilities and enormous computing-power. In the 90s we would have been more than happy when we had this amount of power and memory in our desktop-PCs (now you may guess my age :) ). As a beginner I would select another less complex chip. Maybe something with a CortexM3- or even a CortexM0- core.
Regards
HP.
2020-08-20 09:30 AM
Hello HB,
I think I'm not much younger than you. my first pc was an 80286 ...
I've only ever developed Windows Desktop applications, but now I wanted to start experimenting with ST MCU.
After an analysis I chose the STM32H747 because it has a lot of potential, but then I realized that this card is
relatively young and not yet implemented in Cube IDE.
I just have to wait for an automatic generator for H747. :(
/Enrico