Modifying CyUSB3.INF11AddReg=CYUSB3.AddReg.Guid
[CYUSB3.NT.Services]
Addservice = CYUSB3,2,CYUSB3.AddService
[CYUSB3.NTx86]
CopyFiles=CYUSB3.Files.ExtAddReg=CYUSB3.AddReg[CYUSB3.NTx86.HW]
AddReg=CYUSB3.AddReg.Guid
[CYUSB3.NTx86.Services]
Addservice = CYUSB3,2,CYUSB3.AddService[CYUSB3.NTamd64]
CopyFiles=CYUSB3.Files.ExtAddReg=CYUSB3.AddReg[CYUSB3.NTamd64.HW]
AddReg=CYUSB3.AddReg.Guid
[CYUSB3.NTamd64.Services]
Addservice = CYUSB3,2,CYUSB3.AddService
[CYUSB3.AddReg]
; Deprecating - do not use in new apps to identify a CYUSB3 driverHKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CYUSB3.sys
; You may optionally include a check for DriverBase in your application to check for a CYUSB3 driverHKR,,DriverBase,,CYUSB3.sys
HKR,\arameters\aximumTransferSize\HKR,\arameters\ebugLevel\HKR,,FriendlyName,,%CYUSB3_Description%
[CYUSB3.AddService]
DisplayName = %CYUSB3_Description%ServiceType = 1 ; SERVICE_KERNEL_DRIVERStartType = 3 ; SERVICE_DEMAND_STARTErrorControl = 1 ; SERVICE_ERROR_NORMALServiceBinary = %\\System32\\Drivers\\CYUSB3.sysAddReg = CYUSB3.AddRegLoadOrderGroup = Base[CYUSB3.Files.Ext]CYUSB3.sys
[CYUSB3.AddReg.Guid]
HKR,,DriverGUID,,%CYUSB3.GUID%
;-------------- WDF Coinstaller installation[SourceDisksFiles]
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames[DestinationDirs]
CoInstaller_CopyFiles = 11
? 2012 Cypress Semiconductor
12Cypress CyUsb3.sys Programmer's Reference[CYUSB3.NTamd64.CoInstallers]AddReg=CoInstaller_AddRegCopyFiles=CoInstaller_CopyFiles[CYUSB3.NTx86.CoInstallers]AddReg=CoInstaller_AddRegCopyFiles=CoInstaller_CopyFiles[CoInstaller_CopyFiles]WdfCoInstaller01009.dll
[CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, \oInstaller01009.dll,WdfCoInstaller\[CYUSB3.NTamd64.Wdf]
KmdfService = CYUSB3, CYUSB3_wdfsect[CYUSB3.NTx86.Wdf]
KmdfService = CYUSB3, CYUSB3_wdfsect[CYUSB3_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
CYUSB3_Provider = \ypress\
CYUSB3_Company = \ypress Semiconductor Corporation\CYUSB3_Description = \ypress Generic USB3.0 Driver\CYUSB3_DisplayName = \ypress USB3.0 Generic\
CYUSB3_Install = \ypress CYUSB3.0 Driver Installation Disk\VID_04B4&PID_00F3.DeviceDesc=\ypress USB BootLoader\VID_04B4&PID_00F0.DeviceDesc=\ypress BULK LOOP\CYUSB3.GUID=\18AA60-7F6A-11d4-97DD-00010229B959}\CYUSB3_Unused = \MyDevice.EXECSCRIPT=\root\\system32\\MyDevice\\MyDevice.spt\
? 2012 Cypress Semiconductor
Matching Devices to the Driver133Matching Devices to the Driver
Usually matching of a USB device to the CYUSB3.SYS driver will need to be manually configured. Following are the steps user has to follow to install driver on Windows OS. Step A : Add the device's VendorID and ProductID to the CYUSB3.INF file.Step B : Force Windows to use the CYUSB3.SYS driver with the device. Though similar, these steps are slightly different for WinXP and Windows Vista and 7
? 2012 Cypress Semiconductor
14Cypress CyUsb3.sys Programmer's Reference3.1Windows XP
Usually, matching of a USB device to the CYUSB3.SYS driver will need to be manually configured.
Please follow below steps to update the INF file and driver installation on Windows XP.
Note: Please skip step B to install driver on 32-bit OS.
Step A : Please follow the below steps to add the device's VendorID and ProductID to the CYUSB3.INFfile.
1.After installation of the Cypress Suite USB installer, the driver file is located in a Driver
subdirectory of the install directory. (Default is C:\\Program Files\\Cypress\\FX3 HostSoftware\\Driver\\bin.).
2.Open the file CYUSB3.INF with a text editor (notepad.exe, for instance)
3.Locate the following sections [Device],[Device.NT],[Device.Ntx86] and [Device.Ntamd64] and
remove the semicolon of each item under the each section
;%VID_XXXX&PID_XXXX.DeviceDesc%=CyUsb3, USB\\VID_XXXX&PID_XXXX.
4.Change the VID_XXXX to contain the hexadecimal value of the VendorID for the device and change the PID_XXXX to contain the hexadecimal value of the ProductID for the device.
For example, a device with vendorID 0x04B4 and productID 0xDE01 would have a new entry inthe above listed sections like following:
%VID_04B4&PID_DE01.DeviceDesc%=CyUSB3, USB\\VID_04B4&PID_DE01
5.Change [String] section for Device Description according to the Vendor ID and Product ID. VID_XXXX&PID_XXXX.DeviceDesc=\er\
6.Change the VID_XXXX to contain the hexadecimal value of the VendorID for the device and change the PID_XXXX to contain the hexadecimal value of the ProductID for the device.
For example, a device with vendorID 0x04B4 and productID 0xDE01 would have a new entryin the [Strings] section like the following:
VID_04B4&PID_DE01.DeviceDesc=\3 Bulk loopback\
7.Save the file.
Step B : Please follow the below steps to force WindowsXP to use the cyusb3.sys driver with thedevice.
1.Connect the device to the PC
2.If Windows prompts for a driver or indicates that it needs a driver, direct the PC to use the
CYUSB3.SYS driver by steering it to the CYUSB3.INF file in the [InstallDir]\\Driver directory.
3.If Windows does not prompt for a driver, it has already matched the device to a driver itself. In
this case, you will need to see if the CYUSB3.SYS driver was selected and, if not, manuallyinstruct Windows to use that driver.
4.Right-click My Computer and select the Manage menu item.
? 2012 Cypress Semiconductor
Matching Devices to the Driver15
5.In the Computer Management window, select Device Manager
6.In the right window pane, click the + icon next to Universal Serial Bus controllers
7.Locate your device in the list and double click on it
8.Select the Driver tab in the Properties dialog that comes up
9.Click on the Driver Details button.
10.If the displayed driver file is CYUSB3.SYS, Windows has already matched the device to this
driver and you should click OK and Cancel . If not, proceed with the remaining steps.
11.Click OK
12.Click Update Driver
13.Select Install from a list or specific location (Advanced)
14.Click Next
15.Select Don't search. I will choose the driver to install.
16.Click Next
17.Click Have Disk
18.Click Browse
19.Navigate to the directory containing CYUSB3.SYS (wxp(Windows XP) and select x86(32-bit
OS) or x64(64-bit OS)) based on the platform you want to install driver on.
20.CYUSB3.INF should be automatically placed in the File name field
21.Click Open
22.Click OK
23.Click Next
24.It will popup message saying Unsigned driver, Please select 'Install driver software anyway'
and click ok.
25.Click Finish
26.Click Close
27.Don't re-boot your system if Windows suggests that you must. You may need to unplug and
re-plug your device, however.
? 2012 Cypress Semiconductor