beautypg.com

3 sector access mode – Renesas SH7781 User Manual

Page 1398

background image

27. NAND Flash Memory Controller (FLCTL)

Rev.1.00 Jan. 10, 2008 Page 1368 of 1658
REJ09B0261-0100

27.4.3

Sector Access Mode

In sector access mode, flash memory can be read from or written to in sector units by specifying
the number of physical sectors to be accessed.

Since 512-byte data is stored in FLDTFIFO and 16-byte control code is stored in FLECFIFO,
DMA transfer can be performed by setting the DREQ1EN and DREQ0EN bits in FLINTDMACR.

Figure 27.8 shows the relationship of DMA transfer between sectors in flash memory (data and
control code) and memory in the address space.

FLCTL

FLDTFIFO

FLECFIFO

Flash memory

Data (512 bytes)

Control

code

(16 bytes)

DMA (channel 0)
transfer

DMA (channel 1)
transfer

Address space (external memory area)

Data area

Control code area

Figure 27.8 Diagram of DMA Transfer between Sector (Data and Control Code) in Flash

Memory and Memory in Address Space