English
Language : 

PIC18LF2XK22 Datasheet, PDF (18/42 Pages) Microchip Technology – Flash Memory Programming Specification
PIC18(L)F2XK22/4XK22
FIGURE 3-4:
PROGRAM CODE MEMORY FLOW
Start
N=1
LoopCount = 0
Configure
Device for
Writes
N=N+1
Load 2 Bytes
to Write
Buffer at <Addr>
N=1
LoopCount =
LoopCount + 1
No
All
bytes
written?
Yes
Start Write Sequence
and Hold PGC
High until Done
and Wait P9
Hold PGC Low
for Time P10
No
All
locations
done?
Yes
Done
FIGURE 3-5:
TABLE WRITE AND START PROGRAMMING INSTRUCTION
TIMING DIAGRAM (1111)
12 34
1 2 34 56
15 16
123
PGC
P5
P9(1)
P5A
P10
4
123
PGD
1111
4-bit Command
nn nn nn
nn
0000
16-bit Data Payload
PGD = Input
4-bit Command Programming Time
Note 1: Use P9A for User ID and Configuration Word programming.
000
16-bit
Data Payload
DS41398B-page 18
Advance Information
 2010 Microchip Technology Inc.