cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with caching extra section of images in L8 format stored in external memory.

scott.sp
Associate II

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?

3 REPLIES 3
Martin KJELDSEN
Chief III

Hi scott,

Thanks for the feedback. I'll get a chance to look into this monday, i think.

scott.sp
Associate II

Thank you Martin. I'm looking forward for some news.

skullboyer
Associate II

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.