Here is the conversation between olimex and myself:
The very fact that it doesnt work, is grounds enough to blame your ICD2!
----- Original Message -----
From: OLIMEX Support
To: CPB22
Sent: Thursday, January 31, 2008 10:34 AM
Subject: Re: Faulty ICD2
Hi,
these are perfect values and with the self test passing I think you don't have ground to blame ICD2 to be faulty
Best regards
Tsvetan / Olimex
----- Original Message -----
From: CPB22
To: OLIMEX Support
Sent: Thursday, January 31, 2008 12:32 PM
Subject: Re: Faulty ICD2
Target VDD = 5.04
Target VPP = 13.26
MPLAB VPP = 13.26
Thanks.
----- Original Message -----
From: OLIMEX Support
To: CPB22
Sent: Thursday, January 31, 2008 10:26 AM
Subject: Re: Faulty ICD2
and the target voltages Vcc and Vpp during programming and debug are?...
----- Original Message -----
From: CPB22
To: OLIMEX Support
Sent: Thursday, January 31, 2008 12:19 PM
Subject: Re: Faulty ICD2
Thanks very much for the lightening quick reply.
I can appreciate that you have a wide range of customers, all with varying skills.
May i suggest that if you dont know, you shouldn't make assumptions.
The ICD2 is definately at fault.
I usually power the target through the ICD2. I have however tried applying power to the board through a 9v battery and a regulator. Still doesnt work.
The Hex that i obtained from blue room electronics functioned exactly as your hex did.
As stated before, MPLab had no problems talking to the replacement chip and firmware (**broken link removed**) that i installed. Even with the new chip, the problem still remains.
I know that the ICD2 is faulty, because i have been using it for many months, but only now im experiencing problems.
I have tested the ICD2 on both my PC and my laptop. Both fail. I have tried using different versions of MPLAB, all with no success.
There is definately something wrong with the ICD2.
Many thanks,
chris.
----- Original Message -----
From: OLIMEX Support
To: CPB22
Sent: Thursday, January 31, 2008 9:59 AM
Subject: Re: Faulty ICD2
Hi Chris,
I'm sorry if my e-mail offended you.
How on earth I would know if you put blank PIC or not?
We have *any* kind of customers and some of them are experienced some are not.
Some of our customers find blink LED code on the internet web pages and blame our programmers when they try to burn the HTML pages with the blink LED examples in PIC and it doesn't blink!
Please read again what you wrote below and tell me if you were on my place what you would suggest?
On first place you shouldn't replace the on board PIC. I have no idea what is blueroomelectronics, but our ICD2 have custom bootloader which works with "A" version of PICs as original Microchip firmware support only PIC16F877 without "A" suffix,
If selftest pass the problem is not in the ICD2, check your voltage levels: Target VCC, VPP, do you supply target voltage from ICD2? in this case switch over to external power supply of your target.
Best regards
Tsvetan
----- Original Message -----
From: CPB22
To: OLIMEX Support
Sent: Thursday, January 31, 2008 11:48 AM
Subject: Re: Faulty ICD2
Tsvetan,
I am not an idiot. You must think me very stupid if you think that I would expect a blank chip to work.
Im fairly experienced with using pics now, I have owned many programmers.
Far from having no 'glue' what to do, I was able to flash a replacement chip.
The reason i blame the ICD2 for this, is because the ICD2 is at fault.
I didnt do anything. It just stopped working. I havent used it for about 25 days, and when i got it out of its box, the problems started.
PIC
I replaced the pic with a 16F877a (the same chip), I flashed the new chip with firmware that i obtained from blueroomelectronics.
When i put the replacement chip in, it functions as well as the old chip. but the problem is still there.
After i put the new chip in, i was able to use MPLAB to download the latest operating system onto it. Strangley there was no problems encountered during this transfer.
This has allowed me to succesfully rule out the pic being broken.
I have now put the original undamaged pic back in.
CYPRESS CHIP
There is also NO problem with the cypress chip. Usb functionality works fine.
CABLES
I have tried multiple power cables, 2 (proven) usb cables, 2 (proven) ICSP cables all of these have no effect. (as before, only about 3/10 of the programming attempts work).
TESTING
I have tried numerous different boards that I have made over the last few months. All these boards previously worked with the ICD2. Now id say that only about 3/10 attempts to program any board, are successful.
When i try and attempt to debug, it allways says "cannot enter debugging mode." 0/10 attempts to debug succeed.
SELFTEST
Self test passes for some reason.
Thanks,
Chris.
----- Original Message -----
From: OLIMEX Support
To: CPB22
Sent: Thursday, January 31, 2008 6:20 AM
Subject: Re: Faulty ICD2
Dear Chris,
The information you provide is not enough to make any speculations what happened with your ICD2.
It worked but now doesn't work may means anything: broken cable, power supply problem, burned ICD2, how could we help you based on this information?
Tell us what you did when the ICD2 stopped working, does it connect to USB when you plug it, what selftest show?
Verify failed may also mean just weared PIC on the target i.e. broken PIC which can't be programmed anymore, why blame the ICD2 for this?
Changing the onboard PIC with the firmware is the worst thing you could do if you have no glue what to do. What did you put as replacement: blank PIC? How do you expect ICD2 will work with the new PIC?
Best regards
Tsvetan / Olimex
----- Original Message -----
From: CPB22
To:
info@olimex.com
Sent: Wednesday, January 30, 2008 7:49 PM
Subject: Faulty ICD2
Hi,
I bought an olimex iCD2 from sparkfun less than a year ago ago.
It now refuses to program anything, allways saying "Failed to verify". It will not enter debugging mode either. I have tried changing the 16F877A, but the same problem is encountered.
Please could you provide support.
Many thanks.
Chris