AVR64DU32 NVMCTRL registers

The 8 registers of NVMCTRL (Non-volatile Memory Controller), from 0x1000, with their reset value and every field. The AVR64DU32 has 408 registers in 39 peripherals, one page each.

NVMCTRL Non-volatile Memory Controller

CTRLAControl A

Address
0x1000
Reset
0x00
Access
read/write
  1. 7–
  2. 6CMD6
  3. 5CMD5
  4. 4CMD4
  5. 3CMD3
  6. 2CMD2
  7. 1CMD1
  8. 0CMD0
1 field
FieldBitsWhat it does
CMD6:0Command
  • 0 No Command
  • 1 No Operation
  • 2 Flash Write
  • 8 Flash Page Erase
  • 9 Flash Multi-Page Erase 2 pages
  • 10 Flash Multi-Page Erase 4 pages
  • 11 Flash Multi-Page Erase 8 pages
  • 12 Flash Multi-Page Erase 16 pages
  • 13 Flash Multi-Page Erase 32 pages
  • 18 EEPROM Write
  • 19 EEPROM Erase and Write
  • 24 EEPROM Byte Erase
  • 25 EEPROM Multi-Byte Erase 2 bytes
  • 26 EEPROM Multi-Byte Erase 4 bytes
  • 27 EEPROM Multi-Byte Erase 8 bytes
  • 28 EEPROM Multi-Byte Erase 16 bytes
  • 29 EEPROM Multi-Byte Erase 32 bytes
  • 32 Chip Erase Command
  • 48 EEPROM Erase Command

CTRLBControl B

Address
0x1001
Reset
0x30
Access
read/write
  1. 7FLMAPLOCK
  2. 6–
  3. 5FLMAP1
  4. 4FLMAP0
  5. 3EEWP
  6. 2APPDATAWP
  7. 1BOOTRP
  8. 0APPCODEWP
6 fields
FieldBitsWhat it does
FLMAPLOCK7Flash Mapping Lock
FLMAP5:4Flash Mapping in Data space
  • 0 Flash section 0
  • 1 Flash section 1
  • 2 Flash section 2
  • 3 Flash section 3
EEWP3EEPROM Write Protect
APPDATAWP2Application Data Write Protect
BOOTRP1Boot Read Protect
APPCODEWP0Application Code Write Protect

CTRLCControl C

Address
0x1002
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1BOOTROWWP
  8. 0UROWWP
2 fields
FieldBitsWhat it does
BOOTROWWP1Boot Row Write Protect
UROWWP0User Row Write Protect

INTCTRLInterrupt Control

Address
0x1004
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1FLREADY
  8. 0EEREADY
2 fields
FieldBitsWhat it does
FLREADY1Flash Ready
EEREADY0EEPROM Ready

INTFLAGSInterrupt Flags

Address
0x1005
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1FLREADY
  8. 0EEREADY
2 fields
FieldBitsWhat it does
FLREADY1Flash Ready
EEREADY0EEPROM Ready

STATUSStatus

Address
0x1006
Reset
0x00
Access
read only
  1. 7–
  2. 6ERROR2
  3. 5ERROR1
  4. 4ERROR0
  5. 3–
  6. 2–
  7. 1FLBUSY
  8. 0EEBUSY
3 fields
FieldBitsWhat it does
ERROR6:4Write error
  • 0 No Error
  • 1 Write command not selected or not valid
  • 2 Write to section not allowed
  • 3 Selecting new write command while programming is ongoing
FLBUSY1Flash busy
EEBUSY0EEPROM busy

DATAData

Address
0x1008
Reset
0x00000000
Access
read/write
Size
32-bit

ADDRAddress

Address
0x100C
Reset
0x00000000
Access
read/write
Size
32-bit