2020-05-06 05:32 AM
Also uVision 5.29 generates a bunch of Font missing .cpp file errors? Is there an install guide I'm missing?
Solved! Go to Solution.
2020-05-07 08:45 PM
Problem 100% solved. The was an old MAKEFLAGS environment variable in Windows 10 that was throwing the system off. The other two machines just needed to erase the memory in the development boards to start working correctly. Thanks you all for your help.
2020-05-06 06:31 AM
Please provide more details of what's failing for you.
Re: uVision i think your project has not been updated with the generated files. How did you create the project? There's a post generate command that will update your project, but...it reads the .ioc file to figure out what the IDE you're using is. So if yor project manager does not state uvision then thats the problem.
/Martin
2020-05-06 12:24 PM
Martin,
We have decided to abandon the uVision development and to go the CubeMX, CubeIDE and TouchGFX direction. I would also like to Simulate with VS2019 but I have had no luck with it and have switched to VS2017.
Originally I had installed only Keil 5.29, TouchGFX and VS2019, and had very little success. I had better success with VS2017 and I am now putting on Cube MX, and CubeIDE. Hoping that will work better. Our projects so far have been TouchGFX demos and applications for the appropriate targets. We are not trying custom projects yet as we would like to learn the GFX programming first before trying a ported version.
Is there any place where setting up a development environment is documented? There is mention in Tutorial 2 but it is far from detailed.
/Kevin
2020-05-07 12:43 AM
Hi @Community member ,
The following would be a good way to begin with the TouchGFX framework :
1) A hardware board with the STM32 uC : try STM32F746g-DISCO ( the Discovery board by ST for the STM32F7 family );
2) The TouchGFX Designer.
Download & install the TouchGFX designer software & try the various example templates supplied by it, using the STM32F746g-DISCO board hardware template. This way, you'd be doing an easy, 100% working & out of the box approach to learn the framework.
You may start with the button counter example to get a feel of the GUI. Next, studying the example code, along with the online documentation will make things clear for you. You may then try other examples & delve more into the framework.
A knowledge of C++ & an understanding of RTOS concepts will make things easier as you seam through the example code files.
The examples given in the framework can also be run on the PC, using the simulator option. However, tinkering with the a known & proven hardware makes the learning curve a bit steeper.
And, of course you have this forum to fall back on, when you need help or when you want to share your insights :)
/Jagdish
2020-05-07 05:20 AM
Jagdish,
First of all thank you for your respond however that is exactly what we have done right from the beginning.
Run Simulator
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project --project-file=../STM32F746G_DISCO.ioc --platform=m7
Done
Compile
make -f simulator/gcc/Makefile -j8
/usr/bin/sh: C:TouchGFX4.13.0envMinGWmsys1.0QNX650targetqnx6usrinclude: command not found
generated/simulator/gcc/Makefile:149: recipe for target 'generate_assets' failed
make[1]: *** [generate_assets] Error 127
simulator/gcc/Makefile:32: recipe for target 'all' failed
make: *** [all] Error 2
Failed
Failed
4. If I try to Run Target I get this
Run Target
Generate
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Done
Post Generate
touchgfx update_project --project-file=simulator/msvs/Application.vcxproj
Done
Post Generate Target
touchgfx update_project --project-file=../STM32F746G_DISCO.ioc --platform=m7
Done
Compile
make -f ../gcc/Makefile -j8
Generating TouchGFX/generated/texts/src/Texts.cpp
Generating TouchGFX/generated/texts/src/LanguageGb.cpp ..... hangs forever.
*********************************************************************
This is on three different machines with three different people.
*********************************************************************
2020-05-07 07:01 AM
Hi @Community member ,
The error you have reported seems to be related to the TouchGFX environment. Are you able to run the TouchGFX4.1.13 environment shell by clicking on the link on the Desktop ?
/Jagdish
2020-05-07 08:45 PM
Problem 100% solved. The was an old MAKEFLAGS environment variable in Windows 10 that was throwing the system off. The other two machines just needed to erase the memory in the development boards to start working correctly. Thanks you all for your help.
2020-05-11 03:06 AM
Hi @Community member,
We've had some bank-holiday here in DK. What's your status on this with everything that's been shared in this thread and what you may have learned since then?
Let me know so i can focus only on the parts you still require information about :) thanks!
/Martin
2020-05-11 03:38 AM
Problem 100% solved. The was an old MAKEFLAGS environment variable in Windows 10 that was throwing the system off. The other two machines just needed to erase the memory in the development boards to start working correctly. Thanks you all for your help.
2020-05-11 04:12 AM
Perfect! Let me know if there's anything i can help with.