cancel
Showing results for 
Search instead for 
Did you mean: 

Read languages ​​from unmapped SPI flash memory

cb.7
Associate III

Hello,

I am creating a low cost application with 320x240 LCD and ILI9341 controller.

I store all language strings in the unmapped SPI external flash memory by loading the .bin files of each language.

Unfortunately I can't see anything on the screen, I state that the fonts and bitmaps are loaded correctly in the external memory.

If I try to load all the languages ​​into the internal flash memory everything works fine.

Here is a piece of my code:

0693W00000BadreQAB.png

1 REPLY 1

Might help to validate the content via a checksum as you memcpy() into a RAM side buffer.

Are you sure there isn't some out-of-band linkage to other content/structures in the 0x90000000 address space.

Any Hard Fault?

Where is the RAM buffer situated? As a global?

Does the internal flash method work if copied via RAM? Same checksum?

I do seem to be seeing many complaints about TouchGFX behaving differently and broken when pulling or using resources from external flash. I'd really like to see more information, and warnings, and perhaps some integrity checking so we can move beyond the "not working" level of problem diagnosis..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..