NVMCON1

NVMCON1

Nonvolatile Memory Control Register 1
  0x059 8  

NVMCON1

Bit  7 6 5 4 3 2 1 0  
  WRERR         NVMCMD[2:0]  
Access  R/C/HS         R/W R/W R/W  
Reset  0         0 0 0  

Bit 7 – WRERR: NVM Write Error

NVM Write Error

ValueDescription
1

A write operation was interrupted by a Reset,
or a write or erase operation was attempted on a write-protected area,
or a write or erase operation was attempted on an unimplemented area,
or a write or erase operation was attempted while locked,
or a page operation was directed to a DFM area

0 All write/erase operations have completed successfully

Bits 2:0 – NVMCMD[2:0]: NVM Command

NVM Command

Table 1. NVM Operations
NVMCMD Unlock Operation DFM PFM Source/Destination WRERR INT
000 No Read byte word NVM to NVMDAT No No
001 No Read and Post Increment byte word NVM to NVMDAT No No
010 No Read Page page NVM to Buffer RAM No No
011 Yes Write byte word NVMDAT to NVM Yes Yes
100 Yes Write and Post Increment byte word NVMDAT to NVM Yes Yes
101 Yes Write Page page Buffer RAM to NVM Yes Yes
110 Yes Erase Page page n/a Yes Yes
111 No Reserved (No Operation) No No