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
If you all grasped how things worked you wouldn't be asking questions about them.
NAND behaves more like a Hard Disk, and is why you can have a device holding 64GB in a 32-bit machine that can address only 4GB. Sometime look very closely at how many address pins are connected to your NAND device, and equivalent NOR device, and ponder how that might interact with a system executing code, or reading bytes of data from arbitrary addresses.
Like I said, if you don't want to pay the upfront cost of reading vast tracts of NAND into SDRAM, you're going to need to do it in a piece-meal fashion, keeping track of what you've read, and where the data you want is situated. So either a direct cache, or lazy reader type strategy.