MTD NAND Driver Programming Interface

来源:互联网 发布:兰新高铁 知乎 编辑:程序博客网 时间:2024/06/09 20:25

MTD NAND Driver Programming Interface


256 byte pagesize

OffsetContentComment0x00ECC byte 0Error correction code byte 00x01ECC byte 1Error correction code byte 10x02ECC byte 2Error correction code byte 20x03Autoplace 0 0x04Autoplace 1 0x05Bad block markerIf any bit in this byte is zero, then this block is bad. This applies only to the first page in a block. In the remaining pages this byte is reserved0x06Autoplace 2 0x07Autoplace 3 

512 byte pagesize

OffsetContentComment0x00ECC byte 0Error correction code byte 0 of the lower 256 Byte data in this page0x01ECC byte 1Error correction code byte 1 of the lower 256 Bytes of data in this page0x02ECC byte 2Error correction code byte 2 of the lower 256 Bytes of data in this page0x03ECC byte 3Error correction code byte 0 of the upper 256 Bytes of data in this page0x04reservedreserved0x05Bad block markerIf any bit in this byte is zero, then this block is bad. This applies only to the first page in a block. In the remaining pages this byte is reserved0x06ECC byte 4Error correction code byte 1 of the upper 256 Bytes of data in this page0x07ECC byte 5Error correction code byte 2 of the upper 256 Bytes of data in this page0x08 - 0x0FAutoplace 0 - 7 

2048 byte pagesize

OffsetContentComment0x00Bad block markerIf any bit in this byte is zero, then this block is bad. This applies only to the first page in a block. In the remaining pages this byte is reserved0x01ReservedReserved0x02-0x27Autoplace 0 - 37 0x28ECC byte 0Error correction code byte 0 of the first 256 Byte data in this page0x29ECC byte 1Error correction code byte 1 of the first 256 Bytes of data in this page0x2AECC byte 2Error correction code byte 2 of the first 256 Bytes data in this page0x2BECC byte 3Error correction code byte 0 of the second 256 Bytes of data in this page0x2CECC byte 4Error correction code byte 1 of the second 256 Bytes of data in this page0x2DECC byte 5Error correction code byte 2 of the second 256 Bytes of data in this page0x2EECC byte 6Error correction code byte 0 of the third 256 Bytes of data in this page0x2FECC byte 7Error correction code byte 1 of the third 256 Bytes of data in this page0x30ECC byte 8Error correction code byte 2 of the third 256 Bytes of data in this page0x31ECC byte 9Error correction code byte 0 of the fourth 256 Bytes of data in this page0x32ECC byte 10Error correction code byte 1 of the fourth 256 Bytes of data in this page0x33ECC byte 11Error correction code byte 2 of the fourth 256 Bytes of data in this page0x34ECC byte 12Error correction code byte 0 of the fifth 256 Bytes of data in this page0x35ECC byte 13Error correction code byte 1 of the fifth 256 Bytes of data in this page0x36ECC byte 14Error correction code byte 2 of the fifth 256 Bytes of data in this page0x37ECC byte 15Error correction code byte 0 of the sixt 256 Bytes of data in this page0x38ECC byte 16Error correction code byte 1 of the sixt 256 Bytes of data in this page0x39ECC byte 17Error correction code byte 2 of the sixt 256 Bytes of data in this page0x3AECC byte 18Error correction code byte 0 of the seventh 256 Bytes of data in this page0x3BECC byte 19Error correction code byte 1 of the seventh 256 Bytes of data in this page0x3CECC byte 20Error correction code byte 2 of the seventh 256 Bytes of data in this page0x3DECC byte 21Error correction code byte 0 of the eighth 256 Bytes of data in this page0x3EECC byte 22Error correction code byte 1 of the eighth 256 Bytes of data in this page0x3FECC byte 23Error correction code byte 2 of the eighth 256 Bytes of data in this page