Datasheet

2009 Microchip Technology Inc. DS41396A-page 9
PIC12F609/12F615/12F617/16F610/16F616 AND PIC12HV609/12HV615/16HV610/16HV616
TABLE 4-1: COMMAND MAPPING FOR PIC12F609/12F615/12F617/16F610/16F616 AND
PIC12HV609/12HV615/16HV610/16HV616
4.1.4.1 Load Configuration
The Load Configuration command is used to access
the Configuration Word (0x2007), User ID (0x2000-
0x2003) and Calibration Word (0x2008). This
command sets the PC to address 0x2000 and loads the
data latches with one word of data.
To access the configuration memory, send the Load
Configuration command. Individual words within the
configuration memory can be accessed by sending
Increment Address commands and using load or read
data for program memory.
After the 6-bit command is input, the ICSPCLK pin is
cycled an additional 16 times for the Start bit, 14 bits of
data and the Stop bit (see Figure 4-4).
After the configuration memory is entered, the only way
to get back to the program memory is to exit the
Program/Verify mode by taking MCLR
low (VIL).
FIGURE 4-4: LOAD CONFIGURATION COMMAND
Command Mapping (MSb … LSb) Data
Load Configuration xx00000, data (14), 0
Load Data for Program Memory xx00100, data (14), 0
Read Data from Program Memory xx01000, data (14), 0
Increment Address xx0110
Begin Programming x11000Externally Timed
End Programming x01010
Bulk Erase Program Memory xx1001Internally Timed
Row Erase Program Memory x10001Internally Timed
TSET1
T
HLD1
TDLY1
TDLY3
12 3 4 56
0
0 0
0
X
X
12 3 4 5 15
16
strt_bit
stp_bit
LSb MSb
0
ICSPCLK
ICSPDAT