Ver 1.3
PRELIMINARY
EAGLE
Features
z
z
z
Supports 8-bit NAND Flash Memory
Programmable NAND Flash Memory Access Cycle control logic
Supports Auto boot mode
After a power-on-reset, first 2048 Bytes data in the first NAND Flash memory block is automatically
transferred to the 2-KByte internal memory. Program is executed from the internal memory.
The 2-KByte internal memory may be used as a buffer.
Hardware Error Correcting Code Detecting Block is included. ECC parity bit is computed in hardware
when writing or reading 512 Bytes data to and from NAND Flash memory.
z
z
Date read/write operation
1. Configure NFMCFG register to select bank for data transfer and set timing.
2. Write NAND Flash command to NFMCMD register.
3. Write intended NAND Flash address to NFMADDR register. Perform write operation according to the
necessary address cycles.
4. Read/write operations are performed for the number of data required. Check the Ready/Busyx signal prior to
doing read/write operation.
Data transfer using internal memory
Data transfer can be performed using the 2-KByte internal memory by programming the bits [4:0] of NFMCON
register. For the small type NAND flash memory, only 512-byte transfer is allowed. While 512-byte and 1024-byte
data transfer is possible using the large type NAND flash memory. The NAND Flash controller accesses the
NFMLSM/NFMHSM registers to obtain the starting address of internal memory(SRAM) for data transfer operation.
Upper
1024 Bytes
NAND
Flash
Memory
Lower
1024 Bytes
Figure 3-8 Transmission through Internal Memory of NAND Flash Controller
Data transfer by GDMA
NAND Flash Controller supports DMA transfer using GDMA. This is done by first setting the GDMA controller
registers followed by NAND Flash controller register. When the GDMA enable bit in NFMCON register is set,
GDMA controller executes data transfer with NAND flash memory through the NAND Flash controller. Large type
NAND Flash memory supports up to 2048-byte transfer while small type NAND Flash memory only allows a
maximum of 512-byte transfer.
79
CONFIDENTIAL
Beijing Peak Microtech Co.Ltd.