Altera Cyclone V Device Handbook page 647

Hide thumbs Also See for Cyclone V:
Table of Contents

Advertisement

cv_54010
2013.12.30
Address Bits
(19)
(<M>-1):0
ECC
The NAND flash controller incorporates ECC on-the-fly correction that corrects data read from the device
internally before transferring the data out from the flash controller. The ECC sector buffers store data, while
the ECC engine computes the error location.
MAP01 Command Usage
Use the MAP01 command as follows:
• A complete page must be read or written using a MAP01 command. During such transfers, every
transaction from the host must have the same block and page address. The NAND flash controller
internally keeps track of how much of data it reads or writes.
• MAP00 commands cannot be used in between using MAP01 commands for reading or writing a page.
• DMA must be disabled (the flag bit of the dma_enable register in the dma group must be set to 0)
while the host is performing MAP01 operations directly. If the host issues MAP01 commands to the
NAND flash controller while DMA is enabled, the flash controller discards the request and generates an
unsup_cmd interrupt.
MAP10 Commands
MAP10 commands provide an interface to the control plane of the NAND flash controller. MAP10 commands
control special functions of the flash device, such as erase, lock, unlock, copy back, and page spare area
access. Data passed in this command pathway targets the NAND flash controller rather than the flash device.
Unlike other command types, the data (input or output) related to these transactions does not affect the
contents of the flash device. Rather, this data specifies and performs the exact commands of the flash controller.
Only the lower 16 bits of the Data register contain the relevant information.
Related Information
MAP10 Address Mapping
(19)
<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
NAND Flash Controller
Send Feedback
Name
PAGE_ADDR
on page 10-10
Description
Page address in the device
10-9
ECC
Altera Corporation

Advertisement

Table of Contents
loading

Table of Contents