Microchip Technology AC162056 Data Sheet

Page of 12
MPLAB
®
 ICD 2
DS51292L-page 4
©
 2005 Microchip Technology Inc.
18-PIN HEADERS
For these headers, there are no jumpers/switches. The device with the most program 
memory is always selected.
If PIC16F627A or PIC16F628A devices are selected for MPLAB ICD 2 development in 
MPLAB IDE, the warning “ICDWarn0020: Invalid target device id” may be received in 
the build window and as a dialog. The reason is the PIC16F648A-ICD device supports 
PIC16F648A, PIC16F627A and PIC16F628A, but only reports the device ID for the 
PIC16F648A.
Ignore this warning or disable it under the Warnings tab on the ICD Programming 
dialog.
20-PIN HEADER – PIC16F639
For the PIC16F639 20-pin header, you will need to connect the jumper J3 as specified 
below.
In addition to being used with MPLAB ICD 2, this header is used with the PCM16YM0 
processor module to emulate a PIC16F639 on the MPLAB ICE 2000 in-circuit emulator. 
Plug the end of the processor module into the header, and then plug the header into 
the transition socket or directly onto the target board.
20-PIN HEADER – PIC16F785
For the PIC16F785 20-pin header, you will need to connect the jumper J2 to enable the 
shunt regulator.
20-PIN HEADER – PIC16F690
For the PIC16F690 20-pin header, you will need to set the S1 switches (Figure 2) to 
enable peripherals and choose devices (Table 3).
FIGURE 2:
S1 SWITCH HARDWARE
Tool
Jumper Setting
Function
MPLAB
®
 ICE 2000
1-2
Run/program as regular device
MPLAB ICD 2
2-3
Run/program as ICD device
Device
Jumper Setting
Function
PIC16F785
1-2
Disable shunt regulator
PIC16HV785
2-3
Enable shunt regulator
ADC
4kPFM
ECCP
SSP
USART
S1
Switch configuration at left shows all 
peripherals enabled, which is the setting to 
select the PIC16F690 device.
ENABLE
ON