![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
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 What's going on? |
|
|
|
|
|
|
(permalink) |
|
USB or RS232 ICD?
|
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) |
|
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. Last edited by blueroomelectronics; 9th June 2008 at 02:00 PM. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
The programmer came with the attached image illustrating what ought to be happening (which I think is what you described). |
||
|
|
|
|
|
(permalink) |
|
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.
__________________
* |
|
|
|
|
|
|
(permalink) |
|
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) |
|
|
|
|
|
|
(permalink) |
|
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. |
|
|
|
|
|
|
(permalink) |
|
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! |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| 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 |