STM32CubeIDE 1.2.1 and TouchGFX 4.13.0 with STM32F746G-DISC0 kit
Vložit
- čas přidán 11. 09. 2024
- Update 05/04/2021
If you are using the latest version of TouchGFX 4.16.0 and STM32CubeIDE 1.6.1 then watch this video • Importing TouchGFX 4.1...
** Please note that this is a old video using the older versions of TouchGFX and STM32CubeIDE. With the newer versions you don't have to follow this video to get a project up and running.**
I'll show you how to get a project up and running quickly with the bare minimum peripherals being set up.
The first TouchGFX project is just a template in order to get the correct parameters and files that the TouchGFX Engineers have supplied. Once you have your STM32CubeIDE project up and running you can delete this TouchGFX project template.
Please note that the original IOC file generated by STM32CubeIDE will be overwritten. So all the peripherals like Uart, SPI, Ethernet, Timers will need to be added for your specific hardware project.
You can download the project on github here github.com/kar...
Also check out my other videos below...
How to to send uart message and update the GUI textarea: • TouchGFX - sending uar...
How to control hardware from the GUI and send uart messages: • STM32CubeIDE and Touch...
STM32F746G-DISCO amzn.to/3Fb3TMe
Thank you very much for this. I've been a developer for 40 years and don't understand how a company can make something that should be so easy so hard and then put it out for use by customers.
i know Im randomly asking but does any of you know of a trick to log back into an Instagram account..?
I was dumb forgot my login password. I would love any tips you can give me
I was really depressing enabling touchgfx for my project. Your easy to follow tutorial helped me a lot! Thank you very much! You saved me.
Thank you. I am personally expected project like this in examples for STM32F746, templates or something like this. Instead of this, internet full of solution for old versions of STM32CubeIDE. Your project is a first one that actually working today. Thank you again. I recomend you to add to a name of the video, several key names like "example" and last name of STM32CubeIDE (today is 1.4.0). I think, more people will find your video.
I was really struggeling migrating TouchGfx (4.13.0) with STM32CubeIDE (1.3.0). This really helped! Thanks!
Thank you, very very much, Man !! I spend a lot of days trying to do this !
thank you , it's hard to find a good tutorial on touchGFX
Holy smokes... how long would it take to figure that out by yourself! :O I wonder how many people gave up half way... I've been playing around with the DISCO-F746NG building my on RC remote but using the mbed online compiler and simple graphics using BMP files loaded from SD-card. But it's extremely basic and I find it very time consuming to move forward so I'm thinking of building it using touchGFX instead. Thanks for posting this, going to save a ton of time getting started!
I just uploaded a new video using the latest version of TouchGFX 4.16.0 and STM32CubeIDE 1.6.1 which now works correctly compare to the older versions.
@@EEbyKarl yea I didn’t get very far with the latest version. Thanks!
@@EEbyKarl what about 4.23.1 and 1.14.1 for ide :/
You are a genius Karl.. Post this video to ST to shown them the mess they have made of the integration of their development tools...
Yeah, ST messed up. Not sure why they released TouchGFX 4.13.0 without a getting started instruction or tutorial video like what i did.
@@EEbyKarl it´s so confusing to use the st tools, thank's for sharing your expertise
This has been a great help! Thank you!
Hi, I was not able to find the STM32cubeMX file at 2:28. I only can see the IOC file inside the folder. Any help? Thanks!
Thanks still works for me with the newest version: workspace 1.4.0 touch gfx 4.13.0 (just had to hit migrate when they ask for this option!)
Thanks for sharing. I have a question. I have designed my own hardware how do you create the TouchGFX project if you have your own hardware. My design uses the STM32F746, but unlike the STM32F746G-DISCO which uses a BGA I use the TQFP. There is no way to change the processor within Cube once it is selected without creating a new project.
Excellent Video Karl! I request you and all to please solve my doubt. I am using STM32F469I-Disco board. I used this method and everything is working fine. Now, I am trying to use CAN1 and want to display messages on display. Now the main concern is, the only available CAN1 pins on this board are PA11 and PA12 and I tried and read that those pins are assigned for some USB purposes. So, now I am left with no options to assign CAN_Tx and CAN_Rx pins. I tried to change some of the pins so that I can assign CAN1 pins on PB8 and PB9. But, as I am trying to edit a single thing on CubeMX, it gives 0 errors, 0 warnings but display stopped working. It seems like they don't want us to change a single thing in CubeMX. How can one make an application with much less available pins? Please do reply if anyone has any small idea or solution. Thanks a lot in advance.
can this be used for STM32H747I - DISCO as well?
Hi Martin Kjeldsen
If I replace TFT 4.3inch on STM32F746_Disco by TFT 7inch (800x480) (Pin name and total pin of TFT 7inch same TFT 4.3inch), can it is run?
Hi Karl , thanks for all your videos
During the setting up of your project on CubeIDE you choose C++ and not only C because CubeIDE is interacting with TouchGFX ?
Thanks for your reply. Jorge
TouchGFX code is designed in C++, so STM32CubeIDE needs C++ selected in order to use the correct compiler. Other than writing code for the MVM to get data back and forth between the View, Presenter and Model, you can write the rest of your code in C.
@@EEbyKarl Thanks for your reply and explanation.
Now I need to go back to school and continue my learning on C ++ 😊😊
Superb video, at last a way to get Touchgfx and STM32cubeide to produce a working project. Having got this working on the 746 Disco I have been trying to use a STM32F769IDisco board using the same method, but it doesn’t work. Having made a number of changed to link files and getting a successful compile and loading, the 769 display just sits there dark and blank. Very frustrating.
If you mean 32F769IDISCOVERY, the latest TouchGFX 4.13.0 with V3 template works for me. Now on another post i mentioned that i worked with a 429I-DISC0 board as well. Now i don't remember which, but between the two i had to enable the external loader in the debug/run configuration for one of them. You may want to check if the external loader is enabled with the correct memory selection.
Hi i am getting error like this when i debug the project....Drivers/BSP/STM32746G-Discovery/stm32746g_discovery_sd.c:459:35: error: unknown type name 'SD_HandleTypeDef'; did you mean 'TIM_HandleTypeDef'? can you please help me with this
When I build , Touchgfx file didn't come . Why?
Great Job Karl, y ThankYou so much for this tutorial.
Great video. Any idea why this method wont work with a STM32F429i-disco? I followed the tutorial but the coms leds just light up when I run debugger with no display.
I have the same issue (same board aswell), everything looks like it should work then just a white screen. With run target on the touchgfx software, i got something on the screen. But when the debugger starts the screen turns white and when i resume the debugger it stays that way.
With the latest TouchGFX 4.13.0 with V3 templates you no longer have to follow any special methods. I did a test yesterday of a matter of fact. I generated the code from TouchGFX, imported it into CubeIDE. Now i did work with a 32F769IDISCOVERY too. I can't remember which one of the two, but i had to enable the external loader as it wasn't set in the debug/run configuration.
I am also facing the same issue. onboard LEDs blink but no display on screen. Are you able to solve this issue? if yes kindly help me
thanks a ton.. you save my year
thank you for this tutorial
"The path C:\Users\wew\STM32CubeIDE\workspace_1.5.0\pro7\TouchGFX contains spaces, this can result in erroneous behaviour while compiling"
when i follow this video,after generated code,and clicking "ApplicationTemplate.touchgfx " ,abouve error will come,plz help..
am using cube ide1.50,with touch gfx 4.13
My TouchDesigner (4.13.0) does not generate a Components folder..
Great set of videos you are cranking out! I have been trying to do this for the STM32F469 board with no luck. Do you have any exerience with this board?
Sorry, no I don't have that board.
@@EEbyKarl If i sent you a free board would you be willing to give it a try?
@@eddyv524 What issue are you having?
@@EEbyKarl The issue is around accessing the QSPI memory. It works fine when eveything is stored in internal flash. It seems that writing to QSPI works fine. But it crashes during run time.
@@eddyv524 email me the project if you can. Maybe i can spot something. karlyamashita[at]gmail.com
@EE by Karl. hi! anybody know, how i can rotate display on 180deg?
Thanks a lot Sir... Just a question.. why do we need to add the external loader in the debugger section? Thanks a lot
So that it knows how to write the image files to the external memory based on type and size.
already subscriber u, your video is amazing.
Great video. I followed the steps but I'm having problems with CubeIDE 1.3.0, TouchGFX 4.13.0 and STM32F429I-DISC1.
TouchGFX doesn't generate the Components folder, I don't know if thats because I'm using a different board. CubeIDE builds whitout errors and warnings, but I get a white screen.
Is it correct if I start a project with TouchGFX and then import it into CubeIDE?
Thanks
I don't have 429I-DISC1, but i do have the 429I-DISC0. With TouchGFX 4.13.0 and CubeIDE 1.3.0, I have been able to generate code, import to CubeIDE and get the screen to show correctly.
I have the same problem, have you found the solution?
Thanks for well explained tutorial.
I would also be happy about a totorial, with update from uart and other tasks with STM32CubeIDE 1.2.1 and TouchGFX 4.13.0
Here is a tutorial that i believe you've asked for czcams.com/video/bCppZf8FKYg/video.html
A tutorial for the STM32H7B3I-DK with CubeIDE 1.3.0, CubeMX 5.6 and TouchGFX 4.13.0 would be fine!
Thanks!
thanks
Configuring any board is not supposed to be an easy task. Why don't you just use the STM32F746G-DISCO application template from the TouchGFX designer? We did all the hard work for you.
I did use your template. Or are you talking about generating from TouchGFX and importing to STM32CubeIDE? If so, that approach doesn't work. I get a white screen.
"Configuring any board is not supposed to be an easy task" . Are you serious??
@@eddyv524 hard to use by design?, i tought it was me what was wrong!!
I tried several times to use the stm32F746 template in touch designer and could not get the generated code to work in STMCubeIDE... was a frustrating process. I am grateful to have found this video! This video helped me understand the hooks that are required blend TouchGFX with STMCubeIDE.
For me, it only worked when I copied also "TouchGFXJAL.hpp and TouchGFXJAL.cpp"
* HAL