Uninstalling Incorrect USB Device Drivers~ Datasheet by Microchip Technology
View All Related Products | Download PDF Datasheet
6‘
MICROCHIP
DEVELOPMENT SYSTEMS
2006-2011 Microchip Technology Inc. DS51417E-page 1
Uninstalling Incorrect USB Device Drivers
RECOMMENDED UNINSTALL METHODS
When using the Microchip development tools listed below, trouble may be experienced
as a result of incorrect device drivers being installed. If the Windows® Operating
System (OS) installs its default USB device drivers for a Microchip development tool,
the tool will not function properly, if at all.
It is recommended that each uninstall method be attempted in order based on your
Windows OS. If one does not work, proceed to the next uninstall method.
•Windows 2000 Installation Issues:
Solve problems when installing the drivers
•Automatic Update/Uninstall (Clean) Method – Windows 2000/XP, Vista:
Use cleaner utility
•Simple Uninstall Method – Windows 98/ME, 2000/XP, Vista, 7 (32-bit):
Delete from the Device Manager
•Simple Uninstall Method – Windows XP, Vista, 7 (64-bit):
Delete from the Device Manager
•Complex Uninstall Method – Windows 98/ME, 2000/XP, Vista (32-bit):
Edit the Registry
•Complex Uninstall Method – Windows XP, Vista (64-bit):
Edit the Registry
Tool
Windows® OS USB Support
32-Bit OS
98/ME, 2000/XP, Vista, 7 64-Bit OS
XP, Vista, 7
MPLAB® ICD 2 in-circuit debugger* X P/N 10-00397
MPLAB ICD 3 in-circuit debugger X X
MPLAB ICE 2000 in-circuit emulator
(with optional USB Converter) XX
MPLAB ICE 4000 in-circuit emulator X
MPLAB REAL ICE™ in-circuit emulator X X
MPLAB PM3 device programmer X P/N 10-00398
PIC32MX Starter Kit X X
* If you have installed the MPLAB ICD 2 drivers and been able to communicate without errors
initially, but then have experienced communication problems, reinstalling the drivers may not
solve your problems. Please refer to the MPLAB ICD 2 on-line help for possible software
solutions before attempting to uninstall/reinstall the drivers.

Development Systems
DS51417E-page 2 2006-2011 Microchip Technology Inc.
WINDOWS 2000 INSTALLATION ISSUES
A patch on the Microsoft windows update site may help if you are experiencing a
problem with loading the MPLAB ICD 2 USB drivers. The patch is applicable to those
who have updated to Windows 2000 SP4. Here is the comment from Microsoft:
“Some driver installation programs don’t work on Windows 2000 (W2K) after you install
either Critical Update QFE 813044 or W2K Server SP4. The installation does not
succeed and you receive an incorrect error that no drivers are available for the device.”
The patch can be found at:
http://www.microsoft.com/downloads/details.aspx?displaylang=
en&familyid=7C896E82-4B50-44C8-A634-3227C0E71293
AUTOMATIC UPDATE/UNINSTALL (CLEAN) METHOD – WINDOWS 2000/XP, VISTA
For Windows 2000, Windows XP 32-bit and Windows Vista 32-bit, please attempt to
automatically update and, if needed, clean your system using the following utilities. At
this time, there is no automatic clean for Windows 7 32-bit.
The Update utility (MPUsbIRU.exe) found, by default, in:
C:\Program Files\Microchip\MPLAB IDE\Utilities\MPUsbIRU
The Clean utility (MPUsbClean.exe) found, by default, in:
C:\Program Files\Microchip\MPLAB IDE\Utilities\MPUsbClean
For instructions on the use of these utilities, see the Update_Clean.htm file found,
by default, in:
C:\Program Files\Microchip\MPLAB IDE\Utilities\MPUsbClean\MPUsbDocs
If this does not work, or if you have a different Windows OS, follow the other manual
uninstall instructions listed in this document.
SIMPLE UNINSTALL METHOD – WINDOWS 98/ME, 2000/XP, VISTA, 7 (32-BIT)
If the automatic method did not work or was not applicable, try this simple method
before using the complex method of uninstall.
First remove the reference to the USB device from the Device Manager. Then install
the correct Microchip USB device drivers.
Removing the Incorrect USB Drivers
At this time, the PC system should be booted up and idle. Also, the development tool
should be plugged into a PC USB port.
1. Right click (right mouse button) on the “My Computer” icon on the PC desktop.
Select “Properties” to bring up the System Properties dialog.
2. Open the Device Manager.
• For Windows 98/ME: Click on the Device Manager tab.
• For Windows 2000/XP: Click on the Hardware tab and then click on the
Device Manager button to open the Device Manager window.
• For Windows Vista/7: Under “Tasks”, click on “Device Manager”.
Note: For Windows Vista, this method is also covered in the “USB Device Driver
Installation Instructions” HTML file, found in the Drivers subdirectory of
the relevant MPLAB IDE tool directory.

Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 3
3. Click on the “+” to expand either “Other Devices” or “Universal Serial Bus con-
trollers” and find a “?” with a yellow “!” or red “X” through it. It should say “USB
Device” or something similar.
4. Click once on this device to select it, and then right click on this device and select
“Uninstall” from the drop-down menu. Click OK on the warning.
Installing the Correct USB Drivers
1. Click on Start on the menu bar. Then select “Settings” and “Control Panel”, or
just “Control Panel”.
2. In the Control Panel, double click on “Add/Remove Hardware” or “Add
Hardware”.
3. On the “Welcome” screen, click Next. Then click on the Add button and again
click Next.
4. At this point (after the system does some searching), it should say that it found
new hardware, i.e., the Add New Hardware wizard should appear.
5. Click Next on the Add New Hardware wizard. Then select the “Search” option
and again click Next.
6. Uncheck all the boxes and then check only the one that says “Specify a location”.
Click Next.
7. The opportunity will then be given to Browse. For the standard MPLAB IDE
install, find the following directory and click OK:
C:\Program Files\Microchip\MPLAB IDE\Tool\Drivers
where Tool = development tool (e.g., ICD2.)
Exception: MPLAB ICE 2000 USB converter drivers are found in:
C:\Program Files\Microchip\MPLAB IDE\ICE 2000\Drivers\USB
8. Click Open. The wizard should say that it found a driver. Click Next.
9. Click Finish on the next screen. The wizard should say that it found the Firmware
Loader or Firmware Client, depending on which was missing.
10. Once this is done, a prompt may ask for an indication of where the appropriate
.SYS file (ToolNameWinVersion.Sys) is located. Browse to the directory in
step 7, which contains that file. Then click Next or OK and follow any other
instructions until “Finished”.
11. Now look in the “Device Manager” under either “Microchip Tools” or “Universal
Serial Bus controllers” and the “Microchip Toolname Firmware Client” should be
listed.
Note: If unsure which device listed is the tool being used, unplug the tool and
see which one disappears. Then plug the tool back in to see it
reappear.
Note: DO NOT unplug the tool from the USB port at this time. Leave it
plugged in.

Development Systems
DS51417E-page 4 2006-2011 Microchip Technology Inc.
SIMPLE UNINSTALL METHOD – WINDOWS XP, VISTA, 7 (64-BIT)
If the automatic method did not work or was not applicable, try this simple method
before using the complex method of uninstall.
First remove the reference to the USB device from the Device Manager. Then install
the correct Microchip USB device drivers.
Removing the Incorrect USB Drivers
At this time, the PC system should be booted up and idle. Also, the development tool
should be plugged into a PC USB port.
1. Right click (right mouse button) on the “My Computer” icon on the PC desktop.
Select “Properties” to bring up the System Properties dialog.
2. Open the Device Manager (Under “Tasks” click on “Device Manager”.)
3. Click on the “+” to expand either “Other Devices” or “Universal Serial Bus con-
trollers” and find a “?” with a yellow “!” or red “X” through it. It should say “USB
Device” or something similar.
4. Click once on this device to select it, and then right click on this device and select
“Uninstall” from the drop-down menu. Click OK on the warning.
Installing the Correct USB Drivers
1. Click on Start on the menu bar. Then select “Control Panel”.
2. In the Control Panel, double click on “Add Hardware”.
3. On the “Welcome” screen click Next.
4. Select “Install from a List...” and click Next.
5. Select “Custom USB Devices” and click Next.
6. Select “Microchip Custom USB Device” if it is listed. If not, click Have Disk. For
the standard MPLAB IDE install, find the following directory and click OK:
C:\Program Files\Microchip\MPLAB IDE\Drivers64
7. Click Open. The wizard should say that it found a driver. Click Next.
8. Click Finish on the next screen. The wizard should say that it found the Firmware
Loader or Firmware Client, depending on which was missing.
9. When this is done, a prompt may ask where the appropriate .SYS file (Tool-
NameWinVersion.Sys) is located. Browse to the directory in step 7 that contains
that file. Then click Next or OK and follow any other instructions until “Finished”.
10. Now, look in the “Device Manager” under “Custom USB Devices” and the
“Microchip Custom USB Device” should be listed.
Note: This method is also covered in the “USB Device Driver Installation
Instructions” HTML file, found in: C:\Program
Files\Microchip\MPLAB IDE\Driver64\OS64,
where OS is your operating system, e.g., XP64.
Note: If unsure which device listed is the tool being used, unplug the tool and
see which one disappears. Then plug the tool back in to see it
reappear.
Note: DO NOT unplug the tool from the USB port at this time. Leave it
plugged in.
Start>Run
: rm 3.: name nf auroral", may, dumnlenk. 91
moms rename, GM WM»! WI oven R For My
I File>EXgon r Registm>EXQort Registry File
(‘ Salads-1 hlanrh
lHKEY_LEIEAL_MAEHINE\SDFTWARE\WHSEI
mm an; n
_> Save 'n U My Dncmems v J g y
& Adnbe
My afiDcks
My Hecm My MISC
Duiumams My Muss
A
6 P”
DeslrluD
My Documenls
r—
.I
My Eamuular
1/.
.‘
My Network Fl: name: .
mace:
Save a: type: ngmvdlun mes [' lag] v Benn!
W0" In”
t: AI
Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 5
COMPLEX UNINSTALL METHOD – WINDOWS 98/ME, 2000/XP, VISTA (32-BIT)
If the simple uninstall method did not fix the communications problem, the PC register
will have to be edited. This method will not work for Windows 7 systems.
First, the registry file needs to be backed up. Then the Windows default USB drivers
need to be uninstalled so that the correct Microchip tool USB drivers may be installed.
Backing Up the Registry
To back up the registry, administrative login privileges are necessary
(Windows 2000/XP/Vista) so that the Registry Editor can run.
1. From the PC desktop, select Start>Run. Enter REGEDT32 or REGEDIT.
2. In the Registry Editor, select File>Export (or Registry>Export Registry File) to
open the Export Register File dialog.
3. Find a location for the registry file. Then enter a File name. Ensure that “All” is
selected in the export settings. Click Save.
HKEY LOCAL MACH/NE>SYSTEM>
CurrentCanrIo/Se[>Enum>USB
Reg
.y x
Mg m m mm Heb
a 5 WWW A NW NE. m
a Hngvmssgsraum @me‘aum msz
a mmumwsm
E HKEViLEImLiMAEHWE
3 {i HARDWARE
3 4i SAM
{i szcumrv
3 {i SEIFTWARE
3 (I SVSTEM
r7 {i Eanha‘Selflm
E {i Eanha‘SelflUZ
t D cuuemcanumsn
i Emma
E! i Enum
E AEP‘
E AEPLHAL
i mam
rm:
E MD
ti HVREE
m {i \DE
{i \SAPNP
m D LFYENUM
i Pm
i mm
B mm
B mm
E SW
E USE
a mum
ti V‘dVEIEIEIELP‘nLEIEIEIEI
m {i v‘drnzmw‘dinsm
{i derfléfieLdeiflfldh
w h vmruofiewmjuahw
m {i vnmaewnnnahw
BEE
mm m my
Em,
4| namnwnfrmlr'l 4‘
I
McampmeywKmummmwEmsrEmcwemcmn‘s2Mmusawmmmuu
M;
Development Systems
DS51417E-page 6 2006-2011 Microchip Technology Inc.
Removing the Incorrect USB Drivers
1. Unplug the tool from the USB port.
2. In the Registry Editor, go to HKEY_LOCAL_MACHINE>SYSTEM>
CurrentControlSet>Enum>USB. Highlight the following key, depending on the
tool being used:
Tool Key
MPLAB® ICD 2 VID_04D8&PID_8000
MPLAB ICD 3 VID_04D8&PID_9009
MPLAB ICE 2000 VID_04D8&PID_9002
MPLAB ICE 4000 VID_04D8&PID_9000
MPLAB REAL ICE™ In-Circuit Emulator VID_04D8&PID_9004
MPLAB PM3 VID_04D8&PID_a001
PIC32MX Starter Kit VID_04D8&PID_00e0
t SecuritpPermiss/ons
g I v‘dZnsw Wm
damn/iv» me K R5157":
ALJ‘IMHINE\SV A
Cow Kev Name
PcrmlislunslnrVId_flld8kP _BMD x _7] 1]
52-211in
Isuzu a use! names
m Evelyunz
a} svs TEM
Add , Hume
Palmsmns in! :vayma
Fun Eunum
Read
Snecwal Permussmns
EIEIEI
Fol waculnum‘ssiomaHmMde sellius, _
gamma
UK Camel AW!
Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 7
3. For Windows 2000/XP/Vista, the permissions will need to be changed before the
key can be deleted.
a) Right click on the key and select “Permissions” (or select Security>Permissions.)
b) In Permissions for the key, ensure that “Everyone” is selected to Full Control.
Advanad Szumly Szltmqs rmvmjmamunm
gm
pm “MM DWI arm pamml
N W mm mm" m spams mm, mm WM" mm m m m
pmmmm
m_—__
: MH’ ”m m mm mm
Maw him; Read WWW; m: am We”
AHaw svsrw mu :nmm MAEHwnsvs rm keyand wthA/s
Add Edu Remav:
,— mm m Davenuhe Penman" enmes Mal $va m 9th HMS-2A: mm: these wuhenmes exvhcu‘y
dehned have
I— Rama-2: newsman em: ans“ chm ahecAswuh enmesshawn here Warsaw m chm awe-2A:
cm W
Development Systems
DS51417E-page 8 2006-2011 Microchip Technology Inc.
c) Ensure that the checkbox to allow inheritable permissions from parent to propa-
gate to this object is checked. This check box may be on the Advanced Security
Settings dialog (click the Advanced button) or may be on the main Permissions
dialog.
d) Click OK to set the new permissions.
4. Delete the highlighted key.
5. For some tools, an additional key needs to be removed. Highlight the following
key, depending on the tool being used:
6. For Windows 2000/XP/Vista, repeat step 3.
7. Delete the highlighted key.
Tool Key
MPLAB® ICD 2 VID_04D8&PID_8001
MPLAB ICE 4000 VID_04D8&PID_9001
PIC32MX Starter Kit VID_04D8&PID_00e1
Req m z m
AElzl
Mg m M Ame; "up
a 3 WWW Am A 92 m
a HfiLcmsssjooY @(DEAAA) Aim (W mA 520
HfiVichARENYJJSER
E! {i HKVJOCALVMACHINE
w m HAADWAAE
{i 5AM
sEcuRm
m 4i SOFTWARE
a A
{i lastKnawnGaadfiamvflV
4i MaunhedDewces
{i Se‘ett
{i Setup
{i HKVJJSERS
{i HKELCURRENLCONHG
\My (ampuzevwmocAA,MAmNasvsmmcnmmsemm
Al—l
RI;
Pk Ea V‘EW Favuvmes Van‘s He‘p
emviwam gag; A xm
Adam |E mwmoowsw
Seam camp-um x
m Mmzkw
Search by any 91 al mu: 3‘”, n,
mun. hzlnll. '
E mwNF
Aprivlufleknimu: Emomm
""f Emma.”
Awmdmphvsentheflle 36185me
vmjnompmjnm — E snaasw
Eacammr
lnpk m:
E w v
win" was it mndifizd?
E unuvaPNF
jutevsumnf
E ucevsunAPNF
3mm
E «me
Eava-umr
E adenquW
3mm" w
@ saucy: w
jawnmnr
m away»?
3apcnrwamnr
m apcnrwamr
Tammnw
b
What 5:1: IS l7 '
Mm: idvamzd mm p
L}-
Sh: v
ISKE Sutuplnfmmulmn
29m
am
we
ZKE
axe
3K5
axa
25KB
17KB
ma
ma
SKE
ma
am
we
ZKE
ma
ma
mm
«a
was
me
Fvummvflud Setup! A
Sump lnfnrmulmn
Pvutompflud Setup] A
Sump lnfnrmuhnn
Pvemmpflufl Saupl A
Sump lnfnrmuhnn
Pvemmpfled Setup L A A
Sump lnfuvmuhun
Pvuompflud Sflup L A A
Sump lnfuvmuhun
Fvuompflud Sflup L A A
Sump lnfumuhun
Pvuwmpflud Sflup L A A
Sump lnfumuhun
Pvummm‘ud Saup L A A
Sump Infumvallun
Pvuwmm‘ud Saup L A A
Sump Infnmvallnn
Pvummm‘ud Sump L A A
Sulup Infnmvallnn
Pvewwfled Sump L A A
Setup lnfnmvallnn
\m Ma
‘5 mumm- j
j a
Date Mndfhd
3/13/2nm5 DAM
3/m2nn2 mm AM
fills/2m! s-nn AM
3/!2/2nn2 mm M
fills/Zuni 5m AM
3/!2/2nn2 mu AM
fills/Zuni 5m AM
31l2l2un2 I AM
slxslzum sum AM
3/27I2um 1:13 pm
slxslzum smo AM
sllezunz 1 AM
slxslzum smo AM
slz7l2um 3:27 pm
slxslzum smo AM
sllezunz 1 AM
slxslzum 52m) AM
sllezunz lulu AM
sllslzum 52m) AM
slzflzum 1m PM
fills/Zuni smu AM
slzflzum 1:14 PM
ans/2m 51W AM
Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 9
8. Repeat steps 2 through 7 for directories ControlSetnnn (example:
ControlSet001). This will remove all key instances.
Under Win98, these keys may be located under different folders. All instances of
these keys must be removed from the registry.
9. Exit the Registry Editor and open Windows Explorer.
10. Go to Windows\INF (or Winnt\INF.) Use the File Search to search this
directory, and all subsequent subdirectories, for all .INF files that contain
reference to the following:
• The keys specified in step 2 and step 5

Development Systems
DS51417E-page 10 2006-2011 Microchip Technology Inc.
11. Write down the INF file names that you find. You will delete these files, but you
will also need to delete corresponding files with PNF extensions. For example, if
OEM26.INF is deleted, OEM26.PNF will also need to be deleted, if it exists. PNF
files are not text files and cannot be searched like INF files.
12. Delete these files.
13. Go to one of the following:
•Windows\system32\drivers
•Winnt\system32\drivers
and delete the ToolNameWinVersion*.Sys files, where ToolName = abbreviated
name of the tool and WinVersion = abbreviated name of Windows version. Under
Windows XP, WinVersion = 2k.
Example: For MPLAB ICD 2 on a Windows 2000 system:
• icd2w2k.sys
• icd2w2kL.sys
14. Reboot the system.
Installing the Correct USB Drivers
Before plugging in the tool to a USB port, check/do the following:
1. Install the latest MPLAB IDE so that the latest device drivers and INF file are in
the MPLAB IDE drivers subdirectory.
2. Install the latest service packs for the OS.
3. Ensure that the administrator mode is active, with all rights and privileges turned
on for the system and registry (Windows 2000/XP/Vista).
4. Disconnect from any networks.
Plug the tool being used into a USB port. This port should be one of the following:
• The primary USB port on the system.
• An add-in card, which acts like a motherboard USB port
• A powered hub
The Add New Hardware wizard should come up, the INF file should be accessible and
the loader and client drivers should come up OK.
I StarbSearch
vmgum;
mam
mm
[rtrznmems
Rama:
Mm
Fezentkem:
k mm
New/Mk
AinnnEnTcr
(an mam
[mmvmgum
He‘nindfiuflpun
, Sezkh Every/mire
, Sezvm ‘Hekmemzt
I RegistIpExQon Registry Fi/e
Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 11
COMPLEX UNINSTALL METHOD – WINDOWS XP, VISTA (64-BIT)
If the simple uninstall method did not fix the communications problem, the PC register
will have to be edited. This method will not work for Windows 7 systems.
First, the registry file needs to be backed up. Then the Windows default USB drivers
need to be uninstalled so that the correct Microchip tool USB drivers may be installed.
Backing Up the Registry
To back up the registry, administrative login privileges are necessary so that the
Registry Editor can run.
1. From the PC desktop, select Start>Search and enter REGEDIT. Double click on
REGEDIT in the Programs list to launch.
2. In the Registry Editor, select Registry>Export Registry File to open the Export
Register File dialog.
Search
mum RED
n
—’ Sava'n uMyDncumem V J 5 P E'
& Adnbe
My gawk;
My Recent My Musm
Documenk My Mugs
6 FDA
Desuw
Mytumpum
T‘
Myummk Fluname:
”3"“ 5mm [W] W
xpanange
“Al
F Sal-mad hlanrh
|HKEY_LEIEAL_MN:H\NE\SDFTWAHE\WmISEI
HKEY LOCAL MACHINE>SYSTEM>
CurrentContm/Sel>Enum>USB
Development Systems
DS51417E-page 12 2006-2011 Microchip Technology Inc.
3. Find a location for the registry file. Then enter a file name. Ensure that “All” is
selected in the export settings. Click Save.
Removing the Incorrect USB Drivers
1. Unplug the tool from the USB port.
2. In the Registry Editor, go to HKEY_LOCAL_MACHINE>SYSTEM>
CurrentControlSet>Enum>USB. Highlight the following key, depending on the
tool being used:
Tool Key
MPLAB® ICD 2 VID_04D8&PID_8000
MPLAB ICD 3 VID_04D8&PID_9009
MPLAB ICE 2000 VID_04D8&PID_9002
MPLAB ICE 4000 VID_04D8&PID_9000
MPLAB REAL ICE™ In-Circuit Emulator VID_04D8&PID_9004
MPLAB PM3 VID_04D8&PID_a001
PIC32MX Starter Kit VID_04D8&PID_00e0
Reg ly E m
Me an Vew Favames Heb
BEE
a Hnsmssisfium alum“, Rm
E HKEVJZLlRRENLLlSER
E HKEViLEImLiMAEHWE
3 E HARDWARE
3 E SAM
E szcumrv
3 E SEIFTWARE
3 E SVSTEM
r7 E Eanha‘Selflm
E E Eanha‘SelflUZ
t E cuuemcanumsn
i Emma
E! i Enum
E AEP‘
E AEPLHAL
E D‘SPLAV
rm:
E MD
E HVREE
m E \DE
E \SAPNP
w E LFYENUM
E Pm
E PEHDE
E Hum
E stAfiE
E sw
E USE
E RnnLHuB
ti V‘dVEIEIEIELP‘nLEIEIEIEI
m E v‘drnzmw‘dinsm
E vmrnoaew‘djndh
w E vmruofiewmjuahw
m E vnmaewnnnahw
E w Emma unaa
Emmawwum v
nhwnww
4| F Ll" 4‘
a g Mycnmvum A Name My: Data
McampmeywKmummmwEmsrEmcwemcmn‘s2Mmusawmmmuu
.4
¢
t SecuritpPermiss/ons
A i magma:
g I v‘dfiu Wm
mm.» mel‘u Rm,“
ALJ‘IMHINE\SVS A
Cow Kev Name
Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 13
3. The permissions will need to be changed before the key can be deleted.
a) Right click on the key and select “Permissions” (or select Security>Permissions.)
Permissmn; lnr v.d_mdakm_snnn ‘ 31]
5m» |
Lama a use! names
a Evelyune
msvsTEM
Add Hemave
Palmsmns rm Evevyma Deny
Fun Comm
Head
Suemal Pevmlmnnx
Fm maul pumuions av ray advanced settings,
nick Adar-zed AWN“
UK Ceme‘ Andy
Advanad Szmrlly Szltmqs rmvmjmamunm
pm 1 MM DWI arm pamml
Ta mew Mme mrmmamn sham Spema pevmssmm, 82‘ch apewman znhy,and men dmk Edu
pmmn ”vine:
M
mum E Ewan? Fuutmnm mmw m mm Nb}?
AHuw news Read mama vs Yhnkeyandmbkeye
AHaw svsrw mu :nmm MAEHwnsvs rm keyand wthA/s
,7 mm m Davenuhe Penman" enmes Mal $va m 9th HMS-2A: mm: these wuhenmes exvhcu‘y
dehned have
I— Rama-2: newsman em: ans“ chm ahecAswuh enmesshawn here Warsaw m chm awe-2A:
cm W
Development Systems
DS51417E-page 14 2006-2011 Microchip Technology Inc.
b) In Permissions for the key, ensure that “Everyone” is selected to Full Control.
c) Ensure that the checkbox to allow inheritable permissions from parent to propa-
gate to this object is checked. This check box may be on the Advanced Security
Settings dialog (click the Advanced button) or may be on the main Permissions
dialog.
d) Click OK to set the new permissions.
u: stry a nr V1,.
H‘s m: m mamas new
AElzl
m 3 WWW Mm , 99 m
a HfiLcmsssjooY @(wmo Ram (W m 520
HKV7CURRENY7USER
E! {i HKVJOCALVMACHINE
w m HARDWARE
{i SAM
sEcuRm
m 4i soFrwnwE
{i lastKnawnGaadfiemveW
4i MaunhedDewces
{i Se‘ett
{i Setup
{i HKVJJSERS
{i HKELCURRENLCONHG
4
\My (ampuzevwmom,Mnmwasvsmmcnmmsemm
st
Uninstalling Incorrect USB Device Drivers
2006-2011 Microchip Technology Inc. DS51417E-page 15
4. Delete the highlighted key.
5. For some tools, an additional key needs to be removed. Highlight the following
key, depending on the tool being used:
6. Repeat step 3.
7. Delete the highlighted key.
8. Repeat steps 2 through 7 for directories ControlSetnnn (example:
ControlSet001). This will remove all key instances.
9. Exit the Registry Editor and open Windows Explorer.
10. Go to one of the following:
•Windows\syswow64\drivers
•Windows\system32\drivers
And delete the following .SYS files:
• mchpusb.sys
• mchpusb64.sys
11. Reboot the system.
Tool Key
MPLAB® ICD 2 VID_04D8&PID_8001
MPLAB ICE 4000 VID_04D8&PID_9001
PIC32MX Starter Kit VID_04D8&PID_00e1

Development Systems
DS51417E-page 16 2006-2011 Microchip Technology Inc.
Installing the Correct USB Drivers
Before plugging the tool into a USB port, check/do the following:
1. Install the latest MPLAB IDE so that the latest device drivers and INF file are in
the MPLAB IDE subdirectory Drivers64.
2. Install the latest service packs for the OS.
3. Ensure that the administrator mode is active, with all rights and privileges turned
on for the system and registry.
4. Disconnect from any networks.
Plug the tool being used into a USB port. This port should be one of the following:
• The primary USB port on the system.
• An add-in card, which acts like a motherboard USB port
• A powered hub
The Add New Hardware wizard should come up, the INF file should be accessible and
the loader and client drivers should come up.
QUALITY MANAGEMENT SYSTEM
CERTIFIED BY DNV
= ISO/TS 169492009:
(2
2006-2011 Microchip Technology Inc. DS51417E-page 17
Information contained in this publication regarding device
applications and the like is provided only for your convenience
and may be superseded by updates. It is your responsibility to
ensure that your application meets with your specifications.
MICROCHIP MAKES NO REPRESENTATIONS OR
WARRANTIES OF ANY KIND WHETHER EXPRESS OR
IMPLIED, WRITTEN OR ORAL, STATUTORY OR
OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION,
QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability
arising from this information and its use. Use of Microchip
devices in life support and/or safety applications is entirely at
the buyer’s risk, and the buyer agrees to defend, indemnify and
hold harmless Microchip from any and all damages, claims,
suits, or expenses resulting from such use. No licenses are
conveyed, implicitly or otherwise, under any Microchip
intellectual property rights.
Trademarks
The Microchip name and logo, the Microchip logo, dsPIC,
KEELOQ, KEELOQ logo, MPLAB, PIC, PICmicro, PICSTART,
PIC32 logo, rfPIC and UNI/O are registered trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
FilterLab, Hampshire, HI-TECH C, Linear Active Thermistor,
MXDEV, MXLAB, SEEVAL and The Embedded Control
Solutions Company are registered trademarks of Microchip
Technology Incorporated in the U.S.A.
Analog-for-the-Digital Age, Application Maestro, chipKIT,
chipKIT logo, CodeGuard, dsPICDEM, dsPICDEM.net,
dsPICworks, dsSPEAK, ECAN, ECONOMONITOR,
FanSense, HI-TIDE, In-Circuit Serial Programming, ICSP,
Mindi, MiWi, MPASM, MPLAB Certified logo, MPLIB,
MPLINK, mTouch, Omniscient Code Generation, PICC,
PICC-18, PICDEM, PICDEM.net, PICkit, PICtail, REAL ICE,
rfLAB, Select Mode, Total Endurance, TSHARC,
UniWinDriver, WiperLock and ZENA are trademarks of
Microchip Technology Incorporated in the U.S.A. and other
countries.
SQTP is a service mark of Microchip Technology Incorporated
in the U.S.A.
All other trademarks mentioned herein are property of their
respective companies.
© 2006-2011, Microchip Technology Incorporated, Printed in
the U.S.A., All Rights Reserved.
Printed on recycled paper.
ISBN: 978-1-61341-260-2
Note the following details of the code protection feature on Microchip devices:
• Microchip products meet the specification contained in their particular Microchip Data Sheet.
• Microchip believes that its family of products is one of the most secure families of its kind on the market today, when used in the
intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these methods, to our
knowledge, require using the Microchip products in a manner outside the operating specifications contained in Microchip’s Data
Sheets. Most likely, the person doing so is engaged in theft of intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code protection does not
mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection features of our
products. Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts
allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act.
Microchip received ISO/TS-16949:2002 certification for its worldwide
headquarters, design and wafer fabrication facilities in Chandler and
Tempe, Arizona; Gresham, Oregon and design centers in California
and India. The Company’s quality system processes and procedures
are for its PIC® MCUs and dsPIC® DSCs, KEELOQ® code hopping
devices, Serial EEPROMs, microperipherals, nonvolatile memory and
analog products. In addition, Microchip’s quality system for the design
and manufacture of development systems is ISO 9001:2000 certified.
6‘
‘MICRDCHIP
DS51417E-page 18 2006-2011 Microchip Technology Inc.
AMERICAS
Corporate Office
2355 West Chandler Blvd.
Chandler, AZ 85224-6199
Tel: 480-792-7200
Fax: 480-792-7277
Technical Support:
http://www.microchip.com/
support
Web Address:
www.microchip.com
Atlanta
Duluth, GA
Tel: 678-957-9614
Fax: 678-957-1455
Boston
Westborough, MA
Tel: 774-760-0087
Fax: 774-760-0088
Chicago
Itasca, IL
Tel: 630-285-0071
Fax: 630-285-0075
Cleveland
Independence, OH
Tel: 216-447-0464
Fax: 216-447-0643
Dallas
Addison, TX
Tel: 972-818-7423
Fax: 972-818-2924
Detroit
Farmington Hills, MI
Tel: 248-538-2250
Fax: 248-538-2260
Indianapolis
Noblesville, IN
Tel: 317-773-8323
Fax: 317-773-5453
Los Angeles
Mission Viejo, CA
Tel: 949-462-9523
Fax: 949-462-9608
Santa Clara
Santa Clara, CA
Tel: 408-961-6444
Fax: 408-961-6445
Toronto
Mississauga, Ontario,
Canada
Tel: 905-673-0699
Fax: 905-673-6509
ASIA/PACIFIC
Asia Pacific Office
Suites 3707-14, 37th Floor
Tower 6, The Gateway
Harbour City, Kowloon
Hong Kong
Tel: 852-2401-1200
Fax: 852-2401-3431
Australia - Sydney
Tel: 61-2-9868-6733
Fax: 61-2-9868-6755
China - Beijing
Tel: 86-10-8569-7000
Fax: 86-10-8528-2104
China - Chengdu
Tel: 86-28-8665-5511
Fax: 86-28-8665-7889
China - Chongqing
Tel: 86-23-8980-9588
Fax: 86-23-8980-9500
China - Hangzhou
Tel: 86-571-2819-3180
Fax: 86-571-2819-3189
China - Hong Kong SAR
Tel: 852-2401-1200
Fax: 852-2401-3431
China - Nanjing
Tel: 86-25-8473-2460
Fax: 86-25-8473-2470
China - Qingdao
Tel: 86-532-8502-7355
Fax: 86-532-8502-7205
China - Shanghai
Tel: 86-21-5407-5533
Fax: 86-21-5407-5066
China - Shenyang
Tel: 86-24-2334-2829
Fax: 86-24-2334-2393
China - Shenzhen
Tel: 86-755-8203-2660
Fax: 86-755-8203-1760
China - Wuhan
Tel: 86-27-5980-5300
Fax: 86-27-5980-5118
China - Xian
Tel: 86-29-8833-7252
Fax: 86-29-8833-7256
China - Xiamen
Tel: 86-592-2388138
Fax: 86-592-2388130
China - Zhuhai
Tel: 86-756-3210040
Fax: 86-756-3210049
ASIA/PACIFIC
India - Bangalore
Tel: 91-80-3090-4444
Fax: 91-80-3090-4123
India - New Delhi
Tel: 91-11-4160-8631
Fax: 91-11-4160-8632
India - Pune
Tel: 91-20-2566-1512
Fax: 91-20-2566-1513
Japan - Yokohama
Tel: 81-45-471- 6166
Fax: 81-45-471-6122
Korea - Daegu
Tel: 82-53-744-4301
Fax: 82-53-744-4302
Korea - Seoul
Tel: 82-2-554-7200
Fax: 82-2-558-5932 or
82-2-558-5934
Malaysia - Kuala Lumpur
Tel: 60-3-6201-9857
Fax: 60-3-6201-9859
Malaysia - Penang
Tel: 60-4-227-8870
Fax: 60-4-227-4068
Philippines - Manila
Tel: 63-2-634-9065
Fax: 63-2-634-9069
Singapore
Tel: 65-6334-8870
Fax: 65-6334-8850
Taiwan - Hsin Chu
Tel: 886-3-6578-300
Fax: 886-3-6578-370
Taiwan - Kaohsiung
Tel: 886-7-213-7830
Fax: 886-7-330-9305
Taiwan - Taipei
Tel: 886-2-2500-6610
Fax: 886-2-2508-0102
Thailand - Bangkok
Tel: 66-2-694-1351
Fax: 66-2-694-1350
EUROPE
Austria - Wels
Tel: 43-7242-2244-39
Fax: 43-7242-2244-393
Denmark - Copenhagen
Tel: 45-4450-2828
Fax: 45-4485-2829
France - Paris
Tel: 33-1-69-53-63-20
Fax: 33-1-69-30-90-79
Germany - Munich
Tel: 49-89-627-144-0
Fax: 49-89-627-144-44
Italy - Milan
Tel: 39-0331-742611
Fax: 39-0331-466781
Netherlands - Drunen
Tel: 31-416-690399
Fax: 31-416-690340
Spain - Madrid
Tel: 34-91-708-08-90
Fax: 34-91-708-08-91
UK - Wokingham
Tel: 44-118-921-5869
Fax: 44-118-921-5820
Worldwide Sales and Service
05/02/11
Products related to this Datasheet
MPLAB ICD 4 IN-CIRCUIT DEBUGGER