Datasheet
PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616
DS41396A-page 14 2009 Microchip Technology Inc.
FIGURE 4-12: ONE-WORD PROGRAMMING FLOWCHART (PIC12F61X/16F61X AND
PIC12F609)
Start
Program Cycle
Read Data
Program Memory
Data Correct?
Report
Programming
Failure
All Locations
Done?
Wait TDIS
Program Cycle
No
No
Increment
Address
Command
from
Bulk Erase
Program
Load Data
for
Program Memory
Yes
Begin
Programming
Wait T
PROG
Command
(Externally timed)
End
Programming
One-word
Memory
(1,2)
Done
Yes
Program
User ID/Config. bits
Note 1: This step is optional if the device has already been erased or has not been previously programmed.
2: If the device is code-protected or must be completely erased, then bulk erase the device per Figure 4-15.