Function
Command
Sets the destination address for the page buffer in RMW operation
0x61
Writes the page buffer for a RMW operation
0x62
Sets copy source address
0x1000
Sets copy destination address and initiates a copy of <
PP
> pages
0x11<
PP
>
Sets up a pipeline read-ahead of <
PP
> pages
0x20<
PP
>
Sets up a pipeline write of <
PP
> pages
0x21<
PP
>
MAP10 Command Usage
Use the MAP10 command as follows:
• MAP10 commands should be used to issue commands to the device, such as erase, copy-back, lock, or
unlock.
• MAP10 pipeline commands should also be used to read or write consecutive multiple pages from the
flash device within a device block boundary. The host must first issue a MAP10 pipeline read or write
command and then issue MAP01 commands to do the actual data transfers. The MAP10 pipeline read
or write command instructs the NAND flash controller to use high-performance commands such as
cache or multiplane because the flash controller has knowledge of multiple consecutive pages to be read.
The pages must not cross a block boundary. If a block boundary is crossed, the flash controller generates
an unsupported command (
unsup_cmd
) interrupt and drops the command.
• Up to four pipeline read or write commands can be issued to the NAND flash controller.
• While the NAND flash controller is performing MAP10 pipeline read or write commands, DMA must
be disabled (the
flag
bit of the
dma_enable
register in the
dma
group must be set to 0). DMA must
be disabled because the host is directly transferring data from and to the flash device through the flash
controller.
MAP11 Commands
MAP11 commands provide direct access to the NAND flash controller’s address and control cycles, allowing
software to issue the commands directly to the flash device using the
Command
and
Data
registers. The
MAP11 command is useful if the flash device supports a device-specific command not supported by standard
flash commands. It can also be useful for low-level debugging.
MAP11 commands provide a direct control path to the flash device. These commands execute command,
address, and data read/write cycles directly on the NAND device interface. Command, address, and write
data values are placed in the
Data
register. On a read, the returned data also appears in the
Data
register.
The indirect address register encodes the control operation type. Command and address cycles to the device
must be a write transaction on the host bus. For data cycles, the type of transaction on the host bus (read/write)
determines the data cycle type on the device interface. The host can issue only single-beat accesses to the
data slave port while using MAP11 commands.
Related Information
on page 10-12
Altera Corporation
NAND Flash Controller
10-11
MAP10 Command Usage
cv_54010
2013.12.30