Altera cyclone V Technical Reference page 831

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

13-10
MAP01 Commands
MAP01 Commands
MAP01 commands transfer complete pages between the host memory and a specific page of the NAND
flash device. Because the MAP01 commands support only page addresses, the entire page must be read or
written at once. The actual number of commands required depends on the size of the data transfer. The
Command register points to the first page and block in the transfer. You do not change the Command
register when you initiate subsequent transactions in the transfer, but only when the entire page is
transferred.
When the NAND flash controller receives a read command, it issues a load operation on the device, waits
for the load to complete, and then returns read data. Read data must be read from the start of the page to
the end of the page.
Write data must be written from the start of the page to the end of the page. When the NAND flash
controller receives confirmation of the transfer, it issues commands to program the data into the device.
The flash controller ignores the byte enables for read and write commands and transfers the entire data
width.
MAP01 Command Format
Table 13-7: MAP01 Command Format with Address Mapping
The following table shows the format of a MAP01 command. This command is written to the Command
register in the
Address Bits
31:28
27:26
25:24
23:<M>
(<M>-1):0
Note: <M> depends on the number of pages per block in the device. <M> = ceil(log2(<device pages
per block>)). Therefore, use the following values:
• 32 pages per block: <M>=5
• 64 pages per block: <M>=6
• 128 pages per block: <M>=7
• 256 pages per block: <M>=8
• 384 pages per block: <M>=9
• 512 pages per block: <M>=9
MAP01 Usage Limitations
Use the MAP01 command as follows:
Altera Corporation
region.
nanddata
Name
(reserved)
CMD_MAP
(reserved)
BLK_ADDR
PAGE_ADDR
Description
Set to 0
Set to 1
Set to 0
Block address in the device
Page address in the device
cv_5v4
2016.10.28
NAND Flash Controller
Send Feedback

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents