10.2 Physical Memory Map

The High-Speed bus is implemented as a bus matrix. All High-Speed bus addresses are fixed, and they are never remapped in any way, even during boot. The 32-bit physical address space is mapped as follow:

Table 10-1. SAM D21 Physical Memory Map(1)(1)
MemoryStart addressSize
SAMD21x18SAMD21x17SAMD21x16SAMD21x15SAMD21x16LSAMD21x15L
Internal Flash0x00000000256 Kbytes128 Kbytes64 Kbytes32 Kbytes64 Kbytes32 Kbytes
Internal RWWEE Emulation section(2)0x00400000-4 Kbytes2 Kbytes1 Kbytes2 Kbytes1 Kbytes
Internal SRAM0x2000000032 Kbytes16 Kbytes8 Kbytes4 Kbytes8 Kbytes4 Kbytes
Peripheral Bridge A0x4000000064 Kbytes64 Kbytes64 Kbytes64 Kbytes64 Kbytes64 Kbytes
Peripheral Bridge B0x4100000064 Kbytes64 Kbytes64 Kbytes64 Kbytes64 Kbytes64 Kbytes
Peripheral Bridge C0x4200000064 Kbytes64 Kbytes64 Kbytes64 Kbytes64 Kbytes64 Kbytes
IOBUS0x600000000.5 Kbytes0.5 Kbytes0.5 Kbytes0.5 Kbytes0.5 Kbytes0.5 Kbytes
Table 10-2. SAM DA1 Physical memory map(1)
MemoryStart AddressSize
SAMDA1x16SAMDA1x15SAMDA1x14
Internal Flash0x0000000064Kbytes32Kbytes16Kbytes
Internal RWWEE Emulation section0x004000002Kbytes1Kbytes512bytes
Internal SRAM0x200000008Kbytes4Kbytes4Kbytes
Peripheral Bridge A0x4000000064Kbytes64Kbytes64Kbytes
Peripheral Bridge B0x4100000064Kbytes64Kbytes64Kbytes
Peripheral Bridge C0x4200000064Kbytes64Kbytes64Kbytes

Notes:

1. x = G, J, or E.

2. Only applicable for device variants B, C, D, and L.

Table 10-3. SAM D21 Flash Memory Parameters(1,2)(1)
DeviceFlash sizeNumber of pagesPage size
SAMD21x18256 Kbytes409664 bytes
SAMD21x17128 Kbytes204864 bytes
SAMD21x1664 Kbytes102464 bytes
SAMD21x1532 Kbytes51264 bytes
Table 10-4. SAM DA1 Flash memory parameters(1)
DeviceFlash SizeNumber of PagesPage Size
SAMDA1x1664Kbytes102464 bytes
SAMDA1x1532Kbytes51264 bytes
SAMDA1x1416Kbytes25664 bytes

Notes:

1. x = G, J, or E.

2. The number of pages (NVMP) and page size (PSZ) can be read from the NVM Pages and Page Size bits in the NVM Parameter register in the NVMCTRL (PARAM.NVMP and PARAM.PSZ, respectively). Refer to NVM Parameter (PARAM) register for details.

Table 10-5. SAM D21 RWWEE Emulation Section Parameters (Device Variants B, C, D,and L)
Device(1)Flash sizeNumber of pagesPage size
SAMD21x174 Kbytes6464 bytes
SAMD21x162 Kbytes3264 bytes
SAMD21x151 Kbytes1664 bytes
Table 10-6. SAM DA1 RWWEE Emulation Section Parameters
DeviceFlash SizeNumber of PagesPage Size
SAMDA1x162Kbytes3264 bytes
SAMDA1x151Kbytes1664 bytes
SAMDA1x14512 bytes864 bytes
Note:
  1. x = G, J, or E.