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. 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 · Supports low voltage to 2.0 volts (2.0 to 6.0 range) · Diagnostic LED's (Power, Busy, Error) 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. · 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 MPLAB ICD 2 Headers 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. 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, incircuit debugging is made possible by using a header containing an equivalent device with integrated incircuit 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 DV164006 ICD 2 Module (Includes ICD 2 Module and USB Cable) ICD 2 Evaluation Kit (Includes ICD 2 Module, USB Cable, RS-232 Cable, Power Supply and Now PICDEM™ 2 Plus Demonstration Board - DV163022) Now DV164007 ICD 2 Module ws (Includes ICD 2 Module, USB Cable, RS-232 Cable and Power Supply) Now AC162049 Universal Programming Module Works with DV164005, DV164006 and DV164007 above) Now AC162048 DM163022 RS-232 and Power Supply Kit (Use with DV164005 above for RS-232 communication) PICDEM 2 Plus Demonstration Board (Includes PIC18F452, PIC16F877, LCD 2 x 16 Display, Now Now AC162050 AC162051 AC162052 AC162053 AC162054 Header Interface (8P DIP) for PIC12F629/675 Header Interface (28P/40P DIP) Header Interface (14P DIP) for PIC16F676/630 Header Interface (18P DIP) for PIC16F627A/628A/648A Header Interface (18P DIP) for PIC16F716 LED’s, RS-232 Port, Piezo Sounder, Temperature Sensor, Demonstration Programs, Unassembled Source Code and More) 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. Atlanta Boston Chicago Dallas Detroit Kokomo Los Angeles Phoenix San Jose Toronto Europe Asia/Pacific Americas (770) 640-0034 (978) 692-3848 (630) 285-0071 (972) 818-7423 (248) 538-2250 (765) 864-8360 (949) 263-1888 (480) 792-7966 (408) 436-7950 (905) 673-0699 Australia China – Beijing China – Chengdu China – Fuzhou China – Hong Kong SAR China – Qingdao China – Shanghai China – Shenzhen China – Shunde India Japan Korea Singapore Taiwan Taiwan – Kaohsiung 61-2-9868-6733 86-10-85282100 86-28-86766200 86-591-7503506 852-2401-1200 86-532-5027355 86-21-6275-5700 86-755-82901380 86-765-8395507 91-80-2290061 81-45-471- 6166 82-2-554-7200 65-6334-8870 886-2-2717-7175 886-7-536-4818 Austria Denmark France Germany Italy Netherlands United Kingdom 43-7242-2244-399 45-4420-9895 33-1-69-53-63-20 49-89-627-144-0 39-0331-742611 31-416-690399 44-118-921-5869 As of 9/1/03 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 Total 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 DS51264B *DS51264B*