ICD 2 clone is a programmer and debugger for PIC microcontroller. It supports devices from 3.3V to 5V. In order to use it, it has to be connected through MPLAB.
Schematics:

Troubleshooting ICD 2 Clone

Limitations:
Devices releases after September 2010 are no longer supported.
Test methods:
Hardware – based:
1. Check PCB for shorts.
2. Ensure both PIC18F4550 and PIC16F877A are programmed. PIC18F4550 are known for code corruption. In this case, the PIC requires to be reprogrammed.
3. The orientation of the IC’s should be check for any wrong installation.
4. Before powering up the circuit, use multimeter to check for connectivity on the VDD and GND, it should be open circuit.
5. Before plug-ing in to the USB, use universal adaptor to test for VDD (should be approximately 5V) and VPP (approximately 11.3V to 12V). There is an LED, LED 6 as an indicator.

Software-based:
1. Now, plug in the ICD 2 Clone to the USB. Device Manager in window should detect new device and install the driver from microchip MPLAB folder: /…/MPLAB IDE/ICD 2/DRIVERS/..
2. Open MPLAB. Select PPROGRAMMER -> SELECT PROGRAMMER -> ICD 2. ICD 2 should be connected and passed the self test.
3. Go to PROGRAMMER -> SETTINGS -> POWER tab -> UPDATE.
4. Ensure the programmer is working by programming a PIC as well as debugging.
5. Errors that might occur:
a. ICD0021: Unable to connect with MPLAB ICD 2 (USB)
This happens when your ICD 2 is not connected to the USB. IT can also happen that your PIC18F4550 and your USB is not well connected. Also, there might be connection problem between PIC18F4550 and PIC16F877A.

Also, the installation of USB driver is incorrect. Thus, reinstallation is required.
b. ICD0019: Communications: Failed to open port (USB): (Windows::GetLastError() = 0x2, ‘The system cannot find the file specified. ‘)
This error occurs when your PC USB is unable to communicate with the PIC18F4550.

Conclusion
Hopefully with this test layout, you will know what to troubleshoot when you meet the errors when you are trying to build an ICD 2 clone or you are trying to troubleshoot an ICD 2 clone

About

Engineering Student

Leave a Reply

Your email address will not be published. Required fields are marked *