[DEPRECATED] - TouchGFX (4.13.0) integration with CubeIDE (1.2.1) - Custom Board method

  Рет қаралды 32,273

embryonic.dk

embryonic.dk

Күн бұрын

Пікірлер: 101
@TheJoMoVO
@TheJoMoVO 4 жыл бұрын
Well done example of using X-Cube-TouchGFX with the STM32F7 Disco. For the touch screen functionality, I just used the code for the STM32Touchcontroller.cpp from the second TouchGFX Application that was created as well as the TS_I2C_ADDRESS variable in the .hpp file. I also added the the Components and BSP folders from the Drivers folder to the project and added a C++ Include path the the Components->ft5336 folder. After this, the project built and the touch functionality worked when loaded on the board. Thanks!
@sampoteste
@sampoteste 4 жыл бұрын
Thank you for this video. TGFX4.13 now includes a .ioc file that makes this more straight forward. One can just develop the UI and then open the ioc to enable extra hardware. I would love to see a video showing how to code in the GUI to interface with the hardware (backend). That is the part that is most confusing to many. Thanks again.
@svvelanautica2374
@svvelanautica2374 3 жыл бұрын
Hello, please go on and let all these confusions go away. very helpfull
@dariuszadamczyk7836
@dariuszadamczyk7836 4 жыл бұрын
I have a problem ... in 10:37 you show files generated by TouchGFX. When I create a new project in TocuhGFX, I choose the hardware platform (in my case STM32F469), in the TouchGFXProjects folder I don't have .ioc file, core folder containing main.c etc. What could be the problem? I have TouchGFX 4.13
@banjohat
@banjohat 4 жыл бұрын
the new application template is so far only available for the 746 platform. that could explain the missing files
@STMicroelectronicsTouchGFX
@STMicroelectronicsTouchGFX 4 жыл бұрын
@@banjohat Thanks for sharing this video with everyone. We have currently upgraded the following Application templates to include an CubeMX file for accessing and using TouchGFX Generator: STM32F746, STM32F769, STM32H7B3, STM32H750. We are currently working on adding more.
@JarousovaVidea
@JarousovaVidea 4 жыл бұрын
@@STMicroelectronicsTouchGFX Hi, are you planning to prepare templates also for STM32H745I-DISCO board? This video helps me a lot, but I am still not able to make alive TouchGFX on my board. Thanks.
@STMicroelectronicsTouchGFX
@STMicroelectronicsTouchGFX 4 жыл бұрын
@@JarousovaVidea Hello Trestj, Please write me at touchgfx-info@st.com , Best regards Soren
@banjohat
@banjohat 4 жыл бұрын
@@STMicroelectronicsTouchGFX thanks for the acknowledge :) It means a lot!
@chrislamb4723
@chrislamb4723 4 жыл бұрын
Your tutorials have been a great help. THANK YOU! I had a tough time achieving success on my system with this video. The problem has been isolated. Blindly expecting backward compatibility, I had upgraded to ToughGFX 4.14.0 and STMCubeIDE 1.4.0, this resulted in the same black screen that you mention even after updating USER CODE in main.c from the TouchGFX Applicaiton Template. Looking closer to the TouchGFX Application Template, I found a sublte note in the TouchGFX Application Template Description for the STM32F746G stating "Application Template is only supported from TouchGFX 4.13.0". After reverting to TouchGFX 4.13 and STMCubeIDE 1.3.0 my screen successfully rendered.
@EdwinFairchild
@EdwinFairchild 4 жыл бұрын
where on earth do you find v4.14 if on st website it on has v4.13
@danielweber8961
@danielweber8961 4 жыл бұрын
Great video, thanks. However I had to include a Board Support Package in order to get the external RAM to work. The user code macros etc. used here did not show up in the auto-generated code.
@banjohat
@banjohat 4 жыл бұрын
If I understand correctly there is a support pacakge to the devkit? Smart! I didn't know that! It makes sense to have the initialization code somewhere accesible. But when building a custom board I don't think a support package will be of much help.
@danielweber8961
@danielweber8961 4 жыл бұрын
@@banjohat It's basically a neat way of organising stuff. Makes it easier to port code and interchange it in between applications. One way or another you have to write custom drivers at some point. Hopefully not for a too complicated peripheral :)
@banjohat
@banjohat 4 жыл бұрын
Update on the TouchController - Read this post: community.st.com/s/question/0D50X0000C0yG0rSQE/where-did-the-touch-driver-code-go?t=1579889494947
@kabakkab6696
@kabakkab6696 4 жыл бұрын
Great video. I have a similar problem as someone has already mentioned. @10:37 After generating additional TouchGFX project (for STM32F429I-DISCO in my case), I have a slightly different directory structure and the file MyApplication\Project\Core\Src\main.cpp does not contain additional code.
@banjohat
@banjohat 4 жыл бұрын
Unfortunately I don't have access to the 429 board but it would be interesting to look into this!
@kabakkab6696
@kabakkab6696 4 жыл бұрын
@@banjohat As someone advised me, partly the problem was solved by using BSP drivers for 429I-DISCO evalboard. But still it's rather work in progress than a ready solution.
@gomond1
@gomond1 4 жыл бұрын
I am finding the same problem, the latest TouchGFX now creates a ver slim main.cpp and apears to be formatted diferently. I am using a hotmcu SOM-STM32F429IG with a 10 inch display and after a month I have the screen reseting and the backlight coming on. I was so excited when I saw your video as I started to realise that I had to write more code. But they have made tis video already obsolete. I wil have to try and work out from the example code that I have written in Keil 5.15 for stemwin, and see if I can back engineer it. Thanks for your great videos. Cheers greg.
@MunishKumar-gw6kw
@MunishKumar-gw6kw 4 жыл бұрын
Great video, but having audio in left channel only. Drives me crazy when listening on earphones!!
@mohamadnahvi789
@mohamadnahvi789 4 жыл бұрын
The training was complete and practical. Thank you very much
@sidrahkhan7526
@sidrahkhan7526 Жыл бұрын
The touchgfx tab gives me some error of dependencies and asks me to enable CRC IP.
@meghanathreddy3617
@meghanathreddy3617 3 жыл бұрын
Hi, Im using stm32H7B3I-Dk board and trying to interface custom TFT 5" display using SPI protocol. i have created a project from cube MX with default peripherals configuration and I have develop simple UI from Touch GFX. When I try to debug the code Hardfault error is occurring. But when I try dumping the code generated from the Touch GFX the UI run. Can u pls suggest a solution for this
@Woulamaker
@Woulamaker 4 жыл бұрын
Hi, Thanks you for the tutorial. Could you help me to do the same with STM32F429ZI-DISC1. I only get a blak screen even if my framebuffer (starting from 0xD0000000) is filled correctly. Thanks!
@lucasmancini1283
@lucasmancini1283 4 жыл бұрын
I'm having the same problem with the stm32f769I-disco
@Loopyengineeringco
@Loopyengineeringco 4 жыл бұрын
Brilliant video, thank you for such a great explanation. I wish ST/TGFX would do more explainers like this, their integration seems quite messy and very unfriendly to new users. I'm looking forward to more of your videos! Also looking forward to more V3 application templates in tgfx ie: F469 discovery, H747 discovery...
@banjohat
@banjohat 4 жыл бұрын
the process can seem a little convoluted, yes. But keep in mind that the CubeMX is only intended for the HW setup - pins and port directions and basic timing options. If you want a ready-to-go solution you can start a project directly from the TouchGFX designer. yeah - a lot of people are waiting for more application templates!
@paulocabral3123
@paulocabral3123 3 жыл бұрын
Great Video, could give me one help or suggest some place to see any information to use an internal flash to make a simple demo custom project with this platform, i'm trying a lot and nothing.
@EdwinFairchild
@EdwinFairchild 4 жыл бұрын
when I click on TOUCHGFX under additionl software and then click the check box , "graphics application" nothing appears on the user settings it only says "this ip has no settings to be configured" then i generate code and there is no touchgfx file or reference at all to it
@Andreasonline3
@Andreasonline3 3 жыл бұрын
Havnt fulled fixed mine on (on latest version but they've seemed to changed up a few things), the drivers as well are ommitted so i've added those in
@mashed107
@mashed107 4 жыл бұрын
So easy a hardware engineer can do it ;) thank you!
@banjohat
@banjohat 4 жыл бұрын
Hahaha, Indeed - I'm also a hardware engineer :D
@tomasa1234
@tomasa1234 4 жыл бұрын
At the point when I double click .touchgfx.part it opens the GUI software but screen size is set to 800x480 and is greyed out so cannot change it, what's wrong?
@omeranar-youtube
@omeranar-youtube 4 жыл бұрын
how can i change/modify variable's values while code runinng ?
@satyahari65
@satyahari65 4 жыл бұрын
Hai sir, tq for share this video. i am using 32f428i-disco. i have problem in touchgfx generate code. that is Post Generate Target touchgfx update_project --project-file=../touchgfx_with_codemx_test1.ioc --platform=m4 unsupported toolchain: TrueSTUDIO ProjectManager.ToolChainLocation Failed Failed how can i fix it. i am waiting for your Ans.
@saeed6993
@saeed6993 4 жыл бұрын
it might be a little late , but Truestudio is not supported in TouchGFX , use STMCUBEIDE
@hoanganhnguyen2520
@hoanganhnguyen2520 4 жыл бұрын
Hi.. If i replace TFT on STM32F746-Disco by TFT 7inch (TFT have same Pin number), so how can i custom them
@banjohat
@banjohat 4 жыл бұрын
you just change the values in you CubeIDE project
@hoanganhnguyen2520
@hoanganhnguyen2520 4 жыл бұрын
@@banjohat i have change in the CubeIDE, it showed OK, but when i using Touch it seem run not smoothly when slide to the other page..how can i increase frequency sweep
@SKPang
@SKPang 4 жыл бұрын
Great video. Please do a video on the new X-NUCLEO-GX01M1 board.
@hanspeterhaastrup-nielsen8446
@hanspeterhaastrup-nielsen8446 4 жыл бұрын
Sure, if you can get me one :)
@toanquangthieu
@toanquangthieu 4 жыл бұрын
Thank you for the video, could you please share a video on how to integrate the custom touch?
@AlbertoMercurioNikten
@AlbertoMercurioNikten 4 жыл бұрын
Does it work with Nucleo boards? I have the STM32F767NI Nucleo which has LTDC
@spruce1000
@spruce1000 4 жыл бұрын
I got stuck at touch controller cpp file, I watched your previous video for that, but that is via BSP and slight different than TouchGFX design 4.13.0 generates. I was so close. Can you help me? I'm in a hurry building a touch interface for diy ventilator to have a open source plan b for the enormous amount of hospital ventilator shortage caused by COVID-19 worldwide. Thanks in advance.
@SahilAhmadkalka
@SahilAhmadkalka 4 жыл бұрын
I am able to build project for STM32F429 DISCO board, but screen is blank, can you please help!
@banjohat
@banjohat 4 жыл бұрын
There are some bits that need to be changed for that platform that I'm not completely sure of yet. I'll try and make a video when I have the time
@SahilAhmadkalka
@SahilAhmadkalka 4 жыл бұрын
@@banjohat I am able to do it now, tomorrow I'll try to work on touchpanel
@ersahatmaca5531
@ersahatmaca5531 4 жыл бұрын
​@@SahilAhmadkalka Hey, How did you do it? I followed the instruction on video and did it same with STM32F429 project from touchGFX but the screen is still blank. Can you help me, please? I can send my code if necessary.
@SahilAhmadkalka
@SahilAhmadkalka 4 жыл бұрын
@@ersahatmaca5531 I think you skipped something, did you added additional code generated by touchgfx?
@ersahatmaca5531
@ersahatmaca5531 4 жыл бұрын
@@SahilAhmadkalka If you're talking about FMC part yes I added and changed bank1s to bank2 because in my code generated by CubeMX I'm using bank2. But when I debug I can't see anything on 0xC0000000 and 0xD0000000 addresses. So my problem is probably on SDRAM part.
@wonmyungseo4528
@wonmyungseo4528 4 жыл бұрын
Hi, I'm trying to get 32F469 DISCO board. But seems like your video doesn't match to this. Is there any way to get around?
@hanspeterhaastrup-nielsen8446
@hanspeterhaastrup-nielsen8446 4 жыл бұрын
I haven't tried on that board. I've heard quite a few people having trouble but I really can't say what is is..
@wonmyungseo4528
@wonmyungseo4528 4 жыл бұрын
@@hanspeterhaastrup-nielsen8446 Thanks for reply. I guess just find another way around.
@saeed6993
@saeed6993 4 жыл бұрын
There is a HUGEEEE thing that u didnt say , The LTDC interrupts must be turned on , i was stuck for a whole week , thanks for the video though it was very helpful
@e-tarti
@e-tarti 4 жыл бұрын
Thank you so much! It worked for me too. (After CubeIDE 1.3.0 upgrade my board is not worked at all)
@saeed6993
@saeed6993 4 жыл бұрын
hi , is there something wrong with IDE1.3? i am not getting anything in the LCD , i only use 1.3 so i am not sure if other versions work properly , did u fix it ?
@kiansionglau9581
@kiansionglau9581 4 жыл бұрын
sorry, wrong post. ignore below. thanks!
@sylowguy634
@sylowguy634 4 жыл бұрын
Hi, when i open the ApplicationTemplate.touchgfx.part forthe first time , its pop up this message -> The path C:\Users\Name\Desktop\Folder\test_1\TouchGFX contains spaces, this can result in erroneous behaviour while compiling i press OK, and when i want to generate my code its give this error -> Generate Assets make -f simulator/gcc/Makefile assets -j8 simulator/gcc/Makefile:20: *** Spaces not allowed in path. Stop. Failed Failed Can you help me please? i'm newbie on this
@sylowguy634
@sylowguy634 4 жыл бұрын
I´m using STM32 IDE 1.3.0 & TouchGFX 4.13.0 Designer
@upendercharychennoju2749
@upendercharychennoju2749 4 жыл бұрын
Hello Embryonic.dk, Your videos are very helpful. But i am really looking for displaying camera data on LCD via touch gfx. Can you please post a video or any support link. Looking forward for your reply. Thanks, Upender.
@banjohat
@banjohat 4 жыл бұрын
Sorry, don't have any links for projects that use the camera.. My project don't need the camera so I'm not going to explore that much. I hope you find what you're looking for!
@upendercharychennoju2749
@upendercharychennoju2749 4 жыл бұрын
@@banjohat Thank you for the quick response Embryonic, I will look into that, no worries! But thank you for the videos once again.
@Nucoulous
@Nucoulous 4 жыл бұрын
Hello ! Nice vidéo but I still can't manage to make my STM32F769I-eval work. Always this black screen... Do you have some ideas ?
@banjohat
@banjohat 4 жыл бұрын
Have you made absolutely sure that you added the SDRAM config code to your init function?
@Nucoulous
@Nucoulous 4 жыл бұрын
@@banjohat Hi, I made just as you but yeah the problem comes from the ram. When i check the memory there is nothing in :/
@Filipx87page
@Filipx87page 4 жыл бұрын
Hi. Very nice document, but I have F429-DISCO and I haven't run it yet. Unfortunately, driving a TFTs is a difficult discipline and not for everyone. :(
@banjohat
@banjohat 4 жыл бұрын
yeah, it seems quite complicated at first. for the 429 I don't think it has the external RAM (i might be wrong) but the support for that board should be here soon!
@thanhtrungnguyen8667
@thanhtrungnguyen8667 4 жыл бұрын
@@banjohat Hello, il have the same probleme with F429 Discovery :(
@Filipx87page
@Filipx87page 4 жыл бұрын
@@banjohat ​ Board 429 has RAM IS42S16400J.
@javadkhani9741
@javadkhani9741 4 жыл бұрын
Hi. Thanks for your good video. Do you have solution to touch screen problem?
@banjohat
@banjohat 4 жыл бұрын
I got it working - if you see the description I have a link to my solution
@javadkhani9741
@javadkhani9741 4 жыл бұрын
@@banjohat sorry i do not understand your link very well. Do you mean to work with previous versions? I have checked the stm32TouchController.cpp file in the current version. and it is differs from previous versions of TouchGFX. i added a touch driver but its not working.
@banjohat
@banjohat 4 жыл бұрын
@@javadkhani9741 The easiest way is to copy existing code from a template project and insert it into yours. Remember to copy the drivers as well
@javadkhani9741
@javadkhani9741 4 жыл бұрын
@@banjohat Thank you for your reply. I did. But I got an error. Error about file ft5336.h. I've added this file header. But this file is not recognized.
@FinneyDale
@FinneyDale 4 жыл бұрын
Hi, Great channel! Could you make a video on programming the stm32 with ethernet please?
@banjohat
@banjohat 4 жыл бұрын
thanks :) Wow, that is very specific (and very advanced). Well, The theory should be to accept a new image file through packets and then point to a bootloader that can copy the new code over the original. I think. I am currently looking into the USB DFU loader that does its trick somewhere along the lines i described. Running through ethernet should be.... possible ;)
@haralaldb
@haralaldb 4 жыл бұрын
Thank you, it helped me a lot.
@imcnx1563
@imcnx1563 4 жыл бұрын
It’s very cool! But why my screen stay black? 🙄
@banjohat
@banjohat 4 жыл бұрын
There could be a number of causes - make sure you have a non-black background. the QSPI is not configured so make sure all graphical assets can fit into the internal flash. also, did you copy the soft-config of the SDRAM?
@zainulabidin1507
@zainulabidin1507 4 жыл бұрын
Hello Embryonic.dk... First of all Thanks for creating a such a great video... I can see where St are looking to go with this integration of Touchgfx, CubeMX and CubeIDE but at the moment there are quite a few bugs to sort out.. In your video 13:23 you say that cubeMx has no knowledge of the kind of memory chip in the board… Well it did in previous versions and even in this version you choose the board when starting the project so it should figure all this out.. Also when creating the project with Touchgfx as the starting point you get to choose the template for the board and everything is hunky-dory. However that template is not available when you open the touchgfx while creating the custom project like you did..why why why??
@banjohat
@banjohat 4 жыл бұрын
because CubeMX is ambigous.. It took me some time to understand but CubeMX ONLY knows the hardware configuration that you tell it. nothing else. Granted, ST have put some knowledge of 'soft-configuration' into the generator but its basically the same situation as with the QSPI a while ago. CubeMX doesn't know all chips in the world (nor should it). We all agree that when using a board and the box 'use default settings' comes up it only makes for confusion. but the thing is that cubeMX is only for HW config and not the configuration done after the pin setup. we're all just used to that being done for us..
@ndaymungala8607
@ndaymungala8607 4 жыл бұрын
thank you very much
@MicroKris
@MicroKris 4 жыл бұрын
Great video, really helpfull ! :)
@Carlos-nm3ej
@Carlos-nm3ej 3 жыл бұрын
Thank you.
@bryannoh9743
@bryannoh9743 4 жыл бұрын
Thank you!!!~~~
Introduction to TouchGFX 4.15.0 and integration with CubeIDE 1.5.0
18:00
STM32CubeIDE 1.2.1 and TouchGFX 4.13.0 with STM32F746G-DISC0 kit
12:19
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
coco在求救? #小丑 #天使 #shorts
00:29
好人小丑
Рет қаралды 120 МЛН
How to integrate TouchGFX in a custom board (The long way round)
1:28:39
Dynamic Graph Widget - TouchGFX
30:05
TouchGFX, STMicroelectronics
Рет қаралды 7 М.
How to Update the TouchGFX GUI from other tasks
23:27
embryonic.dk
Рет қаралды 14 М.
TouchGFX Custom SPI Display Integration - part. 2
15:56
STMicroelectronics
Рет қаралды 3 М.
Importing TouchGFX 4.16.0 project into STM32CubeIDE 1.6.1
15:26
EE by Karl
Рет қаралды 16 М.
НОВАЯ ШКОЛА ТАБА ЛАПКЕРОВ ДЛЯ МЕДВЕДЯ ВАЛЕРЫ
13:30
Israel Has The Right To Defend Itself | Stand-up Comedy by Daniel Fernandes
15:07
[DEPRECATED] - CubeIDE project from TouchGFX Designer (4.13.0)
8:32