24.22.2.4 NVMADDR – Flash Address Register

Name: NVMADDR
Offset: 0x30
Reset: 0x00000000
Property: -

Bit 3130292827262524 
 NVMADDR[31:24] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 2322212019181716 
 NVMADDR[23:16] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 15141312111098 
 NVMADDR[15:8] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 
Bit 76543210 
 NVMADDR[7:0] 
Access R/WR/WR/WR/WR/WR/WR/WR/W 
Reset 00000000 

Bits 31:0 – NVMADDR[31:0] Flash (Word) Address bits

Table 24-5. Flash (Word) Address Bits
NVMOP Flash Address Bits
Page Erase
  • Address identifies the page to erase
  • Any address within a 4 Kbytes page boundary will cause the page to be erased
Row program
  • Address identifies the row to program
  • The value of the address must be aligned to a row boundary
Word program
  • Address identifies the 32-bit Word to program
  • NVMADDR[1:0] bits are ignored
  • Must be aligned to a Word boundary
Quad Word program
  • Address identifies the 128-bit Quad Word to program
  • NVMADDR[3:0] bits are ignored
  • Must be aligned to a Quad Word boundary
Note:
  1. Hardware prevents writes to this register when NVMCON.WR = 1.
  2. For all other NVMOP[3:0] bit settings, the Flash address is ignored. For additional information on these bits, see the NVMCON register from Related Links.
  3. The bits in this register are reset by a POR only and are not affected by other Reset sources.