User manual

MPLAB
®
PM3 User’s Guide
DS51464C-page 44 © 2006 Microchip Technology Inc.
4.8.2 ICSP Programming
The ICSP (In-Circuit Serial Programming) socket is an extension of the MPLAB PM3
device programmer that allows you to program PICmicro microcontroller devices that
are already installed in the target board.
MPLAB PM3 comes equipped with an ICSP header and cable. You can locate this con-
nector under where a socket module would be installed. See Section A.4 “ICSP Hard-
ware Specifications” for header and cable pinout information.
To program a device using ICSP:
1. Select Programmer>Settings
and click the Voltages tab.
2. In the “ICSP Options” area, select “Low Voltage Program” to program using this
method. Be sure to connect the LVP/PGM pin and Enable the Low Voltage Pro-
gram Configuration bit if the Low Voltage Program option has been selected.
Select “Power target circuit from MPLAB PM3” if you want to power the circuit
through MPLAB PM3 instead of using power from the target board (Figure 4-5).
FIGURE 4-5: ICSP™ OPTIONS
3. Connect the ICSP cable connector to the ICSP socket on MPLAB PM3.
4. Connect the necessary cables to the header on your target board. Refer to
Ta b l e A - 3 i n Appendix A. Hardware Specifications” for cable pins, colors and
signals.
5. Program the device. See Section 4.5 “Programming a Device”.
Note: For information on how to program a specific device using ICSP, consult the
programming specification for that device. See the README for MPLAB
PM3 for a list of programming specifications of supported devices.
Programming specifications may also be found on the Microchip web site
at www.microchip.com.