2019-05-21 12:53 AM
Hi everyone,
I've removed the previous, textual guide. Instead, here's a video guide on how to get CubeIDE and TouchGFX working on an STM32F746G-DISCO board. I accidentally exported the video in 720p but have created a 1080p version. Leaving both links here because the 720p version may have useful comments and resolutions:
1080p: https://youtu.be/VOs2LYO7wSA
720p: https://youtu.be/xZ0pPhQCQUY
And here's the project i created and modified:
(NOTE: This project does not have the modifications from our STM32F746G-DISCO/CubeMX article).
Best regards,
Martin
2019-07-25 07:48 AM
Forget it.
As described in in Configuring STM32F746G-DISCOVERY:
"It is recommended that the "Execute" action is only performed once during project creation ..."
I tried to open the .touchgfx file directly with the TouchGFX Desiner, made changes and then compiled into STM32CubeIDE. All project settings are unchanged.
Everything works.
Great!!
2019-08-05 05:56 AM
Hi @Community member,
Back from vacation. Glad you solved it. The user experience could be improved and we're working on making that happen, slowly :)
2019-08-22 01:45 AM
Hi @Martin KJELDSEN ,
I was trying to follow the tutorial with the STM32F469 discovery kit. Everything worked fine until the point, where the display (without touch) should work after flashing the target. It deleted the touchGFX project that was on it before, the LEDs turned on, but the display went black.
I took a look at the default device configurations of the discovery kit (in STM32CubeIDE) and it looks like the display size does not match the actual display in the original kit. The size should be 800x480, but is configured as 480x272 and won't let me change it.
Build and debug is ok, it doesn't give me any errors. Do you know anything about this/what the problem might be? I somehow hope that it has something to do with the default device configurations, so the display is not activated correctly but then again I would not know what to do about that either.
Kind regards,
Gerda
2019-08-22 06:45 AM
I recently went through the same process for the STM32F769-Discovery kit and had a similar result. No compile errors and when debugging to the kit, the screen was black. I have not been able to get it to work, but I was able to change the size. I could edit the X and Y sizes in CubeMX's Middleware > Graphics > Configuration TouchGFX section. Are you trying to edit the size in the TouchGFX section or the "Parameter Settings" section?
In my case I could edit the sizes in the TouchGFX section but not the "Parameter Settings" section which showed a size of 200x480:
But like I said, I still couldn't get anything on the Discovery kit's screen (it does work if I create a project in TouchGFX and use it's "Run Target" button).
2019-08-22 10:13 PM
Yes, I had tried this before, exactly the same here. I guess we're stuck at the same point.
2019-08-22 11:33 PM
Hi @Martin KJELDSEN
Thanks for your video! I'm trying to follow these same steps on a STM32F7508-DK board. I'm facing some issues to load the board with my code... Since the STM32F7508 MCU has an 64KB internal FLASH, application needs to fun from QSPI FLASH. I know Ihave to adjust the STM32F750N8HX_FLASH.ld file to set external FLASH address. In the F7508 board configuring tutorial it states how to do that for EWARM but not for Cube IDE.
Could you please give some help? I've tried to run a CUBE F7 repository project and it builds but does not run o the board, even if using Cube Programmer and the bootloader on internal flash...
Thanks a lot!
2019-08-22 11:45 PM
2019-08-23 05:52 AM
You say it won't let you change the dimensions. Can you show me a screenshot?
Thanks.
/Martin
2019-08-23 05:57 AM
It actually is exactly the same that scottSD posted. I can change it in the TouchGFX section, but not in the Parameter Settings when configuring the graphics. But in the end it doesn't change anything when debugging - the display stays black.
2019-08-23 06:03 AM
The TouchGFX moduie inherits some settings from the LTDC, display size, for instance.