登录
首页 » 嵌入式系统 » 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 213
下载积分: 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 个回复

  • 关于ad8954的使用说明,包括调试,电路板介绍以及外为接口
    关于ad8954的使用说明,包括调试,电路板介绍以及外为接口-With regard to the use of ad8954, including debugging, circuit boards, as well as introduce outside interface
    2022-09-03 01:10:03下载
    积分:1
  • 在ARM7 JX44B0教学实验箱进行GPS全球定位实验
    在ARM7 JX44B0教学实验箱进行GPS全球定位实验-ARM7 JX44B0 in teaching me to carry out experimental GPS Global Positioning Experiment
    2022-05-31 23:19:43下载
    积分:1
  • pic18f4550 USB
    USB HID微控制器C语言PIC18F4550有用的MPLAB MPLAB X USB HID单片机c语言PIC18F4550有用的MPLAB mplabx
    2023-02-14 16:40:04下载
    积分:1
  • LPC922 I2c接口硬件主方代码
    LPC922 I2c接口硬件主方式代码-LPC922 I2c main way hardware interface code
    2022-08-22 22:27:33下载
    积分:1
  • This is used as a control minigui programming examples, reference for beginners...
    这是用minigui的一个控件编程实例,适合初学者参考学习-This is used as a control minigui programming examples, reference for beginners to learn
    2022-03-11 13:55:25下载
    积分:1
  • 英文点阵字库,必备
    英文点阵字库,嵌入式系统必备--English font lattice library.
    2022-04-12 22:35:46下载
    积分:1
  • Linux应用开发详解 linux下串口操作源码和网络口操作源码...
    嵌入式Linux应用开发详解 linux下串口操作源码和网络口操作源码-Embedded Linux Application Development Elaborates on Linux operating Serial source and network operation source I
    2022-05-05 08:04:15下载
    积分:1
  • ARM9_Security Entry Phone.rar
    项目为AMR9裸机程序,基本按键门禁的基本功能,显示为3.5寸TFT显示屏,支持触摸屏输入,此项目为个人练习所做,多有不足之处尽情谅解。 2440addr.h (inc) 40697 2013-9-3 2440addr.inc (inc) 4339 2005-5-17 2440init.s (setup) 37549 2013-9-9 2440slib.h (inc) 1847 2008-9-18 2440slib.s (setup) 请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
    2022-05-27 04:27:16下载
    积分:1
  • 图形用户界面
    minigui-1.6.9-win32开发配置说明,里面图文并茂,帮助很多开发人员在VC下开发嵌入式界面,可以大大提高开发效率。-minigui-1.6.9-win32 the development of configuration instructions, which the aid of diagrams, to help many developers to develop embedded in the VC interface, can greatly improve development efficiency.
    2022-03-13 21:56:39下载
    积分:1
  • 对传感器MPU6050进行调试设置参数(硬件IIC)
     #include "stm32f10x.h"#include "I2C_MPU6050.h"#include "usart1.h"#include "delay.h"int main(void){   InitMPU6050();/***********************************************************************/while(1){printf(" ---------------%d ",GetData(ACCEL_XOUT_H));printf(" ----------------%d ",GetData(ACCEL_YOUT_H)); printf(" ------------------%d ",GetData(ACCEL_ZOUT_H)); printf(" ---------------%d ",GetData(GYRO_XOUT_H)); printf(" -----------------%d ",GetData(GYRO_YOUT_H)); printf(" ---------Í---------%d ",GetData(GYRO_ZOUT_H));delay_ms(500);}  }/******************* (C) COPYRIGHT 2012 WildFire Team *****END OF FILE************/
    2022-01-28 09:30:30下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载