cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX and CubeIDE... External Memory Issue

JLojo
Associate III

On a STM32U5G9J-DK2 kit, once a project, created within TouchGFX, is imported to CubeIDE bitmap images are lost when placed in the external flash memory.

TouchGFX version is 4.23.0, CubeIDE is 1.14.1 and everything is installed on a Windows 10 machine.

Right after the project is created under TouchGFX, it loads correctly to the kit and all images are there.

As soon as it is imported to CubeIDE, regenerated and compiled, it loads to the  kit, everything works perfectly... except bitmap images loaded to the external flash (shapes and other graphics loads perfectly though). Images do not show up, and instead there are parts of the previous display at the place of the bitmap. If bitmaps are set to be stored on internal flash in TouchGFX and the project recompiled under CubeIDE, then all images come again on screen.

I thus double (actually much more than double) checked everything I could suspect: external flash loader, flash.ld files... but did not see any differences between the files generated at first loading from TouchGFX and the ones generated under CubeIDE.

I may be missing something obvious, but  no way to figure out what!!!

Any guidance?

jylo

Thanks

 

10 REPLIES 10

Hello @JLojo ,

We are considering changing the project's name when opening it in STM32CubeIDE for future releases but this is not that simple because we only control the release of TouchGFX, not STM32CubeIDE.
Hopefully we will find a fix soon.

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)