Download UM10362 LPC314x User manual
Transcript
UM10362 NXP Semiconductors Chapter 6: LPC314x ISROM/Boot ROM Table 82. Bad block list page Field Name Offset Size in Description bytes page_size page_size page_size 512 byte 2048 byte 4096 byte Page 1 Bad_block_list_size 0x00 0x00 0x00 4 Size of bad block list Bad block number 0x04 0x04 0x04 4 First bad block number Bad block number 0x08 0x08 0x08 4 Second bad block number Marker 0x1F8 0x7F8 0xFF8 3 Bad page marker. This field should always be set as ASCII string "BAD". Bad_page_nr 0x1FB 0x7FB 0xFFB 1 Page number. Value = 1. CRC32 0x1FC 0x7FC 0xFFC 4 CRC32 value of the current page excluding the current word. I.e. CRC32 of bytes 0 to (page_size 4) of this page. Bad block number 0x00 0x00 0x00 4 Bad block number m, where m = page_size/4 3 + 1 = 126/510/1022 for page_size = 512/2048/4096 byte. Bad block number 0x04 0x04 0x04 4 Bad block number m + 1. Marker 0x1F8 0x7F8 0xFF8 3 Bad page marker. This field should always be set as ASCII string "BAD". Bad_page_nr 0x1FB 0x7FB 0xFFB 1 Page number. Value = 2. CRC32 0x1FC 0x7FC 0xFFC 4 CRC32 value of the current page excluding the current word, for example CRC32 of bytes 0 to 508 of this page for a 512-byte page. … Page 2 … Last bad block page n Bad block number 0x00 0x00 0x00 4 Bad block number m + (n 2) (m + 1), where m = page_size/4 3 = 125/509/1021 byte. Bad block number 0x04 0x04 0x04 4 Next bad block number Marker 0x08 0x08 0x08 3 Bad page marker. This field should always be set as ASCII string "BAD". Bad_page_nr 0x0B 0x0B 0x0B 1 Page number. Value = n. CRC32 0x0C 0x0C 0x0C 4 CRC32 value of the current page excluding the current word. I.e. CRC32 of bytes 0 to 12 of this page. In the above table, the assumption is made that the last bad block page contained only 2 bad block numbers. If the number of bad blocks is less than 125/509/1021 (for a 512/2048/4096-byte device), then the page 1 structure will be as shown in Table 6–83. The boot ROM always reads one full page (512 byte for small, 2 kB or 4 kB for large) before it parses the bad block list. If ECC is enabled in the parameter page, then the NAND programmer should write the complete page, or else the ECC will fail on subsequent sub-pages. The boot ROM will treat this as an error and not boot from NAND. UM10362 User manual © NXP B.V. 2012. All rights reserved. Rev. 1 — 7 December 2012 88 of 577
Related documents
UM10362
UM10314
UM10314 LPC3130/31 User manual
UM10315 LPC315x User manual
UM10315
LPC3141/3143
Rastergraf RG-741 Manual
LPC3152 OEM Board User`s Manual
MA00013 touch screen LCD kit users manual R3p2
LPC2378-STK User Manual
2. Features - Thaieasyelec.net
Two-Player Car Racing Game on Xilinx V2 FPGA Board