Skip to main content
Junde
Senior III
April 17, 2024
Solved

How TouchGFX access the non memory map area?

  • April 17, 2024
  • 1 reply
  • 1209 views

Hi there,

I have a GUI demo of TouchGFX on my STM32F429BI board, and it works well when the image is stored in the inner flash.

But when I stored the image external Nand-flash by FMC, it could NOT work.

It's said that the Nand-flash extended by FMC can't be accessed by memory map mode so that I can get the image data by the API HAL_NAND_Read_Page_8b(), yes?

But how to modify the TouchGFX to get the image data by HAL_NAND_Read_Page_8b()?

Thank you!

 

Best answer by t.decker

Have a look at the

bool TouchGFXHAL::blockCopy(void* RESTRICT dest, const void* RESTRICT src, uint32_t numBytes)

function described here in detail: https://support.touchgfx.com/docs/development/scenarios/using-non-memory-mapped-flash

1 reply

t.deckerBest answer
Senior II
June 19, 2024

Have a look at the

bool TouchGFXHAL::blockCopy(void* RESTRICT dest, const void* RESTRICT src, uint32_t numBytes)

function described here in detail: https://support.touchgfx.com/docs/development/scenarios/using-non-memory-mapped-flash

Junde
JundeAuthor
Senior III
June 20, 2024

@t.decker 

Thank you for your infoumation!