STM32CubeIDE 1.2.1 and TouchGFX 4.13.0 with STM32F746G-DISC0 kit

Sdílet
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

Komentáře • 68

  • @jackwalton8257
    @jackwalton8257 Před 4 lety +23

    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.

    • @ayaankian2329
      @ayaankian2329 Před 3 lety

      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

  • @bugragunes1216
    @bugragunes1216 Před 3 lety +2

    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.

  • @solomonsergey7862
    @solomonsergey7862 Před 4 lety

    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.

  • @jorgenscott1390
    @jorgenscott1390 Před 4 lety +1

    I was really struggeling migrating TouchGfx (4.13.0) with STM32CubeIDE (1.3.0). This really helped! Thanks!

  • @vic0703
    @vic0703 Před 4 lety +1

    Thank you, very very much, Man !! I spend a lot of days trying to do this !

  • @mychromebook9935
    @mychromebook9935 Před 3 lety +1

    thank you , it's hard to find a good tutorial on touchGFX

  • @drdistorzion
    @drdistorzion Před 3 lety +1

    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!

    • @EEbyKarl
      @EEbyKarl  Před 3 lety +1

      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.

    • @drdistorzion
      @drdistorzion Před 3 lety +1

      @@EEbyKarl yea I didn’t get very far with the latest version. Thanks!

    • @onsLakhal
      @onsLakhal Před 2 měsíci

      @@EEbyKarl what about 4.23.1 and 1.14.1 for ide :/

  • @zainulabidin1507
    @zainulabidin1507 Před 4 lety +1

    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...

    • @EEbyKarl
      @EEbyKarl  Před 4 lety +4

      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.

    • @ollinteco
      @ollinteco Před 4 lety

      @@EEbyKarl it´s so confusing to use the st tools, thank's for sharing your expertise

  • @chrislamb4723
    @chrislamb4723 Před 4 lety +1

    This has been a great help! Thank you!

  • @jhengineering3578
    @jhengineering3578 Před 3 lety

    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!

  • @LiveEnjoyment
    @LiveEnjoyment Před 4 lety

    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!)

  • @EfieldHfield_377
    @EfieldHfield_377 Před 3 lety

    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.

  • @neeltrivedi1160
    @neeltrivedi1160 Před 4 lety

    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.

  • @WHAJONNALAGADDAHEMASREE
    @WHAJONNALAGADDAHEMASREE Před 2 měsíci

    can this be used for STM32H747I - DISCO as well?

  • @hoanganhnguyen2520
    @hoanganhnguyen2520 Před 4 lety

    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?

  • @jorgejacome4269
    @jorgejacome4269 Před 3 lety

    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

    • @EEbyKarl
      @EEbyKarl  Před 3 lety

      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.

    • @jorgejacome4269
      @jorgejacome4269 Před 3 lety

      @@EEbyKarl Thanks for your reply and explanation.
      Now I need to go back to school and continue my learning on C ++ 😊😊

  • @richardstaz721
    @richardstaz721 Před 4 lety +1

    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.

    • @EEbyKarl
      @EEbyKarl  Před 4 lety

      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.

  • @amalbabu9361
    @amalbabu9361 Před rokem +1

    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

  • @NickAymaz
    @NickAymaz Před 3 lety

    When I build , Touchgfx file didn't come . Why?

  • @robertocasadeirossi5334

    Great Job Karl, y ThankYou so much for this tutorial.

  • @teambacon
    @teambacon Před 4 lety +1

    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.

    • @DIY-rf8qm
      @DIY-rf8qm Před 4 lety

      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.

    • @EEbyKarl
      @EEbyKarl  Před 4 lety +2

      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.

    • @MuhammadUsman-oy5cp
      @MuhammadUsman-oy5cp Před 4 lety

      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

  • @praveshsahu8426
    @praveshsahu8426 Před 3 lety

    thanks a ton.. you save my year

  • @ahmetturan618
    @ahmetturan618 Před 4 lety +1

    thank you for this tutorial

  • @akki8941
    @akki8941 Před 3 lety

    "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

  • @TfT05
    @TfT05 Před 4 lety

    My TouchDesigner (4.13.0) does not generate a Components folder..

  • @eddyv524
    @eddyv524 Před 4 lety +1

    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?

    • @EEbyKarl
      @EEbyKarl  Před 4 lety

      Sorry, no I don't have that board.

    • @eddyv524
      @eddyv524 Před 4 lety

      @@EEbyKarl If i sent you a free board would you be willing to give it a try?

    • @EEbyKarl
      @EEbyKarl  Před 4 lety

      @@eddyv524 What issue are you having?

    • @eddyv524
      @eddyv524 Před 4 lety

      @@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.

    • @EEbyKarl
      @EEbyKarl  Před 4 lety

      @@eddyv524 email me the project if you can. Maybe i can spot something. karlyamashita[at]gmail.com

  • @user-fo6wk5cv7n
    @user-fo6wk5cv7n Před 4 lety +1

    @EE by Karl. hi! anybody know, how i can rotate display on 180deg?

  • @simonegasparella3156
    @simonegasparella3156 Před 3 lety

    Thanks a lot Sir... Just a question.. why do we need to add the external loader in the debugger section? Thanks a lot

    • @KarlYamashita
      @KarlYamashita Před 3 lety

      So that it knows how to write the image files to the external memory based on type and size.

  • @kiansionglau9581
    @kiansionglau9581 Před 4 lety +1

    already subscriber u, your video is amazing.

  • @fabrizionovello
    @fabrizionovello Před 4 lety

    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

    • @EEbyKarl
      @EEbyKarl  Před 4 lety

      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.

    • @floalbaux8706
      @floalbaux8706 Před 3 lety

      I have the same problem, have you found the solution?

  • @mehmetinci1510
    @mehmetinci1510 Před 4 lety

    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

    • @EEbyKarl
      @EEbyKarl  Před 4 lety +1

      Here is a tutorial that i believe you've asked for czcams.com/video/bCppZf8FKYg/video.html

  • @volkerroters-weling6841

    A tutorial for the STM32H7B3I-DK with CubeIDE 1.3.0, CubeMX 5.6 and TouchGFX 4.13.0 would be fine!

  • @84leszko
    @84leszko Před 4 lety

    Thanks!

  • @powerproton9139
    @powerproton9139 Před 4 lety

    thanks

  • @zrrbite
    @zrrbite Před 4 lety

    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.

    • @EEbyKarl
      @EEbyKarl  Před 4 lety

      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.

    • @eddyv524
      @eddyv524 Před 4 lety +2

      "Configuring any board is not supposed to be an easy task" . Are you serious??

    • @ollinteco
      @ollinteco Před 4 lety

      @@eddyv524 hard to use by design?, i tought it was me what was wrong!!

    • @chrislamb4723
      @chrislamb4723 Před 4 lety

      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.

  • @yahyaaouledamer1466
    @yahyaaouledamer1466 Před 2 lety

    For me, it only worked when I copied also "TouchGFXJAL.hpp and TouchGFXJAL.cpp"