PIC16F/LF1946/47
27.3 Common Programming Interfaces
Note:
The ICD 2 produces a VPP voltage greater
than the maximum VPP specification of the
PIC16F/LF1946/47.
Connection to a target device is typically done
through an ICSP™ header. A commonly found
connector on development tools is the RJ-11 in the
6P6C (6 pin,
Figure 27-2.
6
connector) configuration. See
27.2 Low-Voltage Programming Entry
Mode
FIGURE 27-2:
ICD RJ-11 STYLE
CONNECTOR INTERFACE
The Low-Voltage Programming Entry mode allows the
PIC16F/LF1946/47 devices to be programmed using
VDD only, without high voltage. When the LVP bit of
Configuration Word 2 is set to ‘1’, the low-voltage ICSP
programming entry is enabled. To disable the
Low-Voltage ICSP mode, the LVP bit must be
programmed to ‘0’.
ICSPDAT
NC
2 4 6
Entry into the Low-Voltage Programming Entry mode
requires the following steps:
VDD
ICSPCLK
1 3
5
Target
PC Board
Bottom Side
1. MCLR is brought to VIL.
VPP/MCLR
VSS
2.
A
32-bit key sequence is presented on
ICSPDAT, while clocking ICSPCLK.
Once the key sequence is complete, MCLR must be
held at VIL for as long as Program/Verify mode is to be
maintained.
Pin Description*
1 = VPP/MCLR
2 = VDD Target
3 = VSS (ground)
4 = ICSPDAT
If low-voltage programming is enabled (LVP = 1), the
MCLR Reset function is automatically enabled and
cannot be disabled. See Section 6.3 “MCLR” for more
information.
5 = ICSPCLK
6 = No Connect
The LVP bit can only be reprogrammed to ‘0’ by using
the High-Voltage Programming mode.
Another connector often found in use with the PICkit™
programmers is a standard 6-pin header with 0.1 inch
spacing. Refer to Figure 27-3.
FIGURE 27-3:
PICkit™ STYLE CONNECTOR INTERFACE
Pin 1 Indicator
Pin Description*
1 = VPP/MCLR
2 = VDD Target
3 = VSS (ground)
4 = ICSPDAT
1
2
3
4
5
6
5 = ICSPCLK
6 = No Connect
*
The 6-pin header (0.100" spacing) accepts 0.025" square pins.
DS41414A-page 364
Preliminary
2010 Microchip Technology Inc.