Swap USB Drivers Between MPLAB 8 and MPLAB X

Screenshots are outdated. The ICD2 is NOT supported by MPLAB X IDE

 Selecting the New Drivers

MPLAB X TV Channel on YouTube

 Step-by-Step

While it is possible to have both MPLAB® IDE 8 and MPLAB X IDE installed on the same Windows® based system, they use different USB drivers to communicate with our tools. MPLAB X IDE uses Microsoft's generic WinUSB driver while MPLAB 8 and earlier uses a set of proprietary drivers. As such, if you wish to use both versions of MPLAB on the same system (for example, to support legacy code in its original environment), you will have to switch USB drivers each time you move between MPLAB versions.

There are two methods you can use for switching drivers: a switcher utility program that is installed with MPLAB or manually using the Windows built-in driver maintenance process.

Drivers are switched on a per serial number basis which means that a different driver may be associated with every tool connected to the system. For example, if you have two ICD3s, you must switch the driver for each of them if you wish to use them both in MPLAB X. In other words, you must switch the driver for all tools in the family to use all of them in MPLAB X. This was done so that you could have one ICD3 with the old driver connected to MPLAB 8 and one ICD3 with the new driver connected to MPLAB X and have the two IDEs running simultaneously. The same holds true for the other tools except for the PICKit 2 and 3 which use the standard Human Interface driver found on all systems.

Swapping Drivers with the Switcher Utility

1

Ensure that the tool of interest is already connected to your PC via a USB cable. If you run the switcher without the tool connected, the driver will not be switched.

2

After installing MPLAB X, the switcher utility can typically be found on the desktop or in the Start menu under Programs > Microchip > MPLAB X IDE > MPLAB Driver Switcher. You can also launch the program directly by double clicking on its icon where it resides:
32-bit Windows: C:\Program Files\Microchip\MPLAB X IDE\Switcher\32bit\MPDDSwich32.exe
64-bit Windows: C:\Program Files\Microchip\MPLAB X IDE\Switcher\64bit\MPDDSwich64.exe

DriverSwitcher.png

3

Select the tool whose driver you wish to switch under "Tool Group and Action" and the driver you wish to use under "Group Driver Selection to be Applied". Do this for each tool you wish to switch. Then click on the "Apply All" button.

  • MPLAB 8 will switch the driver to the MPLAB 8 driver no matter which one is currently being used.
  • MPLAB X will switch the driver to the MPLAB X driver no matter which one is currently being used.
  • No Change will leave in place whichever driver is currently being used. No change will be made.

If you installed MPLAB X in a non-default location, you may need to click on the Advanced » button and specify the locations of the *.inf files.

4

It may take a minute or more to switch the drivers. In the end, you should see "no error" in the text box for each driver you switched.

DriverSwitcher2.png

Swapping Drivers Manually

1

Open the device manager and select the MicrochipTools category.

  • Right click on My Computer and select Properties from the pop-up menu OR run System from the control panel.
  • Select the Hardware tab.
  • Click on the Device Manager button.
  • Expand the MicrochipTools category by clicking on the + on its left.

2

Right click on the entry under MicrochipTools that represents the tool whose driver you wish to change and select Update Driver… from the pop-up menu.
If you are switching from MPLAB 8 to MPLAB X, you will see Microchip <tool name>.
If you are switching from MPLAB X to MPLAB 8, you will see Microchip WinUSB Device (regardless of which USB tool you are using).

MPLAB 8 » MPLAB X

DeviceManager(REALICE).png

MPLAB X » MPLAB 8

DeviceManager(WinUSB).png

3

Can Windows connect to Windows Update to search for software?

  • No, not this time

Hardware Update Wizard 1

UpdateDriver1.png

4

What do you want the wizard to do?

  • Install from a list or a specific location (Advanced)

Hardware Update Wizard 2

UpdateDriver2.png

5

Please choose your search and installation options.
Select the SECOND radio button.

  • Don't search. I will choose the driver to install.

If you choose the wrong radio button in this step, the driver switch will fail without any notification.

Hardware Update Wizard 3

UpdateDriver3.png

6

Select the device driver you want to install for this hardware.
Select the driver you want from the list:

  • From MPLAB 8 to MPLAB X: Microchip WinUSB Device
  • From MPLAB X to MPLAB 8: Microchip 'MPLAB REAL ICE'

If the desired driver doesn't appear in the list, click on the Have Disk… button and select one of the following *.inf files:

  • For switching from MPLAB 8 to MPLAB X:
    C:\Program Files\Microchip\MPLAB X IDE\Switcher\32Bit\winusb\x86\MCHPWinUSBDevice.inf
  • For switching from MPLAB X to MPLAB 8:
    C:\Program Files\Microchip\MPLAB IDE\REAL ICE\Drivers\RealICEBulk.inf

Hardware Update Wizard 4

UpdateDriver4.png

7

Once the desired driver is in the list, select it (if there are more than one) and click on the Next button.

MPLAB 8 » MPLAB X

UpdateDriver5(WinUSB).png

MPLAB X » MPLAB 8

UpdateDriver5(REALICE).png

8

The final window should now show the driver currently installed. Click the Finish button to complete the process.

MPLAB 8 » MPLAB X

UpdateDriver6(WinUSB).png

MPLAB X » MPLAB 8

UpdateDriver6(REALICE).png
© 2024 Microchip Technology, Inc.
Notice: ARM and Cortex are the registered trademarks of ARM Limited in the EU and other countries.
Information contained on this site 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.