当前位置:首页 > Cypress CyUsb3.sys Programmers Reference
Matching Devices to the Driver17
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 Browse my computer for driver software
14.Click Next
15.Select Let me pick from a list of device drivers on my computer
16.Click Next
17.Select Select your device's type from list below and Select show all device
18.Click Next
19.Click Have Disk
20.Click Browse
21.Navigate to the directory containing CYUSB3.SYS (Directory Name for various Operating
System and platform: wlh(windows Vista) and win7(windows 7 and Windows 8 Beta) andselect x86(32-bit OS) or x64(64-bit OS)) based on the platform you want to install driver on.
22.CYUSB3.INF should be automatically placed in the File name field
23.Click Open
24.Click OK
25.Click Next
26.It will popup message saying Unsigned driver, Please select 'Install driver software anyway' and
click ok.
27.Click Finish
28.Click Close
? 2012 Cypress Semiconductor
18Cypress CyUsb3.sys Programmer's Reference29.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
Reinstalling the Driver194Reinstalling the Driver
While reinstalling the driver with another .inf file which contains the same VID- PID combination, it's safeto remove all oemXX.inf and oemXX.pnf files from the directory \NDOWS\\inf\\\e sameVID-PID combination.
Note:
Installing the driver using .inf file, Windows creates corresponding oemXX.inf and oemXX.pnf backupfiles in the directory \NDOWS\\inf\\\the new .inf file that customer really wants to install.
? 2012 Cypress Semiconductor
20Cypress CyUsb3.sys Programmer's Reference5The IOCTL Interface
Applications software communicates with the CYUSB3.SYS driver primarily through the DeviceIoControl( ) function. (See the Windows SDK documentation for details about DeviceIoControl.)
Calls to DeviceIoControl require an IO Control (aka IOCTL) code parameter. The IOCTL codes define theprogramming interface that a driver supports and are particular to any given driver. The control codespecified in a DeviceIoControl( ) call determines the values that must be specified for the otherDeviceIoControl parameters.
This help file provides the IOCTL 'dictionary' for the CYUSB3.SYS driver.
Example
DWORD dwBytes = 0;
UCHAR EndptAddress = 0x82;
DeviceIoControl(hDevice, IOCTL_ADAPT_RESET_PIPE,
&EndptAddress, sizeof (EndptAddress), NULL, 0,
&dwBytes, NULL);
? 2012 Cypress Semiconductor
共分享92篇相关文档