This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Emwin fonts in external NAND Flash

Hi

I am using LPC1788 with Emwin graphical library and my configuration is
Emwin graphical library is in Internal Flash
Emwin fonts are downloaded into External Flash from PC and copied to SDRAM on boot up which is on EMC of LPC1788.
my scatter file is configured accordingly

Everything is working fine with above configuration but as i have many fonts in my application and 4 languages the font binary file size is 14MB which is downloaded to the unit and into NAND flash which is on EMC. It takes around 30 minutes to download all the fonts to the NAND with 115200 baud on UART.

My fonts are copied to SDRAM from NAND at boot up. This booting time also is 15-20 secs as data is 14MB
This configuration is working fine and LCD displays my fonts perfectly

I wanted to ask is there any way to directly access fonts in external NAND instead of copying to SDRAM as it will save lot of boot up time. my external NAND is also connected to LPC1788 on EMC

Has anyone used such a configuration - Emwin with fonts in external NAND Flash Memory

Thanks in Advance

Anuj

Parents
  • NAND is a block accessed memory, where blocks of data are requested and sequentially read, and have error-correction data stored with the blocks. You can't just set and access it like NOR flash.

    You could perhaps reduce the start up time by only reading blocks as you need them and caching them in SDRAM. This would require you to manage block lists, and where in the memory you're assorted images are located, if you don't have some form of file system type structure.

Reply
  • NAND is a block accessed memory, where blocks of data are requested and sequentially read, and have error-correction data stored with the blocks. You can't just set and access it like NOR flash.

    You could perhaps reduce the start up time by only reading blocks as you need them and caching them in SDRAM. This would require you to manage block lists, and where in the memory you're assorted images are located, if you don't have some form of file system type structure.

Children