Skip to main content
DDi S.1
Associate III
February 12, 2023
Solved

Images on external flash (QUADSPI) mapped in memory and on SDCARD (simultaneously). It's possible?

  • February 12, 2023
  • 1 reply
  • 1500 views

Hello everyone.

I have a custom board based on micro STM32F469NIH6

I am using TouchGfx successfully and have all my images stored in a memory mapped 64MB QUADSPI.

I would like to give the user the possibility to change some images (for example a logo) and I would like to store these images in an SDCARD.

It's possible to do it?

That is, is it possible to have the QUADSPI as ExtFlashSection and at the same time have only a few images on the SDCARD?

For speed reasons I already use the bitmap cache.

How can I load the bitmap stored in SDCARD, in my cache and in what format should the bitmap stored in SDCARD be?

Thanks in advance to all who will help me.

This topic has been closed for replies.
Best answer by DDi S.1

After a few days of frustration, I fixed it by using dynamic bitmaps which are loaded from the SD card.

Unfortunately, even if there is an example of how to load a bitmap from a file in the documentation, it contains errors and must also be adapted to FATFS

1 reply

DDi S.1
DDi S.1AuthorBest answer
Associate III
February 14, 2023

After a few days of frustration, I fixed it by using dynamic bitmaps which are loaded from the SD card.

Unfortunately, even if there is an example of how to load a bitmap from a file in the documentation, it contains errors and must also be adapted to FATFS

Romain DIELEMAN
ST Employee
February 15, 2023

Hi,

Great to hear you were able to make it work. To help us improve the documetnation and help other users who will face similar struggles in the future, what error are you referring to in the article? Could you also explain how you adapted it to FATFS ?

/Romain