Skip to main content
Junde
Senior III
Apr 17, 2024 1:18 AM UTC
Solved

How TouchGFX access the non memory map area?

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!

 

This topic has been closed for replies.
t.deckerBest answer
Senior II
Jun 19, 2024 8:08 AM UTC

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

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.

2 replies

t.deckerBest answer
Senior II
Jun 19, 2024 8:08 AM UTC

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

When this account seems to be inactive, try @tdecker2 - ST can't change mail addresses, so I had to create a new account.
Junde
JundeAuthor
Senior III
Jun 20, 2024 1:17 AM UTC

@t.decker 

Thank you for your infoumation!