10.4.3 NVM Bootloader Sequence
Figure 10-7. NVM Bootloader Sequence Diagram
Device
Setup
NAND Flash Boot
Yes
Copy from
NAND Flash to SRAM
Run
NAND Flash Bootloader
No
SD Card Boot
Yes
Copy from
SD Card to SRAM
Run
No
SD Card Bootloader
SPI Flash Boot
Yes
Copy from
SPI Flash to SRAM
Run
No
TWI EEPROM Boot
Yes
Copy from
TWI EEPROM to SRAM
Run
No
SPI Flash Bootloader
TWI EEPROM Bootloader
SAM-BA
Monitor
10.4.3.1 NAND Flash Boot
The NAND Flash bootloader program uses the EBI CS3. It uses both valid code detections. First it searches a
boot.bin file. Then it analyzes the ARM exception vectors.
The first block must be guaranteed by the manufacturer. There is no ECC check.
After NAND Flash interface configuration, the Manufacturer ID is read. If it is different from 0xFF, the Device ID is
read, else, the NAND Flash boot is aborted. The Boot program contains a list of SLC small block Device ID with
their characteristics (size, bus width, voltage) (see Table 10-2). If the device ID is not found in this list, the NAND
Flash device is considered as an SLC large block and its characteristics are obtained by reading the Extended
Device ID byte 3.
SAM9G46 Series [DATASHEET]
65
Atmel-11028G-ATARM-SAM9G46-Datasheet_08-Dec-15