1.1 Boot Sequence

For SAM9X7, the boot sequence is:

  1. SDMMC0 IOSET1
  2. SDMMC1 IOSET1
  3. QSPI IOSET1
  4. SPI5 IOSET1
  5. NAND IOSET1

The user can configure a specific boot sequence tailored for the system by writing a Boot Configuration Packet in the One Time Programmable (OTP) memory. Refer to the product data sheet, section “Boot Configuration” for details.

If no bootable user application is found, for instance during the first boot in factory when the user application has not been written yet into the external NVM, the ROM code then executes its SAM Boot Assistant (SAM-BA) monitor, which in turn waits for a connection from the SAM-BA tool. Refer to ROM Code Process Flow.