TouchGFX Code generating and Simulator error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-01-23 3:35 AM
I installed touch 4.10
select STM32429I-Disc1
after combining package:
1 At startup and when I pressed "Run Target" or "Generate Code" the program shows:
"Error during code generation".
2 When I pressed "Run Simulator":
"Unable to lounch simulator".
When forming a project from CubeMX, the same thing happens.
Does anyone know what's the matter?
- Labels:
-
STM32F4 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-05 1:01 PM
Hi @Martin KJELDSEN​ ,
Im sorry. because im new for Touchgfx. so i dont know how i can do that. can you explain a little bit? :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-05 11:46 PM
You have a TouchGFX environment installed along side the designer. You can execute make on our Makefiles to compile projects with gcc and arm-gcc. You should be able to find the program in your start menu,
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-07 6:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 11:44 AM
Hi again @Martin KJELDSEN​ ,
I understood how i can do environment and makefiles commands. but unfortunetly it was unsuccessfull.
I found some problems my project file. I added 2 files ; my home pc and my work pc screenshots. there is no some files such as build folders in my home pc. so i think touchgfx could not do compile and simulator. what do you think about that problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 11:44 AM
this is my home pc screenshot's.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 12:56 PM
sorry. this is my home pc screenshot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 3:19 PM
Hi. Jumping into the middle of this thread :)
Any reason as to why you are using the older version of the TouchGFX toolchain? The latest version is now 4.16.0. Been out of the loop for a bit and just updated my tools to the latest ST compiler and the TouchGFX 4.16.0. Ran a quick demo of the Pool Lights screen on our STM32F429 kit - ran fine.
Hope to use the latest suite of tools to build up some new code.
Can you upgrade your tools to the latest and just start with a simple example GUI?
So far from the very quick review today, the tools have come a long ways :) Very nice !!
Post your results after the upgrades..have the same kits here so perhaps we can help as we proceed with our development.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 10:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-12 11:53 PM
1) start a fresh project with TouchGFX. Select this kit. Be sure the picture of the kit matches your PCB.
2) once you are inside the TouchGFX canvas editor view...select the first pull down menu and select Import GUI.
3) then select the Pool Lights demo gui.
4) Save All.
5) Select the Simulator. Do you see the pool lights graphics with an On / Off button? It should toggle the lightbulb color.
6) Quit the simulator with the top right X of the simulated screen.
7) Select Run Target. Does this compile ok and reflash your kit with the same demo? It should. Select the on / off to toggle the same light bulb graphic but all on your kit lcd.
Post your results. Post your error code if any.
We are on windows 10. Ran fine on our lab system and within minutes from start to finish. Will be working on this project at the office today.
Back to my beauty rest. Will check back later....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-01-13 12:07 AM
Hi @Mon2​ ,
I made your suggests. I select and import "Pool Demo". gave below error ;
Run Simulator
Copy Framework
Copying TouchGFX framework version 4.16.0 to C:\TouchGFXProjects\MyApplication\Middlewares\ST\touchgfx
Done
Generate
Wrote config/gcc/app.mk
Wrote config/msvs/Application.props
Wrote generated/gui_generated/include/gui_generated/common/FrontendApplicationBase.hpp
Wrote generated/gui_generated/include/gui_generated/common/FrontendHeapBase.hpp
Wrote generated/gui_generated/include/gui_generated/common/SimConstants.hpp
Wrote generated/gui_generated/include/gui_generated/main_screen/MainViewBase.hpp
Wrote generated/gui_generated/include/gui_generated/pooltemp_screen/PoolTempViewBase.hpp
Wrote generated/gui_generated/src/common/FrontendApplicationBase.cpp
Wrote generated/gui_generated/src/main_screen/MainViewBase.cpp
Wrote generated/gui_generated/src/pooltemp_screen/PoolTempViewBase.cpp
Wrote generated/simulator/gcc/Makefile
Wrote generated/simulator/include/simulator/mainBase.hpp
Wrote generated/simulator/msvs/touchgfx.props
Wrote generated/simulator/msvs/touchgfx_prebuild.targets
Wrote generated/simulator/msvs/touchgfx_sdl2.props
Wrote generated/simulator/src/mainBase.cpp
Wrote generated/simulator/touchgfx.ico
Wrote generated/simulator/touchgfx.rc
Wrote generated/simulator/touchgfx.res
Wrote simulator/gcc/Makefile
Wrote simulator/main.cpp
Wrote simulator/msvs/Application.sln
Wrote simulator/msvs/Application.vcxproj
Wrote simulator/msvs/Application.vcxproj.filters
Done
Generate Assets
make -f simulator/gcc/Makefile assets -j8
Sistem belirtilen yolu bulamiyor.
Failed
Failed
