3.2.4 Load Data for NVM

The Load Data for the NVM command is used to load one programming data latch (e.g., one 14-bit instruction word for program memory/configuration memory/User ID memory) or one 8-bit byte for an EEPROM data memory address. The Load Data for the NVM command can be used to load data for Program Flash Memory (see Figure 3-9) or for EEPROM, if available (see Figure 3-10). The word writes into the program memory after the Begin Internally Timed Programming or Begin Externally Timed Programming commands write the entire row of data latches, not just one word. The lower five bits of the address are considered while the other bits are ignored. Depending on the value of bit 1 of the command, the PC may or may not be incremented (see Table 3-1).

Figure 3-9. Load Data for NVM
Figure 3-10. Load Data for NVM (EEPROM)
Important:

The Program Access Enable command and corresponding payload must be sent immediately before writing to the SAFLOCK bit or the ICSPDIS bit in the CONFIG7 and CONFIG6 registers, respectively.