RM0082
BootROM
Doc ID 018672 Rev 1
833/844
Figure 116. NAND Flash boot
Initialize FSMC controller for NAND
Read device ID code
Compare ID and fill device descriptor
Search X - Loader in NAND
Notes:
1) Check in first four blocks of
NAND, starting from first
block.
2) Before reading block, its
sanity is checked by reading 1st
word of spare area on first page.
It should be 0xFF. (0xFF
represents sanity)
X - Loader Found
YES
No
USB boot
Copy X - Loader to shadow memory
Authenticate
X - Loader?
USB boot
Jump to X - Loader in shadow memory
Notes:
1) Check device id, if it is 8 bit,
then proceed.
2) Else jump back to FSMC
initialize and try for 16 bit NAND
boot
Passed
Failed