2020-04-30 12:10 PM
Hello,
I'm using TouchGFX 4.13 on STM32H7
I have problem while using images in L8 format and caching them (section and extra section) from external memory.
When I want to store image in external memory in L8 format then I set both: 'Section' and 'Extra Section' to 'ExtFlashSection' in TouchGFX Designer. During 'Bitmap::cache()' call the overridden 'HAL::blockCopy' method properly copies image bytes (that is the first call to 'blockCopy'). But when second call to 'blockCopy' is made, the caller (which still is 'Bitmap::cache()') just tries to copy always only 4 bytes, thus the colors palette (I suppose it is the palette) is not copied, so image is not displayed properly.
But when I change 'Extra Section' only to 'IntFlashSection' in TGFX Designer then the image is displayed properly.
Is that a bug? Or it is intentional, if so, what is the reason for such implementation?
2020-04-30 12:28 PM
Hi scott,
Thanks for the feedback. I'll get a chance to look into this monday, i think.
2020-05-04 05:32 AM
Thank you Martin. I'm looking forward for some news.
2020-05-31 07:30 PM
Has it been resolved?
I also encountered a similar problem, there is no more detailed description of the resources placed on the external serial flash memory, refer to the official documentation is still not implemented, encountered many problems.