English
Language : 

PIC16LF18854 Datasheet, PDF (181/668 Pages) Microchip Technology – C Compiler Optimized RISC Architecture
PIC16(L)F18856/76
10.4.8 WRITE VERIFY
It is considered good programming practice to verify that
program memory writes agree with the intended value.
Since program memory is stored as a full page then the
stored program memory contents are compared with the
intended data stored in RAM after the last write is
complete.
FIGURE 10-8:
FLASH PROGRAM
MEMORY VERIFY
FLOWCHART
Start
Verify Operation
This routine assumes that the last row
of data written was from an image
saved in RAM. This image will be used
to verify the data currently stored in
Flash Program Memory.
Read Operation
F(iFguigruere10x-.x1)
NVMDAT =
RAM image
No
?
Yes
Fail
Verify Operation
No
Last
Word ?
Yes
End
Verify Operation
 2016 Microchip Technology Inc.
Preliminary
DS40001824A-page 181