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.
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!
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.
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.
@@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.
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 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 :)
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 ?
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 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.......
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...
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.
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??
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.
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.
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.
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.
Excellent video, thanks. Now I’m going to see if this works with a 769 Disco.
It does!
@@richardstaz721 I was about to write that it does but you beat me to it :D
Thank you for your videos man. One request can you please make a playlist of these videos as in a series?
There should be a playlist somewhere - at least with the first videos.. I'll make a new one with the updated ones soon :)
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!
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.
great job! tell me how, for example, to display values from the ADC on the screen, or how to bind a button to gpio
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.
@@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.
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.
@@dpgregory I just found that you need to rename the .ioc file to the same name as the project name. then it should work
@@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 :)
I hope I know how to use the F429i
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 ?
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...
you need to make sure that the project name and .ioc file name match each other. I fixed this by renaming the .ioc file
@@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.......
Sry, by copying the file inside the CubeIDE folder and rename it. Inside the file i haven't change nothing and something....
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...
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.
You saved my day, man.
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??
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.
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.
If you use the latest application template all these settings should (fingers crossed) include all the right settings
Can you do a video on TouchGfx 4.14 .??
please...
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?
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.
Great job! Thanks:D
Спасибо!