2019-05-27 04:06 AM
Hello everyone,
Due to an increasing number of people having issues with CubeIDE and TouchGFX Integration i'm attaching a working project for STM32F746G-DISCO for your inspection - There were a good number of things to do before it worked, only some of which i highlighted in my quick-guide and even some of those steps were a bit ambiguous and could be executed in different ways.
I've written down what i've done to get this project working and i will use this in planning a video tutorial - It has to be somewhat official, so i can't simply start up the screencast and start talking. But i'll keep you updated.
/Martin
2019-09-22 03:35 AM
2019-09-23 01:36 PM
Hi,
I'll check it out as soon as possible.
/Martin
2019-09-24 10:48 AM
Sir,
Thanks for the consideration.
I got it correct and compiled successfully , I missed enabling some interrupts as in your example.
2019-10-09 04:20 PM
Hi Martin,
I've taken your f746g-disco-test example above, an loaded it into CubeIDE 1.02.
If I only do a build, it works fine.
I click on the .ioc file and it prompts me to "Migrate or Cancel Project". I migrate and CubeMX opens.
I select Graphics > TouchGFx and Execute.
TouchGFx opens.
I do no edits. I click Run Simulator- I get "Unable to Launch Simulator".
I click "Generate Code" - I get "Error during code generation".
Errors :
make -f simulator/gcc/Makefile assets -j10
touchgfx update_project --project-file=../.cproject
Post Generate Error
no <projectDescription> node in ../.cproject
What does this mean ? The Update process is presumably screwing up something ?
2019-10-09 04:34 PM
I fixed it. Your mention of Post Generate above gave me a clue. Thanks!
The migration changes this line in GFX Project file.
I just deleted it.
151: "PostGenerateCommand": "touchgfx update_project --project-file=../.cproject ",
2019-10-09 11:43 PM
Yep that's one way of doing it. Or, you can download this patch gem which will be able to understand cubeide projects (this was not supported by 4.10.0 originally.
Try installing this from the 4.10.0 touchgfx environment and your post generate command should work.
/Martin
2019-10-10 12:03 PM
Hi Martin,
how do I install this ?
2019-10-11 04:06 AM
Hi @RRoon
gem install touchgfx-cli-4.10.2.gem
Just do it from your TouchGFX environment.
/Martin
2019-11-08 04:38 PM
Me too:smirking_face:
2019-11-21 01:41 AM
I like this idea because there are many information and video available about this integration but there is a lot of confusion.
I have a STM32F749G and using your app I have the same problem of my app.
Until here with F6 all ok
/* Configure the system clock */
SystemClock_Config();
after start an infinite loop on this function
void TIM6_DAC_IRQHandler(void)
{
/* USER CODE BEGIN TIM6_DAC_IRQn 0 */
/* USER CODE END TIM6_DAC_IRQn 0 */
HAL_TIM_IRQHandler(&htim6);
/* USER CODE BEGIN TIM6_DAC_IRQn 1 */
/* USER CODE END TIM6_DAC_IRQn 1 */
}