Datasheet
PIC24FJXXXGA0XX
DS39768D-page 20 © 2008 Microchip Technology Inc.
FIGURE 3-7: PROGRAM CODE MEMORY FLOW
Start Write Sequence
All
locations
done?
No
Done
Start
Yes
Load 2 Bytes
to Write
Buffer at <Addr>
All
bytes
written?
No
Yes
and Poll for WR bit
to be Cleared
N = 1
LoopCount = 0
Configure
Device for
Writes
N = 1
LoopCount =
LoopCount + 1
N = N + 1