FAQ

From ICD2 Clone

(Redirected from ICD2 Clone:FAQ)
Jump to: navigation, search

Contents

General Questions

What is the ICD2?

The ICD2 is a PIC programmer and debugger from Microchip. It provides in circuit programming and debugging and is used in many projects that require microprocessor functions.

What is the ICD2 Clone?

This clone was developed by members of the EDABoard website. The project was born out of a need for a fast and more powerful programmer/debugger that can interface with the MPLab IDE provided by Microchip.

Original Forum Topic

Who developed the ICD2 Clone?

Zedman, Brem, Potyo, Pedrage, Ravimarcus, Rkodaira, Narccizzo, Polymath, Petarpav and many others at the EDABoard forums. Sorry if anyone was missed.

Building

Getting the Parts

Building the Circuit

Breadboard

This is the easiest solution for most people to make as it requires the least time but it is also the bulkiest.

Homemade PCB

There are many ways to create your own pcb, one easy way to get all the chemicals and everything is to go to your local Radio Shack and pick up a PCB kit.

PCB

This will be a list of places you can order pcbs online.

- http://www.dacs-electronique.com/
- http://www.pcb-pool.com/

Problems

ICDWarn0020: Invalid target device id (expected=0x21, read=0x0)

This can happen when target device is not in the programming socket or not supplied (external Vcc supply).

Failed Self Test. See ICD2 Settings (status tab) for details.

At startup, MPLAB is checking several parameters on ICD2 module. Those parameters needs to be in a certain range of specifications

- Target Vdd: MPLAB checks if target is correctly supplied (should be around 5V)
- Module Vpp: MPLAB checks if ICD2 provides a correct Vpp (should be around 12V)
- MCLR Gnd: MPLAB checks if MCLR can be set to GND (should be around 0V)
- MCLR Vdd: MPLAB checks if MCLR can be set to Vdd (should be around 5V)
- MCLR Vpp: MPLAB checks if MCLR can be set to Vpp (should be around 12V)

Note that Target Vdd will be measured only if you are using supply from your ICD2. In case you are using an external 5V to supply your target, this value won't be measured.

This batch of tests is performed to make sure ICD2 will work correctly during programming and/or debugging. Those informations are also very usefull to debug your own ICD2(clone).

If doubt read real voltage values in ICD2 settings. Sometimes even original ICD2 in case of some original firmware informs that failed self test.

ICD0083: Target not in debug mode, unable to perform operation.

If ICD can read right ID from check clock signal for microprocessor on target board. Look into MPLAB manual, there are also some explanation that could help.

Failed to download OS

Check and add if necesserly blocking capacitors on power lines on ICD2clone board (some version does not have them in original design).

Personal tools
Navigation