AVR XMEGA memtypes - - Atmel EDBG-based Tools Protocols

# Atmel EDBG-based Tools Protocols
Memory Types

Sidebar | Prev | Up | Next

### AVR XMEGA memtypes

Table 137. AVR XMEGA memtypes

ID | Prog Access | Debug Access | Usage / Rules
--- | --- | --- | ---
MEMTYPE_APPL_FLASH | RW | R | 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 (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed.
MEMTYPE_BOOT_FLASH | RW | R | 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 (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed.
MEMTYPE_APPL_FLASH_ATOMIC | W | - | 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_ATOMIC | W | - | 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_ATOMIC | W | W | 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_EEPROM | RW | RW | 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 (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed
MEMTYPE_FUSES | RW | - | Used to read/write a FUSES in programming or debugging mode Address is from base 0x000000, provided that FUSE_BASE_ADDR is configured correctly (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed
MEMTYPE_LOCK_BITS | RW | R | Used to read/write a LOCKBITS in programming or debugging mode Address is from base 0x000000, provided that LOCKBIT_BASE_ADDR is configured correctly (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed
MEMTYPE_SIGNATURE | R | R | 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 (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed
MEMTYPE_USER_SIGNATURE | RW | RW | 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 (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed
MEMTYPE_CALIBRATION_SIGNATURE | R | R | 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 (the section called “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 (the section called “Device context: AVR XMEGA targets”). Any number of bytes can be accessed

Prev | Up | Next
| Home |