Microchip Technology MPLAB®ICD 2 User’s Guide

MPLAB®ICD 2 In-Circuit Debugger/Programmer
In-Circuit Debugging Basics
Traditionally, embedded systems engineers use in-circuit emulators (ICE) to develop and debug their designs and then programmers to transfer the code to the devices. The in-circuit debugging logic, when implemented, is part of the actual microcontroller silicon and provides a low-cost alternative to a more expensive ICE. In-circuit debugging offers these benefits:
· Low cost
· Minimum of extra hardware
· Expensive sockets or adapters are not needed
· Debugging and programming a production line board is
possible
However, it has the following trade-offs:
· Use of some target system resources such as I/O
pins, program memory, data memory, and stack space. As a result, some portions of an embedded application may not be debugged.
· Triggering and breakpointing are limited to the built-in
capabilities of the in-circuit debugging logic.
· The target chip must be running with a clock and a
supply voltage. Often an emulator probe can run without external hardware.
All-in-one Debugger/Programmer Solution for Flash Products
The MPLAB ICD 2 (In-Circuit Debugger 2) allows debugging and programming of PIC®and dsPIC®Flash microcontrollers using the powerful graphical user interface of the MPLAB Integrated Development Environment (IDE), included with each kit. The MPLAB ICD 2 is connected to the design engineer's PC using USB or RS-232 interface and can be connected to the target via an ICD connector. The connector uses two device I/O pins that are shared between in-circuit debugging and In-Circuit Serial Programming™.
Host System Requirements
· PC-compatible system with a Intel Pentium®class or
higher processor, or equivalent
· A minimum of 32 MB RAM
· A minimum of 40 MB available hard drive space
· CD-ROM drive (for use with the accompanying CD)
· Available USB or RS-232 port
· Microsoft®Windows®98, Windows NT®4.0,
Windows 2000 or Windows XP. USB support may be limited by the Windows operating system, particularly Windows 98/NT.
Features
· USB (Full Speed 2 Mbits/s) and RS-232 interface to
host PC
· Real-time execution
· MPLAB IDE compatible (free copy included)
· Built-in over voltage/short circuit monitor
· Firmware upgradeable from PC/web download
· Totally enclosed
· Diagnostic LED's (Power, Busy,Error)
· Read/Write program and data memory of
microcontroller
· Erase of program memory space with verification
· Freeze-peripherals at breakpoint
Products Supported
The MPLAB ICD 2 currently supports most PIC and dsPIC Flash microcontrollers. Flash PICmicro MCU’s not supported are PIC16F72/73/74/76/77/83/84A.
The MPLAB ICD 2 firmware is continually being updated to add support for new devices. A review of the README file located in MPLAB IDE is recommended for the most current list of supported parts. As new device firmware becomes available, free downloads are available at www.microchip.com.
Universal Programming Module
The Universal Programming Module can be used in conjunction with the MPLAB ICD 2 to provide an easy means for programming 300 to 600-mil PDIP Flash devices. It features a 40-pin ZIP socket, an MPLAB ICD 2 connector, programming indicator and configuration jumpers.
MPLAB ICD 2 Headers
For 8-pin (PIC12F629/675), 14-pin (PIC16F630/676) or 18-pin (PIC16F627A/628A/648A) devices, limited I/O make integrated in-circuit debugging impractical. Instead, in­circuit debugging is made possible by using a header containing an equivalent device with integrated in­circuit debugging peripheral. For
debugging, the header is connected to the MPLAB ICD 2 module via the MPLAB ICD 2 connector and is inserted into the target socket with a stand-off connector.
Part Numbers and Ordering Information – MPLAB® ICD 2 Products and Accessories
Part Number Description Availability
DV164005 ICD2 Module (Includes ICD 2 Module and USB Cable) DV164006 ICD2 Evaluation Kit (Includes ICD 2 Module, USB Cable, RS-232 Cable, Power Supply and
PICDEM™ 2 Plus Demonstration Board - DV163022)
DV164007 ICD2 Module ws (Includes ICD 2 Module, USB Cable, RS-232 Cable and Power Supply)
AC162049 Universal Programming Module Works with DV164005, DV164006 and DV164007 above)
AC162048 RS-232 and Power Supply Kit (Use with DV164005 above for RS-232 communication) DM163022 PICDEM 2 Plus Demonstration Board (Includes PIC18F452, PIC16F877, LCD 2 x 16 Display,
LED’s , RS-232 Port,Piezo Sounder,Temperature Sensor, Demonstration Programs, Unassembled Source Code and More)
AC162050 Header Interface (8P DIP) for PIC12F629/675 AC162051 Header Interface (28P/40P DIP) AC162052 Header Interface (14P DIP) for PIC16F676/630 AC162053 Header Interface (18P DIP) for PIC16F627A/628A/648A AC162054 Header Interface (18P DIP) for PIC16F716
Now
Now
Now
Now
Now Now
Now Now Now Now
Q1/04
Customer Support
Microchip maintains a worldwide network of distributors, representatives, local sales offices, Field Application Engineers and Corporate Application Engineers. Microchip’s Internet home page can be reached at: www.microchip.com.
Americas
Atlanta (770) 640-0034 Boston (978) 692-3848 Chicago (630) 285-0071 Dallas (972) 818-7423 Detroit (248) 538-2250 Kokomo (765) 864-8360 Los Angeles (949) 263-1888 Phoenix (480) 792-7966 San Jose (408) 436-7950 Toronto (905) 673-0699
Microchip Technology Inc. 2355 W. Chandler Blvd. Chandler, AZ 85224-6199 USA (480) 792-7200 FAX(480) 792-7277
The Microchip name and logo, the Microchip logo, dsPIC, KEELOQ, MPLAB, PIC, PICmicro, PICSTART, PRO MATE and PowerSmart are registered trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. FilterLab, microID, MXDEV, MXLAB, PICMASTER, SEEVAL and The Embedded Control Solutions Company are registered trademarks of Microchip Technology Incorporated in the U.S.A. Accuron, Application Maestro, dsPICDEM, dsPICDEM.net, ECAN, ECONOMONITOR, FanSense, FlexROM, fuzzyLAB, In-Circuit Serial Programming, ICSP, ICEPIC, microPort, Migratable Memory, MPASM, MPLIB, MPLINK, MPSIM, PICC, PICkit, PICDEM, PICDEM.net, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPIC, Select Mode, SmartSensor, SmartShunt, SmartTel and To tal Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. Serialized Quick Turn Programming (SQTP) is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. © 2003, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. 9/03
Asia/Pacific
Australia 61-2-9868-6733 China – Beijing 86-10-85282100 China – Chengdu 86-28-86766200 China – Fuzhou 86-591-7503506 China – Hong Kong SAR 852-2401-1200 China – Qingdao 86-532-5027355 China – Shanghai 86-21-6275-5700 China – Shenzhen 86-755-82901380 China – Shunde 86-765-8395507 India 91-80-2290061 Japan 81-45-471- 6166 Korea 82-2-554-7200 Singapore 65-6334-8870 Taiwan 886-2-2717-7175 Taiwan – Kaohsiung 886-7-536-4818
Europe
Austria 43-7242-2244-399 Denmark 45-4420-9895 France 33-1-69-53-63-20 Germany 49-89-627-144-0 Italy 39-0331-742611 Netherlands 31-416-690399 United Kingdom 44-118-921-5869
As of 9/1/03
DS51264B
*DS51264B*
Loading...