7.4.3 AVR XMEGA memtypes

Table 7-45. AVR XMEGA memtypes
IDProg accessDebug accessUsage/rules
MEMTYPE_APPL_FLASHRWR
  • Used to read/write FLASH in the application section in programming or debugging mode

  • Address is from base 0x000000, provided that APPL_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

MEMTYPE_BOOT_FLASHRWR
  • Used to read/write FLASH in the boot section in programming or debugging mode

  • Address is from base 0x000000, provided that BOOT_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

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 (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 (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 (Device Context: AVR XMEGA Targets)

  • Writes are restricted to full pages only

MEMTYPE_EEPROMRWRW
  • Used to read/write a EEPROM data in programming or debugging mode

  • Address is from base 0x000000, provided that EEPROM_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

MEMTYPE_FUSESRW-
  • Used to read/write FUSES in programming or debugging mode

  • Address is from base 0x000000, provided that FUSE_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)
  • Any number of bytes can be accessed

MEMTYPE_LOCK_BITSRWR
  • Used to read/write LOCKBITS in programming or debugging mode

  • Address is from base 0x000000, provided that LOCKBIT_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

MEMTYPE_SIGNATURERR
  • Used to read the device SIGNATURE in programming or debugging mode

  • Address is from base 0x000000, provided that NVM_BASE and SIGNATURE_OFFSET are configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

MEMTYPE_USER_SIGNATURERWRW
  • Used to read/write the USER SIGNATURE in programming or debugging mode

  • Address is from base 0x000000, provided that USER_SIGN_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

MEMTYPE_CALIBRATION_SIGNATURERR
  • Used to read/write the CALIBRATION SIGNATURE in programming or debugging mode

  • Address is from base 0x000000, provided that PROD_SIGN_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed

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
  • Used to read/write the SRAM data space in debugging mode

  • Address is from base 0x000000, provided that DATA_BASE_ADDR is configured correctly (Device Context: AVR XMEGA Targets)

  • Any number of bytes can be accessed