Datasheet

© 2007 Microchip Technology Inc. DS41250F-page 239
PIC16F913/914/916/917/946
16.9 In-Circuit Debugger
When the debug bit in the Configuration Word register
is programmed to a ‘0’, the In-Circuit Debugger func-
tionality is enabled. This function allows simple debug-
ging 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
Table 16-9 for more detail.
For more information, see “Using MPLAB
®
ICD 2”
(DS51265), available on Microchip’s web site
(www.microchip.com).
16.9.1 ICD PINOUT
The devices in the PIC16F91X/946 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 Section 1.0 “Device Overview” for complete
pinout and pin descriptions). Table 16-9 shows the
location and function of the ICD related pins on the 28
and 40-pin devices.
TABLE 16-9: PIC16F91X/946-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/ICDCK/SEG14 and
RB7/ICSPDAT/ICDDAT/SEG13 will not be
usable. The ICD circuitry uses these pins for
communication with the ICD2 external
debugger.
Pin Numbers
Name Type Pull-up DescriptionPDIP TQFP
PIC16F914/917 PIC16F913/916 PIC16F946
40 28 24 ICDDATA TTL In Circuit Debugger Bidirectional data
39 27 23 ICDCLK ST In Circuit Debugger Bidirectional clock
1 1 36 MCLR
/VPP HV Programming voltage
11,32 20 10, 19, 38, 51 V
DD P—Power
12,31 8,19 9, 20, 41, 56 V
SS P Ground
——26AV
DD P Analog power
——25AV
SS P Analog ground
Legend: TTL = TTL input buffer, ST = Schmitt Trigger input buffer, P = Power, HV = High Voltage