2.13 Verify Code Memory and Configuration Bits
The verify step involves reading back the code memory space and comparing it against the copy held in the programmer’s buffer. The Configuration Words are verified along with the rest of the code.
The verify process is shown in Figure 2-10. The lower word of the instruction is read, and then the lower byte of the upper word is read and compared against the instruction stored in the programmer’s buffer. Refer to Reading Code Memory for implementation details of reading code memory.
Note: Because the Configuration Words include the device code
protection bit, code memory should be verified immediately after writing if code
protection is to be enabled. This is because the device will not be readable or
verifiable if a device Reset occurs after the code-protect bit has been cleared.
