English
Language : 

PIC16LF1454 Datasheet, PDF (124/418 Pages) Microchip Technology – 14/20-Pin Flash, 8-Bit USB Microcontrollers with XLP Technology
PIC16(L)F1454/5/9
11.5 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 11-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
Fig(Fuirgeur1e1x-2.x)
PMDAT =
No
RAM image
?
Yes
Fail
Verify Operation
No
Last
Word ?
Yes
End
Verify Operation
DS41639A-page 124
Preliminary
 2012 Microchip Technology Inc.