English
Language : 

PIC12LF1612 Datasheet, PDF (17/38 Pages) Microchip Technology – HIGH-VOLTAGE ICSP PROGRAMMING
PIC12(L)F1612/16(L)F161X
4.3 Program/Verify Commands
The devices implement ten programming commands; each six bits in length. The commands are summarized in Table 4-1.
Commands that have data associated with them are specified to have a minimum delay of TDLY between the command
and the data. After this delay 16 clocks are required to either clock in or clock out the 14-bit data word. The first clock is
for the Start bit and the last clock is for the Stop bit.
TABLE 4-1: COMMAND MAPPING
Command
Mapping
Binary (MSb … LSb)
Hex
Data/Note
Load Configuration
x 0 0 0 0 0 00h 0, data (14), 0
Load Data For Program Memory
x 0 0 0 1 0 02h 0, data (14), 0
Read Data From Program Memory
x 0 0 1 0 0 04h 0, data (14), 0
Increment Address
x 0 0 1 1 0 06h —
Reset Address
x 1 0 1 1 0 16h —
Begin Internally Timed Programming x 0 1 0 0 0 08h —
Begin Externally Timed Programming x 1 1 0 0 0 18h —
End Externally Timed Programming x 0 1 0 1 0 0Ah —
Bulk Erase Program Memory
x 0 1 0 0 1 09h Internally Timed
Row Erase Program Memory
x 1 0 0 0 1 11h Internally Timed
4.3.1 LOAD CONFIGURATION
The Load Configuration command is used to access the configuration memory (user ID locations, Configuration Words,
Calibration Words). The Load Configuration command sets the address to 8000h and loads the data latches with one
word of data (see Figure 4-1).
After issuing the Load Configuration command, use the Increment Address command until the proper address to be
programmed is reached. The address is then programmed by issuing either the Begin Internally Timed Programming or
Begin Externally Timed Programming command.
Note: Externally timed writes are not supported for Configuration and Calibration bits. Any externally timed write
to the Configuration or Calibration Word will have no effect on the targeted word.
The only way to get back to the program memory (address 0) is to exit Program/Verify mode or issue the Reset Address
command after the configuration memory has been accessed by the Load Configuration command.
FIGURE 4-1:
LOAD CONFIGURATION
ICSPCLK
ICSPDAT
123
456
12
TDLY
000 0 0X
0 LSb
15 16
MSb 0
 2013-2014 Microchip Technology Inc.
Preliminary
DS40001720C-page 17