2021-01-31 10:48 AM
Hello ,
Im currently exploring Touch gfx capabilities on low cost hardware (STM32G071 + SPI LCD shield) , and i comme across a bug .
steps to reproduce :
Results : some images of GUI gets missed up ( black lines ) like : navigation arrow , touch gfx logo and some texts disappear .
I suppose this is due to low ram available , can you please explain ow touchgfx is allocating cache for bitmaps in demo project? since the board has a NOR non mapped flash chip for assets storage does it mean that all assets are being cached on startup ? if yes why touchgfx still call for SPI data reader each time i switch screen ?
Sorry for long post but i'm quit confused : / , many thanks in advance
Ps : please find attached te additional images i'm using
Ps2: The additional images are just loaded into project but never used or referenced , so i find it quit awkward that they are being loaded into cache since there is no call for them
Solved! Go to Solution.
2021-02-03 06:28 AM
Hi,
I just checked the source code of the external loader and you are fully right, it contained 64 sectors instead of 128 in the description.
This was not noticed since the demo had enough room for its assets.
Please find attached a corrected version of the external loader, just unzip it in the following folder :
c:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoader\
(adapt to your CubeProgrammer installation folder)
or, if you are using CubeIDE :
c:\ST\STM32CubeIDE_1.5.0\STM32CubeIDE\plugins\com.st.stm32cube.ide.mcu.externaltools.cubeprogrammer.win32_1.5.0.202011040924\tools\bin\ExternalLoader\
then close and re-open CubeProgrammer.
Sorry for the inconvenience,
Best regards,
Nicolas SANTINI
STMicroelectronics
T.O.M.A.S. - Technically Oriented Microcontroller Application Services
2021-02-03 07:42 AM
Hello Nicolas and thanks for joining in ,
I just tried out with this updated external flash loader and it's working like a charm :) , hopefully the online demo application gets updated and i think this post might be helpful for others ^^.
I'll mark this post as answered .
Best regards
Aniss