init-033
Read invalid blocks
information
Read 1 and 2
page spare
sectors
st
nd
Invalid block
information
±
0xFF (or 0xFFFF for
16-bit devices)
Yes
No
Set invalid block flag
Clear invalid block flag
For first 4 blocks
Public Version
Device Initialization by ROM Code
www.ti.com
Table 26-35. Bad Block Mark Locations in NAND Spare Areas
Small Page NAND
Large Page NAND
8-bit NAND device
Block invalid when any byte
6th byte in 1st page
1st byte in 1st page
does not equal FFh
6th byte in 2nd page
1st byte in 2nd page
16-bit NAND device
Block invalid when any word
1st word in 1st page
1st word in 1st page
does not equal FFFFh
6th word in 1st page
1st word in 2nd page
1st word in 2nd page
6th word in 2nd page
shows the invalid block detection routine. The routine consists in reading spare areas and
checking data according to the conditions listed in Table 26-35. The flags are used internally to give
information about the validity of each block.
Figure 26-18. Bad NAND Invalid Block Detection
26.4.7.4.2 SLC NAND Read Sector Procedure
During the booting procedure, the ROM code reads 512-byte sectors from the NAND device. The reading
fails in two cases:
•
The accessed sector is in a block marked as invalid.
•
The accessed sector contains an error that cannot be corrected with ECC.
3552
Initialization
SWPU177N – December 2009 – Revised November 2010
Copyright © 2009–2010, Texas Instruments Incorporated
Содержание OMAP36 Series
Страница 174: ...174 List of Tables SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 692: ...692 MPU Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1084: ...1084 IVA2 2 Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 1990: ...1990 2D 3D Graphics Accelerator SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2334: ...2334 Memory Subsystem SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2700: ...2700 Memory Management Units SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2868: ...2868 HDQ 1 Wire SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 2974: ...2974 UART IrDA CIR SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3054: ...3054 Multichannel SPI SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3462: ...3462 MMC SD SDIO Card Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3508: ...3508 General Purpose Interface SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3584: ...3584 Initialization SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...
Страница 3648: ...3648 Debug and Emulation SWPU177N December 2009 Revised November 2010 Copyright 2009 2010 Texas Instruments Incorporated ...