8.2 Memory Map

The figure below shows the memory map for the AVR32DB28/32/48 . Refer to the subsequent sections and the Peripheral Address Map table for further details.

  • Data space (also referred to as CPU Data space) is the portion of the memory that contains the I/O registers, SRAM, EEPROM, fuses and special registers. The mapped flash will always be located at the last 32 KB of the Data space.
  • Code space is the entire flash memory available for user code. The size of the Code space will change according to the flash size of the device.
  • Mapped flash in the Data space starts at address 0x8000 and is accessed by using the LD and ST instructions.
  • Flash in the Code space starts at address 0x00000 and is accessed by using the LPM and SPM instructions.
  • The SECTION0 - 3 markings of the Code space refers to the FLMAP bit field of the NVMCTRL.CTRLB register.
Figure 8-1.  Memory Map