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

  • 为C8051F005制作的网络模块
    为C8051F005制作的网络模块--Network module for C8051F005.
    2022-04-18 23:29:09下载
    积分:1
  • It s very usefull for the person of studying AVR
    这是非常全的AVR单片机系列的器件定义头文件,对应用AVR芯片进行编程的人应该必须珍藏的哦!-It s very usefull for the person of studying AVR
    2022-02-12 07:36:08下载
    积分:1
  • 基于89S51的IO口模拟串口通信,调试通过。
    基于89S51的IO口模拟串口通信,调试通过。-89S51-based simulation of the IO port serial communication, debugging through.
    2023-04-24 12:30:03下载
    积分:1
  • C语言排序总结
    c语言的算法总结,包括排序算法,几种常用c语言的排序方法.doc c语言经典排序算法(8种-含源代码).txt C语言滤波程序:先对数据作正FFT,再对变换后的频域数据乘以滤波因子,滤波因子的选择有理想高通、巴特沃斯高通、指数高通、梯形高通,一般选择梯形高通滤波因子,具体原因你可从数字信号处理的书上找到,接下来将数据再作逆FFT就是了,还有就是在空间域作滤波。
    2022-03-04 05:18:04下载
    积分:1
  • LCD12864中文资料
    LCD12864中文资料 -LCD12864资料LCD12864中文资料
    2023-04-25 15:10:03下载
    积分:1
  • RS232 interrupt the development of C language source code package includes C sou...
    RS232 中断开发 C 语言源程序 包内包含C源代码以及汇编子程序-RS232 interrupt the development of C language source code package includes C source code and compiled subprogram
    2022-04-22 21:53:19下载
    积分:1
  • STM8S库函数模板(基于企业实际需要)
    应用背景基于STM8S库函数的工程模板,基于企业实际工程使用,绝无delay等不切实际的,误人子弟的做法。以流水灯为例,简明扼要地演示了该程序。关键技术基于IAR for STM8的工程模板,无delay延时这样的不切实际的做法。位域时间平台标志位,TIM1定时器中断计时,基于库函数编程。
    2022-03-06 18:07:26下载
    积分:1
  • 模拟的i2c程序
    模拟的i2c程序-simulation procedures i2c
    2022-03-16 05:10:50下载
    积分:1
  • 电子密码锁
    单片机原理课程设计报告2.1本设计要求实现以下功能:(1)超声波测距,当感应到有人体接近距离达到40cm时,密码锁自动启动。                  (2)本设计为了防止密码被窃取要求在输入密码时在LCD屏幕上显示*号。              (3)设计开锁密码位六位密码的电子密码锁。                                         (4)能够LCD显示在密码正确时显示open,密码错误时显示ERROR,重置密码时显示initpassword。                                                                (5)实现输入密码错误超过限定的三次电子密码锁定。                               (6)4×4的矩阵键盘其中包括0-9的数字键和A-D的功能键。                          (7)本产品具备报警功能,当输入密码错误时蜂鸣器响并且LED灯亮。               &
    2022-08-12 09:28:06下载
    积分:1
  • 使用89S52设计的电子钟,C51 编写,本例没有使用1302等时钟芯片,但本例完全具有时钟芯片的功能。比如基本的年月日,时分秒和星期功能,而且还有平闰年的天数...
    使用89S52设计的电子钟,C51 编写,本例没有使用1302等时钟芯片,但本例完全具有时钟芯片的功能。比如基本的年月日,时分秒和星期功能,而且还有平闰年的天数自动补偿。由于采用的是全软件算法,时钟误差较大,采用高质量晶振可以减少误差。本例重在培养与训练初学者对C51的学习。-89S52 designed using an electronic clock, C51 preparation, in this case did not use 1302 clock chip, etc., but in this case complete with a clock chip functions. For example the basic date, time, and every second week of features, but also the number of days flat leap automatic compensation. As a result of the full software algorithms, the clock error of greater use of high-quality crystal can reduce the error. In this case focuses on training and training for beginners to learn on the C51.
    2023-01-11 04:25:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载