PIC16F684-I/SLG Microchip, PIC16F684-I/SLG Datasheet - Page 111

no-image

PIC16F684-I/SLG

Manufacturer Part Number
PIC16F684-I/SLG
Description
pic, flash, Microcontrollers, Microprocessors, Semiconductors and Actives, ic, mcu
Manufacturer
Microchip
Datasheet
FIGURE 12-11:
12.11 In-Circuit Debugger
Since in-circuit debugging requires access to the data
and MCLR pins, MPLAB
14-pin device is not practical. A special 20-pin
PIC16F684 ICD device is used with MPLAB ICD 2 to
provide separate clock, data and MCLR pins and frees
all normally available pins to the user.
A special debugging adapter allows the ICD device to
be used in place of a PIC16F684 device. The
debugging adapter is the only source of the ICD device.
When the ICD pin on the PIC16F684 ICD device is held
low, 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. Table 12-9 shows which
features are consumed by the background debugger.
 2004 Microchip Technology Inc.
* Isolation devices (as required)
External
Connector
Signals
Data I/O
CLK
+5V
V
0V
PP
*
To Normal
Connections
To Normal
Connections
TYPICAL IN-CIRCUIT
SERIAL PROGRAMMING
CONNECTION
*
®
*
ICD 2 development with an
*
V
V
MCLR/V
RA1
RA0
DD
SS
PIC16F684
PP
/RA3
Preliminary
TABLE 12-9:
For more information, see “MPLAB
Debugger User’s Guide” (DS51331), available on
Microchip’s web site (www.microchip.com).
FIGURE 12-12:
Resource
I/O pins
Stack
Program Memory
20-Pin PDIP
ICDMCLR/V
In-Circuit Debug Device
RA5
RA4
RA3
RC5
RC4
RC3
V
ICD
NC
DD
PP
DEBUGGER RESOURCES
Description
ICDCLK, ICDDATA
1 level
Address 0h must be NOP
700h-7FFh
20-PIN ICD PINOUT
10
1
2
3
4
5
6
7
8
9
PIC16F684
20
19
18
17
16
15
14
13
12
11
DS41202C-page 109
®
ICDCLK
ICDDATA
Vss
RA0
RA1
RA2
RC0
RC1
NC
RC2
ICD 2 In-Circuit

Related parts for PIC16F684-I/SLG