• AVR Freaks

Helpful ReplyHot!ICD2 MPLAB IDE V8.92 Windows 10 64bits

Author
MAELIA
Starting Member
  • Total Posts : 56
  • Reward points : 0
  • Joined: 2009/05/04 00:52:38
  • Location: 0
  • Status: offline
2016/10/15 03:37:28 (permalink)
0

ICD2 MPLAB IDE V8.92 Windows 10 64bits

Hello,
I have installed MPLAB IDE V8.92 on my recent PC witch run with WINDOWS 10 64 bits
I try to connect my ICD2 with USB , target powered
With my old PC and old version of MPLAB I haven't problems
 
I have the following problem:
 
Connecting to MPLAB ICD 2
ICD0019: Communications:  Failed to open port (USB): (Windows::GetLastError() = 0x0, 'L’opération a réussi.
')
ICD0021: Unable to connect with MPLAB ICD 2 (USB)
MPLAB ICD 2 ready for next operation
 
In MAPLAB IDE  I see in the Menu:
          Debugger => Setting =>Status : Connected Status=Not Connected
          Debugger => Setting =>Communication: Com Port=USB is in gray , IT SEEMS NOT RECOGNISED
 
 
I try to find Driver following instruction , but there is no drivers in the drivers directory MPLAB/DRIVER64 , no driver in ICD0 also....
I have desinstalled all MPLAB IDE V8.92 from my PC and download from MICROCHIP  a new MPLAB IDE V8.92 ,after that I have used my MPLAB ICD 2 User Manuel to reconnect with USB my ICD2 , but the problem is always here
I have read several things on internet but it was never the same pb....
Can you help me to find any solution
That would bee very great
Thanks very much for your answer
#1
RISC
Super Member
  • Total Posts : 5775
  • Reward points : 0
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2016/10/15 03:41:34 (permalink)
+1 (1)
Hi,
ICD2 has no 64 bits drivers. You should consider ICD3 and MPLAB X
Regards
#2
NKurzman
A Guy on the Net
  • Total Posts : 18850
  • Reward points : 0
  • Joined: 2008/01/16 19:33:48
  • Location: 0
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2016/10/15 08:29:30 (permalink)
+1 (1)
The ICD 3 may be enough.
#3
Sergey9905
Starting Member
  • Total Posts : 32
  • Reward points : 0
  • Joined: 2011/12/24 14:53:11
  • Location: Russian Federation
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2017/07/14 11:01:23 (permalink)
+4 (4)
"ICD2 has no 64 bits drivers. You should consider ICD3 and MPLAB X" - that's not right!
ICD2 has 64 bits drivers. "c:\Program Files (x86)\Microchip\MPLAB IDE\Drivers64" . This driver works ok on Vista-64 and Win7x64 (my experience with ICD2 confirmed it). You have to install it manually. See the Microchip's recommendations : "c:\Program Files (x86)\Microchip\MPLAB IDE\Drivers64\Vista64\ddvista64_icd2.htm". The one important thing you have to know is that you have to have the only ICD2 that supported 64 bit drivers. Only Release 3 and Release 4 (R3/R4, see on the back side of ICD2) support the Windows x64 drivers. The P/N of R4 is 10-00397. The old release (R13,P/N 10-00319) does not support Windows x64 drivers.
 
Regards.
#4
PStechPaul
Super Member
  • Total Posts : 2811
  • Reward points : 0
  • Joined: 2006/06/27 16:11:32
  • Location: Cockeysville, MD, USA
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2017/07/14 11:25:30 (permalink)
+2 (2)
Windows 10 will sometimes install a Microsoft driver if it thinks it is "best". Even if you had your preferred driver installed and working, after some of its updates it may reinstall its own driver without being polite and asking first. You may need to go through a good bit of malarkey to remove the M$ driver and install what is needed. I don't know if this applies to the ICD2.

 
#5
harafis
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2018/10/10 05:05:01
  • Location: 0
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2018/10/11 01:21:34 (permalink) ☄ Helpfulby neilw20 2019/11/27 08:30:41
+2 (2)
MPLAB under Windows10 works well with the ICD2 when the proper USB driver is installed.
By default Windows installs a "Microchip Win USB Device" driver, which does not allow access to the ICD2.
You need to manually install the "Microchip Custom USB Device" driver which is also present in the  ...\Microchip\MPLAB IDE\Drivers64\Vista64 folder.
This works well until a Windows update chooses to reinstall the wrong driver again. Then you have to do the manual installation again.
#6
neilw20
New Member
  • Total Posts : 2
  • Reward points : 0
  • Joined: 2012/03/22 23:53:12
  • Location: 0
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2019/11/27 08:33:09 (permalink)
+1 (1)
Once I got it going according to .html file in drivers folder all is good.
I had to disable windows driver, then redo as per "c:\Program Files (x86)\Microchip\MPLAB IDE\Drivers64\Vista64\ddvista64_icd2.htm" microchip documentation.
Now the next update, I will no doubt do it again.
 
Thanks all.
 
post edited by neilw20 - 2019/11/27 08:34:21
#7
hussaa1
New Member
  • Total Posts : 1
  • Reward points : 0
  • Joined: 2020/02/17 05:19:55
  • Location: 0
  • Status: offline
Re: ICD2 MPLAB IDE V8.92 Windows 10 64bits 2020/03/05 05:01:37 (permalink)
0
Hi Guys!
 
This thread helped me to install the ICD2 drivers eventually on my Windows 10 Pro from your suggested Driver64 folder but there was a catch. Through the Device Manager > Microchip tools > Microchip WinUSB Device driver update; I got two options to choose from when I opted to go with "Have Disk" to pick the driver from, on one PC and I got more than two option on another identical machine as follows;
 
  1. Microchip Custom USB Device
  2. Microchip WinUSB Device Version: 1.0.0.4[25/10/2012]
  3. Microchip WinUSB Device Version: 1.0.0.8[20/03/2018]
 
The only one that worked for me was option 1 - Microchip Custom USB device
Plus I had to update the ICD2 operating system file "ICD010120706.hex" for it to connect properly.
On another machine I had to use the wizard to setup the ICD2 properly before it connected to my PIC.
I hope it helps someone else getting their ICD2 going.
 
Thanks all.
#8
Jump to:
© 2020 APG vNext Commercial Version 4.5