English
Language : 

SH7263 Datasheet, PDF (1220/1862 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7260 Series
Section 24 AND/NAND Flash Memory Controller (FLCTL)
(3) Access Modes: The FLCTL can select one of the following two 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. Read, write, or erasure of
data without ECC processing can be achieved.
• Sector access mode: Performs a read or write in sector units by specifying a sector and controls
ECC-code generation and check. By specifying the number of sectors, the continuous sectors
can be read or written.
(4) Sectors and Control Codes
• A sector is the basic unit of access and comprised of 512-byte data and 16-byte control code.
The 16-byte control code includes 8-byte ECC.
• The position of the ECC in the control code can be specified in 4-byte units.
• User information can be written to the control code other than the ECC.
(5) ECC
• 8-byte ECC code is generated and error check is performed for a sector (512-byte data + 16-
byte control code). (Note that the ECC code generation in the 16-byte control code and the
number of bytes to be checked differ depending on the specifications.)
• Error correction capability is up to three errors.
• In a write operation, an ECC code is generated for data and control code prior to the ECC. The
control code following the ECC is not considered.
• In a read operation, an ECC error is checked for data and control code prior to the ECC. An
ECC on the control code in the FIFO is replaced with the check result by the ECC circuit, not
an ECC code read from flash memory.
• An error correction is not performed even when an ECC error occurs. Error corrections must
be performed by software.
(6) 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.
• When a read error occurs, an ECC in the control code is other than 0. This read error is
reflected on the ECC error source flag.
• When an ECC error occurs, perform an error correction, specify another sector to be replaced,
and copy the contents of the block to another sector as required.
Rev. 2.00 Mar. 14, 2008 Page 1186 of 1824
REJ09B0290-0200