bitmaps incorrectly rendered when flash is used >30% (using online demo STM32G071 NUCLEO)
- January 31, 2021
- 11 replies
- 5643 views
Hello ,
Im currently exploring Touch gfx capabilities on low cost hardware (STM32G071 + SPI LCD shield) , and i comme across a bug .
steps to reproduce :
- Start a fresh new project on Touch GFX using online demo , choose STM32G071 demo
- Load a few additional image to project (a series of 40 png issued from a splitted .gif file total size : 150kb
- Connect board
- generate code and flash target
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