English
Language : 

SH7764 Datasheet, PDF (1334/1752 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC Engine Family SH-4A Series
Section 25 NAND Flash Memory Controller (FLCTL)
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.
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.
Data Transfer FIFO and Data Register:
• The 224-byte FLDTFIFO is incorporated for data transfer of flash memory.
• The 32-byte FLECFIFO is incorporated for data transfer of control code.
• The overrun/underrun detection flag is provided for the access from the CPU and DMA.
DMA Transfer:
• By individually specifying the destinations of data and control code of flash memory to the
DMA controller, data and control code can be sent to different areas.
Access Size:
• Registers can be accessed in 32 bits or 8 bits. Registers must be accessed in the specified
access size.
Rev. 1.00 Nov. 22, 2007 Page 1278 of 1692
REJ09B0360-0100