PIC32MX775F256H NVM registers

The 5 registers of NVM (Flash controller (NVM)), from 0xBF80F400, with their reset value and every field. The PIC32MX775F256H has 774 registers in 64 peripherals, one page each.

Most PIC32 SFRs have three more registers right after them: CLR at +4, SET at +8 and INV at +C (T1CONCLR, T1CONSET, T1CONINV), which clear, set or flip just the bits written as 1, in one write.

NVM Flash controller (NVM)

NVMCONProgramming Control Register

Address
0xBF80F400
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
WR15Write Control bit
  • 0 Flash operation complete or inactive
  • 1 Initiate a Flash operation. Hardware clears this bit when the operation completes
WREN14Write Enable bit
  • 0 Disable writes to WR bit and disables LVD circuit
  • 1 Enable writes to WR bit and enables LVD circuit
WRERR13Write Error bit
  • 0 Program or erase sequence completed normally
  • 1 Program or erase sequence did not complete successfully
LVDERR12Low-Voltage Detect Error bit (LVD circuit must be enabled)
  • 0 Voltage level is acceptable for programming
  • 1 Low-voltage detected (possible data corruption if WRERR is set)
LVDSTAT11Low-Voltage Detect Status bit (LVD circuit must be enabled)
  • 0 Low-voltage event NOT active
  • 1 Low-voltage event active
NVMOP3:0NVM Operation bits
  • 0 No operation
  • 1 Word program operation: programs word selected by NVMADDR if it is not write-protected
  • 2 No operation
  • 3 Row program operation: programs row selected by NVMADDR if it is not write-protected
  • 4 Page erase operation: erases page selected by NVMADDR if it is not write-protected
  • 5 Program Flash (PFM) erase operation: erases PFM if all pages are not write-protected
  • 6 No operation
  • 7 Reserved
  • 8 Reserved
  • 9 Reserved
  • 10 Reserved
  • 11 Reserved
  • 12 Reserved
  • 13 Reserved
  • 14 Reserved
  • 15 Reserved

NVMKEYProgramming Unlock Register

Address
0xBF80F410
Reset
0x00000000
Access
write only
Size
32-bit

NVMADDRFlash Address Register

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

NVMDATA

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

NVMSRCADDRSource Data Address Register

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