For many applications like POS, communications devices, consumer electronics products or OS based systems, NAND flash is needed for code, mass data storage and lower the cost of material of bill. The LPC2200 family microcontrollers provides an External Memory Controller (EMC) module, which can be easily interfaced between the system bus and external (off-chip) memory. However the on-chip flash controller is a NOR flash controller. To connect to NAND flash, extra control signals are required.
In this application, we will demonstrate how to connect a small page NAND flash to an LPC2200 microcontroller. Section 2 will describe the Hardware Design; Section 3 will describe the firmware driver and the assembler ECC code.