In-circuit programming with the mplab icd 2 software

Tutorial tut877 shows you how to develop and debug an application using mplab ide projects and mplabicd. The mplab icd 2 currently supports most pic and dspic. Ac162050 datasheet12 pages microchip mplab icd 2 in. Open the mplab ide program and configure the mplab ide software to work properly with mplab icd 2. Contains important information about using the mplab icd 2 with your target design. To set the communications port for mplab icd 2, select debuggerprogrammersettingscommunication tab and choose a. The mplab snap incircuit debuggerprogrammer allows. When using the programmerprogram selection to program a device, the in circuit debug registers should be disabled in the. Mplab icd 2 incircuit debuggerprogrammer microchip.

Microchip mplab icd 2 le in circuit debugger w software. No clock is required while programming, and all modes of the processor can be programmed. Install the mplab ide software onto your pc using the mplab ide cdrom or download. The mplab icd 2 is connected to the design engineers pc using usb or rs232 interface and can be connected to the target via an icd connector. Step 2 windows xp sp2 if you have service pack 2, the first time a new usb device is plugged into a windows xp system, jcd dialog box will appear mplab icd 2 that the system has found a new hardware device and asking you whether or not to search for update software. Mplabicd installation describes how to install mplabicd hardware and software and establish communications. The mplab icd 2 is a discontinued incircuit debugger and programmer by microchip, and is currently superseded by icd 3. The icd 2 module connects between the pc and the mplab icd2 target board allowing direct incircuit debugging of the target microcontroller in real time. Icd 2 design advisory ds51566 please read this first. The connector uses two device io pins that are shared. For debugging, select debuggerselect tool mplab icd 2. It is intended to provide enough information so a target board can be designed that is compatible with mplab icd 2 for both programming and debugging operations.

Readme for mplab icd 2 for the latest information on using mplab icd 2, read the. For programming, select programmerselect programmer mplab icd 2. Microchip technologys proprietary incircuit debug functions, programs can be. The mplab snap programs fast, with a powerful 32bit 300mhz same70. The secret behind in circuit debugging is two dedicated hardware lines microcontroller pins used only during debugging mode that control in circuit serial programming icsp of the device and, afterwards, debugging through proprietary, onchip firmware. Mplab icd 2 should not be selected as a programmer and debugger. The mplab icd 2 incircuit debugger 2 allows debugging and programming of picand dspicflash microcontrollers using the powerful graphical user interface of the mplab integrated development environment ide, included with each kit. The mplab icd 2 provides a 12v supply to vpp which supports legacy products. The mplab icd 2 is not recommended for new designs and will not support new mcu or dspic devices. The mplab icd 2 is connected to the design engineers pc using usb or rs232 interface. Mplab icd 2 incircuit debugger users guide microchip. Mplab icd 2 incircuit debugger microchip technology. The basic theory of programming and incircuit debugging is described so. Mplab icd 2 can also be used as a development programmer for supported mcus.

666 880 387 873 407 392 884 1534 56 881 942 1057 425 397 546 208 299 319 1589 882 523 434 449 259 1183 19 745 513 1092 6 1153 269 1523 383 75 907 595 105 1343 1128 894 35 604 758 972 344 711