Table 137. AVR XMEGA memtypes

IDProg AccessDebug AccessUsage / Rules
MEMTYPE_APPL_FLASHRWR
MEMTYPE_BOOT_FLASHRWR
MEMTYPE_APPL_FLASH_ATOMICW-
  • Used to write a full FLASH page in the application section in programming mode

  • The page is automatically erased before writing

  • Address is from base 0x000000, provided that APPL_BASE_ADDR is configured correctly (the section called “Device context: AVR XMEGA targets”).

  • Writes are restricted to full pages only.

MEMTYPE_BOOT_FLASH_ATOMICW-
  • Used to write a full FLASH page in the boot section in programming mode

  • The page is automatically erased before writing

  • Address is from base 0x000000, provided that BOOT_BASE_ADDR is configured correctly (the section called “Device context: AVR XMEGA targets”).

  • Writes are restricted to full pages only.

MEMTYPE_EEPROM_ATOMICWW
  • Used to write a full EEPROM page in programming or debugging mode

  • The page is automatically erased before writing

  • Address is from base 0x000000, provided that EEPROM_BASE_ADDR is configured correctly (the section called “Device context: AVR XMEGA targets”).

  • Writes are restricted to full pages only.

MEMTYPE_EEPROMRWRW
MEMTYPE_FUSESRW-
MEMTYPE_LOCK_BITSRWR
MEMTYPE_SIGNATURERR
MEMTYPE_USER_SIGNATURERWRW
MEMTYPE_CALIBRATION_SIGNATURERR
MEMTYPE_REGFILE-RW
  • Used to read/write the general purpose registers in debugging mode

  • Address is from base 0x00

  • Any number of bytes can be accessed

MEMTYPE_SRAM-RW