2.9.1.7 Boot Configuration Packet

The Boot Configuration Packet in the OTP User area allows to:

  • Disable the SAM-BA Monitor.
  • Define the UART port for the ROM code console.
  • Disable the copy in SRAM of OTP Packets.
  • Define the Boot sequence by configuring up to 4 boot memories (type of memory, IO configuration, etc.). The ROM Code searches a valid bootstrap by examining the external memories in the same order as the boot sequence.
Table 2-25. Boot Configuration Packet Structure
OffsetNameDescription
0x00MON_DISDisables the SAM-BA Monitor.
0x04RESERVEDReserved
0x08CONSOLE_IOSDefines the ROM code console pins muxing.
0x0CENG_PKT_COPY_DISDisables the "Packet Copy in SRAM" process.
0x10–0x50MEM_CFGx[4]

Array of four 32-bit words used to set memory configurations for x=0..3, with x=0 having the highest boot priority, x=3 the lowest

MEM_CFGx[0]: contains mandatory options for the connected external Flash memories.

MEM_CFGx[1]: contains optional data specific to the memory described in word 0.

MEM_CFGx[2]: contains boot options features.

MEM_CFGx[3]: contains dual bootstrap configuration.