STM32H743ZIT Chip (Not Evaluation board) with touchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-17 10:53 PM
hi,
i am trying to do project with STM32H743ZIT chip and STM32CUBEMX program to generate code.
there is no option for touchGFX of STM32H743ZIT in STM32CUBEMX
i made STM32H743ZIT code from STM32CUBEMX and touchGFX code from touchGFX designer.
can you explain how to integrate two project files step by step?
Solved! Go to Solution.
- Labels:
-
STM32CubeMX
-
STM32H7 Series
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-17 11:31 PM
CubeMX in its current state is hard locked fo F4 and F7. We're working on a solution to remedy that.
It's a little difficult to tell you exactly what _you_ need to do, but generally, if you inspect the H7 Application Template we have from the designer you will see how to integrate the two "worlds" until CubeMX integration can be improved. Generally about the way the Application templates (non-cubemx) are structured
1) BoardConfiguration.cpp has two methods:
- hw_init() - This is our version of main() in CubeMX generated projects.
- touchgfx_init() - Initializes touchgfx - This is the same whatever method you choose to follow.
2) main.cpp
- This is where we call hw_init(), touchgfx_init() and set up an OS Task to run the main event loop of touchgfx (HAL::getInstance()->taskEntry())
Check out the application template and let me know!
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-17 11:31 PM
CubeMX in its current state is hard locked fo F4 and F7. We're working on a solution to remedy that.
It's a little difficult to tell you exactly what _you_ need to do, but generally, if you inspect the H7 Application Template we have from the designer you will see how to integrate the two "worlds" until CubeMX integration can be improved. Generally about the way the Application templates (non-cubemx) are structured
1) BoardConfiguration.cpp has two methods:
- hw_init() - This is our version of main() in CubeMX generated projects.
- touchgfx_init() - Initializes touchgfx - This is the same whatever method you choose to follow.
2) main.cpp
- This is where we call hw_init(), touchgfx_init() and set up an OS Task to run the main event loop of touchgfx (HAL::getInstance()->taskEntry())
Check out the application template and let me know!
/Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-18 3:33 PM
thank you for answer.
To check application template, i made simple project from TouchGFX Designer, and i pressed Generate code button.
i found functions that you said.
and i press button 'make'
there is errer -
so because of these errers, when i flash program, should i use ST-Link Utility?
AND i cannot understand how to integerate two project.
To integrate two projects, should i transfer files from project files that made from Cubemx to project files from TouchGFX Designer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-11-18 11:50 PM
None (except maybe a few) of our projects have external flashloaders configured for IAR or Keil projects. It is only the target/Makefile that has the exact flash name embedded inside which it uses with ST-Link/CubeProgrammer to program a board.
On integration:
You should probably integrate your TouchGFX application into your CubeMX project because you'd most likely want to keep making changes in CubeMX.
/Martin
