文件名称:D12isoDriver
介绍说明--下载内容均来自于网络,请自行研究使用
周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DEscr iptOR) 在d12.c中的D12_SelectInterface函数中, 设备查询完接口后有一段代码,也会引起驱动返回不对,需要屏蔽下面的代码 // Retrieve the selected Configuration and Interface 修改上面两处后,USB可以正常使用了. -weeks D12 development board, who were brought to the Windows XP drivers, the compiler will happen after the USB device not working properly. Following is the revised code, revised after normal work. In d12.c and Ioctl.c, 256 will be removed, this will generate to Enumerate equipment located descr iptors up the length wrong, the revised : not = sizeof (USB_CONFIGURATION_DEscr iptOR) in the D12_SelectInterface d12.c function, equipment End interface for a period after the code can also lead to wrong drivers need to shield the following code// Retrieve the selected Configuration Interface and the above two changes, USB can use the normal.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
buildchk.log
D12.c
D12.h
D12.rc
D12irp.c
D12IRP.H
GUID829.H
Ioctl.c
Ioctl.h
MAKEFILE
Ocrw.c
RESOURCE.H
Sources
D12.c
D12.h
D12.rc
D12irp.c
D12IRP.H
GUID829.H
Ioctl.c
Ioctl.h
MAKEFILE
Ocrw.c
RESOURCE.H
Sources