12.4.4.3 SD Card / eMMC Boot
The SD Card / eMMC bootloader looks for a “boot.bin” file in the root directory of a FAT12/16/32 file system.
Supported SD Card Devices
SD Card Boot supports all SD Card memories compliant with the SD Memory Card Specification V2.0. This
includes SDHC cards.
12.4.4.4 SPI Flash Boot
Two types of SPI Flash are supported: SPI Serial Flash and SPI DataFlash.
The SPI Flash bootloader tries to boot on SPI0, first looking for SPI Serial Flash, and then for SPI DataFlash.
It uses only one valid code detection: analysis of ARM exception vectors.
The SPI Flash read is done by means of a Continuous Read command from the address 0x0. This command is
0xE8 for DataFlash and 0x0B for Serial Flash devices.
Supported DataFlash Devices
The SPI Flash Boot program supports the DataFlash devices listed in Table 12-2.
Table 12-2. DataFlash Devices
Device
AT45DB011
AT45DB021
AT45DB041
AT45DB081
AT45DB161
AT45DB321
AT45DB642
AT45DB641
Density
1 Mbit
2 Mbits
4 Mbits
8 Mbits
16 Mbits
32 Mbits
64 Mbits
64 Mbits
Page Size (bytes)
264
264
264
264
528
528
1056
264
Number of Pages
512
1024
2048
4096
4096
8192
8192
37768
Supported Serial Flash Devices
The SPI Flash Boot program supports all SPI Serial Flash devices responding correctly at both Get Status and
Continuous Read commands.
12.4.5 Hardware and Software Constraints
The NVM drivers use several PIOs in Peripheral mode to communicate with external memory devices. Care must
be taken when these PIOs are used by the application. The connected devices could be unintentionally driven at
boot time, and thus electrical conflicts between output pins used by the NVM drivers and the connected devices
could occur.
To ensure correct functionality, it is recommended to plug in critical devices to other pins, not used by the NVM.
Table 12-3 contains a list of pins that are driven during the boot program execution. These pins are driven during
the boot sequence for a period of less than 1 second if no correct boot program is found.
Before performing the jump to the application in the internal SRAM, all the PIOs and peripherals used in the boot
program are set to their reset state.
SAMA5D4 Series [DATASHEET]
79
Atmel-11238C-ATARM-SAMA5D4-Datasheet_12-Jul-16