Microchip Technology MCP1631RD-MCC2 Data Sheet

Page of 338
 2006-2012 Microchip Technology Inc.
DS41291G-page 233
PIC16F882/883/884/886/887
14.11 In-Circuit Debugger
The PIC16F882/883/884/886/887-ICD can be used in
any of the package types. The devices will be mounted
on the target application board, which in turn has a 3 or
4-wire connection to the ICD tool.
When the debug bit in the Configuration Word
(CONFIG<13>) is programmed to a ‘0’, the In-Circuit
Debugger functionality is enabled. This function allows
simple debugging functions when used with MPLAB
®
ICD 2. When the microcontroller has this feature
enabled, some of the resources are not available for
general use. See 
 for more detail.
For more information, see “Using MPLAB
®
 ICD 2”
(DS51265), available on Microchip’s web site
(www.microchip.com).
14.11.1 ICD PINOUT
The devices in the PIC16F88X family carry the
circuitry for the In-Circuit Debugger on-chip and on
existing device pins. This eliminates the need for a
separate die or package for the ICD device. The pinout
for the ICD device is the same as the devices (see
 for complete pinout
and pin descriptions). 
 shows the location
and function of the ICD related pins on the 28 and 40
pin devices.
TABLE 14-10: PIC16F883/884/886/887-ICD PIN DESCRIPTIONS
Note: The user’s application must have the
circuitry required to support ICD
functionality. Once the ICD circuitry is
enabled, normal device pin functions on
RB6/ICSPCLK and RB7/ICSPDAT will not
be usable. The ICD circuitry uses these pins
for communication with the ICD2 external
debugger.
Pin (PDIP)
Name
Type
Pull-up
Description
PIC16F884/887 PIC16F882/883/886
40
28
ICDDATA
TTL
In-Circuit Debugger Bidirectional data
39
27
ICDCLK
ST
In-Circuit Debugger Bidirectional clock
1
1
MCLR/V
PP
HV
Programming voltage
11,32
20
V
DD
P
12,31
8,19
V
SS
P
Legend: TTL = TTL input buffer, ST = Schmitt Trigger input buffer, P = Power, HV = High Voltage