[DEPRECATED] - CubeIDE project from TouchGFX Designer (4.13.0)

Поделиться
HTML-код
  • Опубликовано: 7 янв 2025

Комментарии • 35

  • @emiluklisty2803
    @emiluklisty2803 4 года назад +4

    Thank you for very nice and clear video. I have followed all your steps and I have at least 2 problems. CubeMX file *.ioc cannot be activated from CubeIDE project tree even if I modify file content with my project name and rename file itself. Another problem is that in CubeIDE project tree I cannot see Core directory where user's *.c & *.h files should be placed. This directory can be seen in File Explorer.

  • @richardstaz721
    @richardstaz721 4 года назад +2

    Excellent video, thanks. Now I’m going to see if this works with a 769 Disco.

    • @richardstaz721
      @richardstaz721 4 года назад +1

      It does!

    • @banjohat
      @banjohat  4 года назад +1

      @@richardstaz721 I was about to write that it does but you beat me to it :D

  • @rajeshkumbhakar271
    @rajeshkumbhakar271 3 года назад +1

    Thank you for your videos man. One request can you please make a playlist of these videos as in a series?

    • @banjohat
      @banjohat  3 года назад

      There should be a playlist somewhere - at least with the first videos.. I'll make a new one with the updated ones soon :)

  • @brettsawyers1968
    @brettsawyers1968 4 года назад

    I'm not sure if anyone else had this issue, but the .project produced by touchGFX didn't end the XML name () at the very top of the file! So, stm32cube thought that the builders were actually the project name and never added the standard eclipse builders. Hope this helps someone out there!

  • @paulopecegueiro1694
    @paulopecegueiro1694 4 года назад

    I really would like to see a video setting the TouchGFX to a more simple stm32 li the f103 series and the ILI9341 for exemplo. Not all applications can have a 7 USD Microcontroller and a 10 USD display. A lot of people is looking for that, a replacement for NEXTION or any other serial HMI solution.

  • @aleksandrkozlov9286
    @aleksandrkozlov9286 4 года назад +4

    great job! tell me how, for example, to display values ​​from the ADC on the screen, or how to bind a button to gpio

    • @banjohat
      @banjohat  4 года назад +1

      Thanks! I would suggest that you have a look on some of me previous videos on exactly that subject. for example this one: ruclips.net/video/SYdyJBehcYY/видео.html
      on how to update other tasks from the GUI.
      While it's possible to do it other ways I would recommend that you separate the GUI from all other tasks and use the RTOS to forward messages to other parts of the system.

    • @dpgregory
      @dpgregory 4 года назад

      ​@@banjohat This video was very useful, as its the first time I've managed to get something to build from CubeIDE and not have a black screen! However, looking at your previous videos, you have TouchGFX folder in CubeIDE, but because the project was imported from the STM32CubeIDE folder in this video, this folder is outside of CubeIDE. I've tried opening the root folder, but that doesn't seem to work. I've also tried opening both projects, but that is not allowed as they are the same name. I started to edit the model.cpp etc in another VS Code, but obviously then I don't get all the auto completion. Any advice on how to be able to edit the TouchGFX files within CudeIDE would be great.

    • @dpgregory
      @dpgregory 4 года назад

      Also, how do you edit the ioc file? If I try to open the one like in the project in the video I get:
      Invalid Input: Must be project's active .ioc file.
      Project's '' active one is 'projectname>.ioc' file
      I tried opening the one in the route, which does open, but then is of course not linked to the one in this folder so does not update it with any changed to this file.

    • @banjohat
      @banjohat  4 года назад

      @@dpgregory I just found that you need to rename the .ioc file to the same name as the project name. then it should work

    • @AGENTAtechie
      @AGENTAtechie 4 года назад +1

      @@banjohat Tried renaming the .ioc file but still could not open it. I had to manually change the filename also inside the .project file which was still referencing the STM32F746G_DISCO.ioc. Then I could open it :)

  • @fadial-baghdadi6157
    @fadial-baghdadi6157 4 года назад +1

    I hope I know how to use the F429i

  • @tommax2127
    @tommax2127 4 года назад

    Keil has Debug and Load button. I do not see Load button here. If you remove the USB cable is the program still running inside the board? Is there other way to load the program to the board ? Are those actually fully factional applications to write programs and load ? or just a demo to show the boards ?

  • @lucafilippini1348
    @lucafilippini1348 4 года назад +1

    Hello, how i can define port pins functions ... ? The CubeMX way is fantastic....
    I can't open the device configuration perspective ( CubeMX ) and if i double click the .ioc file i get:
    Invalid Input: Must be project's active .ioc file.
    AND
    Project's 'Termostato_1' active one is 'Termostato_1.ioc' file.
    I'ts my mistake or i need to do something to open the perspective ? Thanks...

    • @banjohat
      @banjohat  4 года назад

      you need to make sure that the project name and .ioc file name match each other. I fixed this by renaming the .ioc file

    • @lucafilippini1348
      @lucafilippini1348 4 года назад

      @@banjohat True :) but if change pheripheral configuration ( i need USART 6 ) the project does not compile anymore... I'm trying to find differences in the files.......

    • @lucafilippini1348
      @lucafilippini1348 4 года назад

      Sry, by copying the file inside the CubeIDE folder and rename it. Inside the file i haven't change nothing and something....

    • @lucafilippini1348
      @lucafilippini1348 4 года назад

      I think.. inside de project configuration file change:

      Termostato.ioc
      1
      $%7BPARENT-1-PROJECT_LOC%7D/Termostato.ioc
      than rename the .ioc file in the original folder, without copy it... Seem to work.... Thanks...

  • @sampoteste
    @sampoteste 4 года назад

    Thank you for posting this and all the hard work in creating this method. The only problem that I see is that by changing the project name in the project file, it makes opening the .ioc cubemx project impossible since the .ioc file still references the original file. Can you post a way to overcome this? I suspect it is easy enough just keeping the original filename but unsure as to what that will do to the TGFX relationship with the project.

  • @WhyAndWhatIf-Questions
    @WhyAndWhatIf-Questions 3 года назад

    You saved my day, man.

  • @sra5008
    @sra5008 4 года назад

    Thank you for the informative video sir. I have a question. The after doing everything as mentioned in the video, the application is working fine in the LCD but I am not able to open the .ioc file for configuration of peripherals like enabling of USART. Its giving following error - "Invalid Input: Must be project's active .ioc file." "Project's XXXXXXXX active one is xxxxxx.ioc file. Can you tell how to fix this??

    • @banjohat
      @banjohat  4 года назад +1

      Generating a project in the designer will cause some trouble when you have multiple projects generated. They seems to point to the same .IOC file but the IDE can see that they don't belong in the same project and thus throws this error. It should be fixable by changing the project name inside the project file itself. I can't remember the exact solution to this but I have seen the error some time ago.

  • @JosefKopal
    @JosefKopal 4 года назад

    Hi, I have modifies the .ld file to allocate images and text into the QuadSPI memory. How ever it seems that compilation is ignoring this change and fails to compile due to the fitting all in flash. do I need to do something else to propagate this change ? Thanks a lot for your answer.

    • @banjohat
      @banjohat  4 года назад

      If you use the latest application template all these settings should (fingers crossed) include all the right settings

  • @ajaymathews7174
    @ajaymathews7174 4 года назад

    Can you do a video on TouchGfx 4.14 .??
    please...

  • @ismailsapmaz381
    @ismailsapmaz381 4 года назад

    It is great ..thak you very much sir. I have a question . Can I type in C language ( not C++) in STMCube IDE which I linked with Touchgfx?

    • @banjohat
      @banjohat  4 года назад

      Yes. The tGFX is in c++ but you can work with C just fine. Also the main file i a .c file. If you're ind doubt just look at the filenames to see what kind of language you can use.

  •  4 года назад

    Great job! Thanks:D

  • @АндрейИ-ф3л
    @АндрейИ-ф3л 4 года назад

    Спасибо!