Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Thread Tools Display Modes
Old 9th June 2008, 01:52 PM   (permalink)
Default ?! My ICD2 isn't working!

After working perfectly all day yesterday, my ICD2 clone is no longer working in Windows 2000/MPLAB v7.52. When I try to connect to the programmer, I get this error:
Code:
Connecting to MPLAB ICD 2
ICD0019: Communications:  Failed to open port: (Windows::GetLastError() = 0x2, 'The system cannot find the file specified.
')
ICD0021: Unable to connect with MPLAB ICD 2
MPLAB ICD 2 Ready
Formerly all I had to do when I first got the programmer was install MPLAB, plug in the programmer, load up MPLAB, and it took care of the driver itself (I think).

What's going on?
Hank Fletcher is offline  
Reply With Quote
Old 9th June 2008, 01:55 PM   (permalink)
Default

USB or RS232 ICD?
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Reply With Quote
Old 9th June 2008, 01:56 PM   (permalink)
Default

Quote:
USB or RS232 ICD?
USB ICD2...
Hank Fletcher is offline  
Reply With Quote
Old 9th June 2008, 01:59 PM   (permalink)
Default

Open XP's device manager (right click my computer)
Do you see a Microchip Firmware Hub icon? try plugging and unplugging the ICD2 to see if it shows up.
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com

Last edited by blueroomelectronics; 9th June 2008 at 02:00 PM.
blueroomelectronics is online now  
Reply With Quote
Old 9th June 2008, 02:07 PM   (permalink)
Default

Quote:
Open XP's device manager (right click my computer)
Do you see a Microchip Firmware Hub icon? try plugging and unplugging to see if it shows up.
I'm uising Windows 2000, but no, I don't see it but when I plug it back in again, Windows either tries to find a driver for the "new device" or alternatively nothing happens at all. The power light comes on the ICD2 though.

The programmer came with the attached image illustrating what ought to be happening (which I think is what you described).
Attached Images
File Type: jpg USB-DRIVER-LOADED.jpg (30.1 KB, 10 views)
Hank Fletcher is offline  
Reply With Quote
Old 9th June 2008, 04:18 PM   (permalink)
Default

A computer typically has 3 to 8 USB ports. I think some ICD2 programmers are "port specific" (not made to be universal/PnP for a specific reason that I haven't figured out). You may have to find/use the same USB port that you previously used to install the software and then this ICD2 programmer will suddenly work again... (??) Good luck and have fun.
__________________
*
phil7890 is offline  
Reply With Quote
Old 9th June 2008, 05:25 PM   (permalink)
Default

Yep you need to see that or the ICD2 will not show up in MPLAB. Some clone firmware for the 18F4550 was flaky and had the possibility of becoming corrupted. A fixed version with BOR reset can be found in the Unicorn page on my site.
That's one of the reasons I split my ICD2 clone into two parts, the 16F877x firmware is pretty solid so if you have a RS232 connector on your ICD2 it might be possible to reflash the 18F4550 (they all use the same firmware)
__________________
Bill
Smart Kits build Smart People

http://www.blueroomelectronics.com
blueroomelectronics is online now  
Reply With Quote
Old 9th June 2008, 07:55 PM   (permalink)
Default

Sorry if it's bad form to link to another forum, but I've been looking for answers and came upon this:
Lost ICD driver
which demonstrates that my problem, which appears to be the disappearing icd2w2k.inf driver, is not as rare as we might have hoped. Weird, huh?

I'm going to read up on that a bit more, and a helpfile PDF I found on the Microchip site that describes installing USB drivers for an ICD2 in Windows 2000.
Hank Fletcher is offline  
Reply With Quote
Old 9th June 2008, 08:33 PM   (permalink)
Default

Okay, the best I've been able to figure out so far is that I need to run Microchips MPUsbClean utility, but in order to do that, it says I need regini.exe to be in my c:\windows\system32 directory. I don't have a windows directory, I have WINNT, and there's no sign of regini.exe anywhere on my computer.

I'm stuck!
Hank Fletcher is offline  
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
help on my ICD2 Calmotion Micro Controllers 0 29th April 2007 03:05 PM
ICD2 with PIC18LF1320 2camjohn Micro Controllers 0 23rd March 2007 05:12 PM
ICD2 3.3v TiagoSilva Micro Controllers 1 9th March 2007 02:18 PM
Inchworm+ ICD2 First look blueroomelectronics Micro Controllers 7 25th February 2007 07:13 PM
ICD2 clones and ICD2 - What advantages? atferrari Micro Controllers 2 28th January 2007 12:16 AM



All times are GMT. The time now is 11:30 PM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.