ATSAMG51N18 memory map
Where everything sits, at its exact address. The ATSAMG51N18 has one 32-bit address space that its Arm Cortex-M4 core reaches flash, SRAM and the peripherals through alike: flash at 0x00400000, SRAM at 0x20000000, the peripherals from 0x40000000 and the core's own system registers (SysTick, the NVIC) at 0xE000E000.
Memory map
Flash, SRAM and the peripheral buses in the one 32-bit space (the calibration and user rows are listed below).
SYSTEM0xE0000000 – 0xEFFFFFFF256 MB
PERIPHERALS0x40000000 – 0x5FFFFFFF512 MB
SRAM0x20000000 – 0x2000FFFF64 KB
Flash0x00400000 – 0x0043FFFF256 KB