For ATMEGA beginner user, installation of USB-ASP in Windows 10 can be tiresome. USBASP Device is inteded to work with 32 bits yet our current PC Windows 10 is mostly 64 bit. So extra steps are needed for a particular USB port. If you have installed USBASP on one of the a physical ports, you need to remember which port that you have installed with. Installs the Intel® Serial IO host controller driver version 1.3 for Intel® NUCs. The Intel Serial IO driver is required if you plan to use the I2C, UART, or GPIO host controllers. Not sure if this is the right driver for your Intel NUC? Run Intel® Driver & Support Assistant to automatically detect driver updates. Open Start Settings Devices Printers & scanners. Select the name of the printer, and then choose Remove device. To reinstall the printer, select Add a printer or scanner and then select the name of the printer you want to add. If Windows doesn’t automatically find a new driver after the printer is added, look for one on the device. Right-click on your PC Start button and open Device Manager Double click LPT and COM ports then locate the Prolific USB to Serial Driver and right-click it so you can select Update Driver For driver software click My computer From My computer select 'Let me pick from a list of drivers available'. In the Arduino IDE when the CH340 is connected you will see a COM Port in the Tools Serial Port menu, the COM number for your device may vary depending on your system. Older Windows Driver Version and Instructions. Download the Windows CH340 Driver; Unzip the folder. If you are running a 64Bit Windows: – run the SETUP64.EXE installer.
-->For certain Universal Serial Bus (USB) devices, such as devices that are accessed by only a single application, you can install WinUSB (Winusb.sys) in the device's kernel-mode stack as the USB device's function driver instead of implementing a driver.
This topic contains these sections:
Automatic installation of WinUSB without an INF file
As an OEM or independent hardware vendor (IHV), you can build your device so that the Winusb.sys gets installed automatically on Windows 8 and later versions of the operating system. Such a device is called a WinUSB device and does not require you to write a custom INF file that references in-box Winusb.inf.
When you connect a WinUSB device, the system reads device information and loads Winusb.sys automatically.
For more information, see WinUSB Device.
Installing WinUSB by specifying the system-provided device class
When you connect your device, you might notice that Windows loads Winusb.sys automatically (if the IHV has defined the device as a WinUSB Device). Otherwise follow these instructions to load the driver:
- Plug in your device to the host system.
- Open Device Manager and locate the device.
- Select and hold (or right-click) the device and select Update driver software... from the context menu.
- In the wizard, select Browse my computer for driver software.
- Select Let me pick from a list of device drivers on my computer.
- From the list of device classes, select Universal Serial Bus devices.
- The wizard displays WinUsb Device. Select it to load the driver.
If Universal Serial Bus devices does not appear in the list of device classes, then you need to install the driver by using a custom INF.The preceding procedure does not add a device interface GUID for an app (UWP app or Windows desktop app) to access the device. You must add the GUID manually by following this procedure.
Load the driver as described in the preceding procedure.
Generate a device interface GUID for your device, by using a tool such as guidgen.exe.
Find the registry key for the device under this key:
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetEnumUSB<VID_vvvv&PID_pppp>
Under the Device Parameters key, add a String registry entry named DeviceInterfaceGUID or a Multi-String entry named DeviceInterfaceGUIDs. Set the value to the GUID you generated in step 2.
Disconnect the device from the system and reconnect it to the same physical port.Note If you change the physical port then you must repeat steps 1 through 4.
Writing a custom INF for WinUSB installation
As part of the driver package, you provide an .inf file that installs Winusb.sys as the function driver for the USB device.
The following example .inf file shows WinUSB installation for most USB devices with some modifications, such as changing USB_Install in section names to an appropriate DDInstall value. You should also change the version, manufacturer, and model sections as necessary. For example, provide an appropriate manufacture's name, the name of your signed catalog file, the correct device class, and the vendor identifier (VID) and product identifier (PID) for the device.
Also notice that the setup class is set to 'USBDevice'. Vendors can use the 'USBDevice' setup class for devices that do not belong to another class and are not USB host controllers or hubs.
If you are installing WinUSB as the function driver for one of the functions in a USB composite device, you must provide the hardware ID that is associated with the function, in the INF. You can obtain the hardware ID for the function from the properties of the devnode in Device Manager. The hardware ID string format is 'USBVID_vvvv&PID_pppp'.
The following INF installs WinUSB as the OSR USB FX2 board's function driver on a x64-based system.
Starting in Windows 10, version 1709, the Windows Driver Kit provides InfVerif.exe that you can use to test a driver INF file to make sure there are no syntax issues and the INF file is universal. We recommened that you provide a universal INF. For more information, see Using a Universal INF File.
Only include a ClassInstall32 section in a device INF file to install a new custom device setup class. INF files for devices in an installed class, whether a system-supplied device setup class or a custom class, must not include a ClassInstall32 section.
Except for device-specific values and several issues that are noted in the following list, you can use these sections and directives to install WinUSB for any USB device. These list items describe the Includes and Directives in the preceding .inf file.
USB_Install: The Include and Needs directives in the USB_Install section are required for installing WinUSB. You should not modify these directives.
USB_Install.Services: The Include directive in the USB_Install.Services section includes the system-supplied .inf for WinUSB (WinUSB.inf). This .inf file is installed by the WinUSB co-installer if it isn't already on the target system. The Needs directive specifies the section within WinUSB.inf that contains information required to install Winusb.sys as the device's function driver. You should not modify these directives.Note Because Windows XP doesn't provide WinUSB.inf, the file must either be copied to Windows XP systems by the co-installer, or you should provide a separate decorated section for Windows XP.
USB_Install.HW: This section is the key in the .inf file. It specifies the device interface globally unique identifier (GUID) for your device. The AddReg directive sets the specified interface GUID in a standard registry value. When Winusb.sys is loaded as the device's function driver, it reads the registry value DeviceInterfaceGUIDs key and uses the specified GUID to represent the device interface. You should replace the GUID in this example with one that you create specifically for your device. If the protocols for the device change, create a new device interface GUID.
Note User-mode software must call SetupDiGetClassDevs to enumerate the registered device interfaces that are associated with one of the device interface classes specified under the DeviceInterfaceGUIDs key. SetupDiGetClassDevs returns the device handle for the device that the user-mode software must then pass to the WinUsb_Initialize routine to obtain a WinUSB handle for the device interface. For more info about these routines, see How to Access a USB Device by Using WinUSB Functions.
The following INF installs WinUSB as the OSR USB FX2 board's function driver on a x64-based system. The example shows INF with WDF coinstallers.
USB_Install.CoInstallers: This section, which includes the referenced AddReg and CopyFiles sections, contains data and instructions to install the WinUSB and KMDF co-installers and associate them with the device. Most USB devices can use these sections and directives without modification.
The x86-based and x64-based versions of Windows have separate co-installers.
Note Each co-installer has free and checked versions. Use the free version to install WinUSB on free builds of Windows, including all retail versions. Use the checked version (with the '_chk' suffix) to install WinUSB on checked builds of Windows.
Each time Winusb.sys loads, it registers a device interface that has the device interface classes that are specified in the registry under the DeviceInterfaceGUIDs key.
Note If you use the redistributable WinUSB package for Windows XP or Windows Server 2003, make sure that you don't uninstall WinUSB in your uninstall packages. Other USB devices might be using WinUSB, so its binaries must remain in the shared folder.
How to create a driver package that installs Winusb.sys
To use WinUSB as the device's function driver, you create a driver package. The driver package must contain these files:
- WinUSB co-installer (Winusbcoinstaller.dll)
- KMDF co-installer (WdfcoinstallerXXX.dll)
- An .inf file that installs Winusb.sys as the device's function driver. For more information, see Writing an .Inf File for WinUSB Installation.
- A signed catalog file for the package. This file is required to install WinUSB on x64 versions of Windows starting with Vista.
Note Make sure that the driver package contents meet these requirements:
- The KMDF and WinUSB co-installer files must be obtained from the same version of the Windows Driver Kit (WDK).
- The co-installer files must be obtained from the latest version of the WDK, so that the driver supports all the latest Windows releases.
- The contents of the driver package must be digitally signed with a Winqual release signature. For more info about how to create and test signed catalog files, see Kernel-Mode Code Signing Walkthrough on the Windows Dev Center - Hardware site.
Download the Windows Driver Kit (WDK) and install it.
Create a driver package folder on the machine that the USB device is connected to. For example, c:UsbDevice.
Copy the WinUSB co-installer (WinusbcoinstallerX.dll) from the WinDDKBuildNumberredistwinusb folder to the driver package folder.
The WinUSB co-installer (Winusbcoinstaller.dll) installs WinUSB on the target system, if necessary. The WDK includes three versions of the co-installer depending on the system architecture: x86-based, x64-based, and Itanium-based systems. They are all named WinusbcoinstallerX.dll and are located in the appropriate subdirectory in the WinDDKBuildNumberredistwinusb folder.
Copy the KMDF co-installer (WdfcoinstallerXXX.dll) from the WinDDKBuildNumberredistwdf folder to the driver package folder.
The KMDF co-installer (WdfcoinstallerXXX.dll) installs the correct version of KMDF on the target system, if necessary. The version of WinUSB co-installer must match the KMDF co-installer because KMDF-based client drivers, such as Winusb.sys, require the corresponding version of the KMDF framework to be installed properly on the system. For example, Winusbcoinstaller2.dll requires KMDF version 1.9, which is installed by Wdfcoinstaller01009.dll. The x86 and x64 versions of WdfcoinstallerXXX.dll are included with the WDK under the WinDDKBuildNumberredistwdf folder. The following table shows the WinUSB co-installer and the associated KMDF co-installer to use on the target system.
Use this table to determine the WinUSB co-installer and the associated KMDF co-installer.
WinUSB co-installer KMDF library version KMDF co-installer Winusbcoinstaller.dll Requires KMDF version 1.5 or later Wdfcoinstaller01005.dll
Wdfcoinstaller01007.dll
Wdfcoinstaller01009.dll
Winusbcoinstaller2.dll Requires KMDF version 1.9 or later Wdfcoinstaller01009.dll Winusbcoinstaller2.dll Requires KMDF version 1.11 or later WdfCoInstaller01011.dll Write an .inf file that installs Winusb.sys as the function driver for the USB device.
Create a signed catalog file for the package. This file is required to install WinUSB on x64 versions of Windows.
Attach the USB device to your computer.
Open Device Manager to install the driver. Follow the instructions on the Update Driver Software wizard and choose manual installation. You will need to provide the location of the driver package folder to complete the installation.
Related topics
WinUSB Architecture and Modules
Choosing a driver model for developing a USB client driver
How to Access a USB Device by Using WinUSB Functions
WinUSB Power Management
WinUSB Functions for Pipe Policy Modification
WinUSB Functions
WinUSB
Article credit goes to: ifamilysoftware.com
---
Purpose of this article is to guide you on how to FIX the 'Prolific USB-to-Serial' driver issue with common cheap units.
In summary, this article is for: Windows XP, Windows 7, Windows 8, Windows 8.1 and Windows 10. Works on 32/64-bit.
And it addresses issue of: Prolific PL-2303 Driver Fix (VID_067B&PID_2303)
Driver issue will show inside your Device Manager like this:
(Notice in above picture, yellow triangle next to 'Prolific USB-to-Serial Comm Port (COM X)'. That means correct driver version is not installed.)
And if you double-click on it, you will see:
(Notice in above picture, Code 10 error. This confirms you need to install correct driver file.)
Issue will also may show messages like this:
- 'This Device cannot start (Code 10)'
- 'No driver installed for this device'
- 'Device driver was not successfully installed'
Available forum solutions to this problem are half-baked. Even vendors selling their 'USB to Serial' adapters are baffled.
Main cause of this issue is because the device you own contains a counterfeit 'Prolific' chip (China clone).
The counterfeit chip use the same Vendor ID (VID_067B) and Product ID (PID_2303) - as the authentic Prolific chips.
To solve this intellectual infringement - original Prolific company modified their newest drivers to render the counterfeit adapters unusable. Unfortunately this decision also renders all earlier adapters inoperative.
The Prolific 64-bit drivers that Microsoft supplies via Windows Update, Versions 3.4.67.325, 3.4.25.218, 2.1.51.238 and 3.4.62.293 - will not work with most adapters and therefore shows the generic 'Code 10' error.
Or you may get no error at all, but your device will still not work.
If your adapter was working prior to going to Windows Update, you can 'roll back' to the previous installed driver and all will be well once again.
However if you didn't have a previous driver installed that worked - you'll have to go through the process of removing any PL-2303 driver installation programs, the actual driver files, and the information (.INF) file, BEFORE you are able to successfully install the correct driver.
(What worsens this issue is that there are many 'Prolific Driver Removal Tools' that do not work properly.)
And Windows 8, 8.1 and Window 10 are set by default to automatically update your drivers without your permission or even notifying you of the update.
So no matter how many times you remove the driver files and reboot - the next time you insert the USB-To-Serial adapter, Windows installs the newest non-working version again.
Only 64-bit driver I have ever found that works with all the 'Prolific' adapters is Version 3.3.2.102.
Below installer program will remove all of the incompatible drivers — make a change so that Windows can never update the driver without your approval — and install the Version 3.3.2.102 compatible drivers.
- All Windows 64-bit operating systems including Windows 10
- Prolific USB to Serial Adapter .
- Device using PL-2303 H/HXA/HX/X version chips
- Driver Version: 3.3.2.102
- Driver Date: 09/29/08
- Supported device ID and product strings: . VID_067B&PID_2303 for 'Prolific USB-to-Serial Comm Port'
Steps:
- Download and save the 'PL2303_64bit_ Installer.exe' by clicking here.
- Unplug all USB-To-Serial adapters from your computer - and double-click on 'PL2303_64bit_Installer.exe'
- When it prompts you, plug in one (1) of your USB-To-Serial adapters and click 'Continue'.
- Reboot your computer. That's it!
Troubleshooting:
You must follow ever step in the process in exact order.
- If you still receive an error after running the PL-2303_64bit_Installer.exe and your device is plugged in - go to Windows Device Manager.
- Windows Vista/7/8/10: Control Panel » System » Device Manager
- Windows XP: Control Panel » System » 'Hardware' tab » Device Manager
- Scroll down to Ports (Com & LPT) and double-click on 'Prolific USB-to-Serial Comm Port (COM#)'.
- In the Properties Window, Click on 'Driver'.
The 'Driver Version' must say '3.3.2.102' dated 09/24/08.
If not, then the correct driver is not installed.
Unplug the USB-To-Serial adapter and run the 'PL2303_64bit_Installer.exe' again - following the directions precisely until the correct driver appears.
- All Windows 32-bit operating systems from XP up
- Prolific USB to Serial Adapter .
- Device using PL-2303 H/HXA/HX/X version chips
- Driver Version: 2.0.2.8
- Driver Date: 11/20/07
- Supported device ID and product strings: . VID_067B&PID_2303 for 'Prolific USB-to-Serial Comm Port'
Steps:
- Download and Save the 'PL-2303_Driver_ Installer.exe' by clicking here.
- Run the installer program. If it offers a choice to remove the driver, then select to remove the current 'bad' driver.
Then run the installer again to install the correct driver.
Troubleshooting:
- If you still receive an error after running the PL-2303_Driver_Installer.exe and your device is plugged in, go to the Windows Device Manager.
- Windows Vista/7/8/10: Control Panel » System » Device Manager
- Windows XP: Control Panel » System » 'Hardware' tab » Device Manager
- Scroll down to Ports (Com & LPT) and double-click on 'Prolific USB-to-Serial Comm Port (COM#)'.
- In the Properties Window, Click on 'Driver'.
The 'Driver Version' must say '2.0.2.8' dated 11/20/07.
If not, then the correct driver is not installed. Unplug the USB-To-Serial adapter and run the 'PL2303_Driver_Installer.exe' again, following the directions until correct driver appears in Device Manager.
Chiron Port Devices Driver Download For Windows 10 7
Removal of this tool:
The Prolific 32-bit PL-2303_Driver_Installer is a 'Program' file and therefore installed to your computer and must stay. If you want to delete it - use the Windows 'Uninstall a Program' or 'Add or Remove Program' feature - however this will also uninstall the driver itself.
Chiron Port Devices Driver Download For Windows 10 Windows 7
--
Key words: Sabrent, SBT-USC1M, Prolific, PL-2303, PL2303, USB to Serial, VID_067B, PID_2303, Code 10