登录
首页 » 嵌入式系统 » weeks D12 development board, who were brought to the Windows XP drivers, the com...

weeks D12 development board, who were brought to the Windows XP drivers, the com...

于 2022-06-28 发布 文件大小:25.41 kB
0 85
下载积分: 2 下载次数: 1

代码说明:

周立功D12开发板中带的WINDOWS XP驱动程序,在编译后会出现USB设备不能正常工作. 以下是修改的代码,修改后可以正常工作. 在d12.c和Ioctl.c中, 将+256去掉,这个会引去枚举设备时,设备描述符的长度不对,修改后: siz = sizeof(USB_CONFIGURATION_DESCRIPTOR) 在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 descriptors up the length wrong, the revised : not = sizeof (USB_CONFIGURATION_DESCRIPTOR) 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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 696518资源总数
  • 104269会员总数
  • 31今日下载