
Address Encoding
3:0
5:4
(reset
type)
25:6
27:26
(MAP_
CMD)
31:28
0x0
0x0
Reserved
0x2
decode
bits
CMD Data Encoding
5:0
7:6
15:8
31:16
Channel number
0x3
0x0
0x0
The channel number indicates the target channel.
Type 1 Reset Commands
The Type 1 reset command lets the selected channel complete the flash operation and sync update before
idling.
Address Encoding
3:0
5:4
(reset
type)
25:6
27:26
(MAP_
CMD)
31:28
0x0
0x1
Reserved
0x2
decode
bits
CMD Data Encoding
5:0
7:6
15:8
31:16
Channel number
0x3
0x0
0x0
The channel number indicates the target channel.
ECC
The NAND flash controller incorporates ECC logic to calculate and correct bit errors. The flash controller
uses a Bose-Chaudhuri-Hocquenghem (BCH) algorithm for detection of multiple errors in a page.
The NAND flash controller supports 512- and 1024-byte ECC sectors. The flash controller inserts ECC
check bits for every 512 or 1024 bytes of data, depending on the selected sector size. After 512 or 1024 bytes,
the flash controller writes the ECC check bit information to the device page.
ECC information is striped in between 512 or 1024 bytes of data across the page. The NAND flash controller
reads ECC information in the same pattern and the presence of errors is calculated according to 512 or 1024
bytes of data read.
NAND Flash Controller
Altera Corporation
cv_54010
Address Encoding
10-24
2013.12.30