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
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.
Sorry, I have a stupid question. (know too less, want to learn a little more.)
So, the Flash integrated with general MCU is NOR Flash?
I have only some experiences with Winbond SPI Flash, I think I can access any address with a successful SPI communication.
I believe I must misunderstand something here. Where is the key-point I missed? the format of EmWin fonts? or the external memory controller?
View all questions in Keil forum