8-bit AVR Microcontroller

Non-Volatile Memory Command Register

Name:
NVMCMD
Offset:
0x33
Reset:
0x00
Access:
-
Bit76543210
NVMCMD[5:0]
AccessR/WR/WR/WR/WR/WR/W
Reset000000

Bits 5:0 – NVMCMD[5:0]: Non-Volatile Memory Command

Non-Volatile Memory Command

These bits define the programming commands for the flash.
Table 1. NVM Programming commands
Operation Type NVMCMD Mnemonic Description
Binary Hex
General 0b000000 0x00 NO_OPERATION No operation
0b010000 0x10 CHIP_ERASE Chip erase(1)
0b010001 0x11 CHIP_WRITE Write chip(2)
Section 0b010100 0x14 SECTION_ERASE Section erase
Word 0b011101 0x1D WORD_WRITE Word write
Page 0b011000 0x18 PAGE_ERASE Erase page
Notes:
  1. 1.Erase the Code section and the Non-Volatile Memory lock bits.
  2. 2.Write the Code section, but doesn't affect the Non-Volatile Memory lock bits. Self-programming supports NO_OPERATION, WORD_WRITE, and PAGE_ERASE