2020-01-08 12:14 AM
Goodmorning everyone!
With the release of CubeMX 5.5.0 we've removed TouchGFX from the Middleware section of CubeMX and are now offering TouchGFX configuration through an X-CUBE.
The X-CUBE pack contains the following:
CubeMX is a tool for configuring your MCU.
CubeMX is not a tool for completely configuring peripherals like touch controllers and external memories.
TouchGFX Generator (new since 4,13) is a CubeMX extension that can generate all or parts of your TouchGFX HAL Layer based partially on settings taken from your MCU configuration in CubeMX.
TouchGFX Generator (new since 4,13) is not a tool that provides complete configurations for touch controllers, external memories, etc. It only generates the TouchGFX HAL - Rendering strategies, acceleration strategies, etc.
TouchGFX Designer is a tool that can supply you with application templates for existing stm32 display kits. We are working on getting all of them updated to use the new Generator.
Please read the following guides for instructions on how to install the new TouchGFX X-CUBE and how to use the TouchGFX Generator to develop your TouchGFX HAL:
From now on it is the X-CUBE that receives a version bump, bumping the version of both tools contained within.
A few application templates already support the new TouchGFX Generator (and thus CubeMX 5.5.0), with lots more to come. One of our main priorities is to get the rest of the application templates ported to use the TouchGFX Generator,
Generally, any application template that supports the Generator/CubeMX 5.5.0 will be major version 3.
Let me know here if you have any questions or face any issues! We're eager to see how this works for everyone.
Now that we are officially live with X-CUBE-TOUCHGFX we'll continue working on improving documentation, offering support and updating the current application templates you can find through the designer.
Aside from that i'll do my best to catch up on this community, something i've had to neglect a bit because of the new Generator.
Best regards,
TouchGFX Generator Team
2020-01-21 03:51 AM
Okay, thanks ;)
2020-01-21 03:55 AM
Hi,
First glance It looks like you haven't pressed "Generate code" from the touchgfx designer. I need to know more about which process you went through to get these errors.
2020-01-21 08:44 AM
Hi,
I use the .ioc file in STM32F746-DISCO v.3.0.0 project, import it to CUBE IDE and used the option to create a project form ioc file. But even i compiled and run in in stm32f746 board, nothing happens. Any reason for this, or whats the fix. My end goal is to make it compatible with a display of 800x480.
2020-01-21 01:44 PM
So i tried another approach to getting a working project going. Before when generating code in TouchGFX it only did it for EWARM. But now i see it generates for STM32CubeIDE and Keil. So i used your V3 template for the STM32F746G-DISC0 kit but still no success in getting a gui to show on the LCD. All i get now is a white screen. In the attached video you can see the QUADSPI section has no code, so no resources are being generated when compiled.
2020-01-21 01:49 PM
Just to give everyone an update on Eyals issue here which we solved offline.
CubeMX in 32-bit mode (and/or a 32-bit java version) will cause CubeMX project generation to silently fail (aside from some project generation errors in the log) for CubeIDE projects.
So, make sure you have 64-bit versions all around (CubeMX and Java) and you should be fine.
/Martin
2020-01-21 01:58 PM
I'll check it out tomorrow.
2020-01-21 01:59 PM
Can you elaborate on "nothing happens" ? :)
2020-01-22 01:57 AM
@Martin KJELDSEN Yes you are right as always :).... I generated a new project and after configuring Touchgfx within CubeMx I opened the Touchgfx Designer and made sure I click "Generate Code" after configuring my GUI. Everything compiles fine now. Just another quick one.
Do I have to add "BSP" myself into the project distributed via "en.x-cube-touchgfx" if I wish to use them or is there a way of adding/configuring them via CubeMx workflow?
Kind Regards
2020-01-22 03:57 AM
Generally, yes. E.g. SDRAM CAS Latency and QSPI Memory mapped mode is not something CubeMX can help you with. For CubeMX' part, this is done in user code sections called somewhere in your main method (main.cpp)
/Martin
2020-01-22 04:09 AM
The V3 template may not be available yet for your board - we're working harrrrrrrd to get everything done asap :)
Black screen/white screen - Is your framebuffer memory set up right? CubeMX can't help you configure timings of your external ram. Did you do any debugging? What's the application doing? Can you break in setupScreen() of one of your views?
/Martin