MPLABICD 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 Features space. As a result, some portions of an embedded application may not be debugged. USB (Full Speed 2 Mbits/s) and RS-232 interface to host PC Triggering and breakpointing are limited to the built-in capabilities of the in-circuit debugging logic. Real-time execution The target chip must be running with a clock and a MPLAB IDE compatible (free copy included) supply voltage. Often an emulator probe can run Built-in over voltage/short circuit monitor without external hardware. 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) Read/Write program and data memory of microcontroller All-in-one Debugger/Programmer Erase of program memory space with verification Solution for Flash Products Freeze-peripherals at breakpoint The MPLAB ICD 2 (In-Circuit Debugger 2) allows debugging and programming of PICand dsPICFlash Products Supported microcontrollers using the powerful graphical user interface The MPLAB ICD 2 currently supports most PIC and dsPIC of the MPLAB Integrated Development Environment (IDE), Flash microcontrollers. Flash PICmicro MCUs not included with each kit. The MPLAB ICD 2 is connected to supported are PIC16F72/73/74/76/77/83/84A. the design engineer s PC using USB or RS-232 interface The MPLAB ICD 2 firmware is continually being updated to and can be connected to the target via an ICD connector. add support for new devices. A review of the README file The connector uses two device I/O pins that are shared located in MPLAB IDE is recommended for the most current between in-circuit debugging and In-Circuit Serial list of supported parts. As new device firmware becomes Programming. available, free downloads are available at Host System Requirements www.microchip.com. PC-compatible system with a Intel Pentiumclass 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 MicrosoftWindows98, Windows NT4.0, Windows 2000 or Windows XP. USB support may be limited by the Windows operating system, particularly Windows 98/NT.Universal Programming Module MPLAB ICD 2 Headers The Universal Programming For 8-pin (PIC12F629/675), 14-pin Module can be used in (PIC16F630/676) or 18-pin conjunction with the MPLAB (PIC16F627A/628A/648A) devices, ICD 2 to provide an easy limited I/O make integrated in-circuit means for programming 300 to debugging impractical. Instead, in- 600-mil PDIP Flash devices. It circuit debugging is made possible features a 40-pin ZIP socket, by using a header containing an an MPLAB ICD 2 connector, equivalent device with integrated in- programming indicator and circuit debugging peripheral. For configuration jumpers. 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 Now DV164005 ICD 2 Module (Includes ICD 2 Module and USB Cable) DV164006 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 RS-232 and Power Supply Kit (Use with DV164005 above for RS-232 communication) Now DM163022 PICDEM 2 Plus Demonstration Board (Includes PIC18F452, PIC16F877, LCD 2 x 16 Display, LEDs, RS-232 Port,Piezo Sounder,Temperature Sensor, Demonstration Programs, Unassembled Source Code and More) Now AC162050 Header Interface (8P DIP) for PIC12F629/675 Now AC162051 Header Interface (28P/40P DIP) Now AC162052 Header Interface (14P DIP) for PIC16F676/630 Now AC162053 Header Interface (18P DIP) for PIC16F627A/628A/648A Q1/04 AC162054 Header Interface (18P DIP) for PIC16F716 Customer Support Microchip maintains a worldwide network of distributors, representatives, local sales offices, Field Application Engineers and Corporate Application Engineers. Microchips Internet home page can be reached at: www.microchip.com. Europe Americas Asia/Pacific Atlanta (770) 640-0034 Australia 61-2-9868-6733 Austria 43-7242-2244-399 Boston (978) 692-3848 China Beijing 86-10-85282100 Denmark 45-4420-9895 Chicago (630) 285-0071 China Chengdu 86-28-86766200 France 33-1-69-53-63-20 Dallas (972) 818-7423 China Fuzhou 86-591-7503506 Germany 49-89-627-144-0 Detroit (248) 538-2250 China Hong Kong SAR 852-2401-1200 Italy 39-0331-742611 Kokomo (765) 864-8360 China Qingdao 86-532-5027355 Netherlands 31-416-690399 Los Angeles (949) 263-1888 China Shanghai 86-21-6275-5700 United Kingdom 44-118-921-5869 Phoenix (480) 792-7966 China Shenzhen 86-755-82901380 San Jose (408) 436-7950 China Shunde 86-765-8395507 As of 9/1/03 Toronto (905) 673-0699 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 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*