27. NAND Flash Memory Controller (FLCTL)
Rev.1.00 Jan. 10, 2008 Page 1337 of 1658
REJ09B0261-0100
Section 27 NAND Flash Memory Controller (FLCTL)
The NAND flash memory controller (FLCTL) provides interfaces with an external NAND-type
flash memory.

27.1 Features

(1) NAND-Type Flash Memory Interface
Interface that can be connected to NAND-type flash memory
Read or write in sector* units (512 + 16 bytes)
Read or write in byte units
Note: * In the data sheet of NAND-type flash memory, an access unit of some products is
defined to be 2048 + 64 bytes as a page. In this document, a sector always refers to the
access unit of 512 + 16 bytes.
(2) Access Modes
The FLCTL has two selectable access modes.
Command access mode:
Performs an access by specifying a command to be issued from the FLCTL to flash memory,
address, and data size to be input or output.
Sector access mode:
Read or write in physical sector units by specifying a physical sector. By specifying the
number of sectors, the continuous physical sectors can be read from or written to.
(3) Sectors and Control Codes
A sector is comprised of 512-byte data and 16-byte control code.
(4) Data Error
When a program error or erase error occurs, the error is reflected on the error source flags.
Interrupts for each source can be specified.