驱动牛犊
|
阅读:3709回复:18
经典的例子
我用JB16调试成功的例子,多谢深圳大学的教案
真是宝贝啊 |
|
驱动牛犊
|
沙发#
发布于:2008-04-02 20:42
这是驱动程序原代码
|
|
驱动牛犊
|
板凳#
发布于:2008-04-02 20:56
我用的是飞思卡尔JB16芯片,用1.1协议实现.板子仅50元,我实验室长期供货.
效果实在! 欢迎USB爱好者的到来! 固件配置如下: port 3 : Description of Device here -------------------------------------------------------------------------------- Parameter Value Hardware ID USB\Vid_0471&Pid_0222&Rev_0001 Setup Class LibUsbDevices Class GUID {EB781AAF-9C70-4523-A5DF-642A87ECA567} PDO Name \Device\USBPDO-4 Service Name LibUsbDevices Parameter Value Connection Information ConnectionIndex 0x3 CurrentConfigurationValue 0x1 LowSpeed TRUE DeviceIsHub FALSE DeviceAddress 0x1 NumberOfOpenPipes 0x2 ConnectionStatus DeviceConnected Pipe #0 Endpoint Descriptor bLength 0x7 bEndpointAddress 0x82 [IN] bmAttributes 0x2 (USB_ENDPOINT_TYPE_BULK) wMaxPacketSize 0x8 bInterval 0x1 Pipe #1 Endpoint Descriptor bLength 0x7 bEndpointAddress 0x2 [OUT] bmAttributes 0x2 (USB_ENDPOINT_TYPE_BULK) wMaxPacketSize 0x8 bInterval 0x1 Device Descriptor bLength 0x12 bcdUSB 0x110 bDeviceClass 0xFF (Vendor Specific) bDeviceSubClass 0xFF bDeviceProtocol 0xFF bMaxPacketSize0 0x8 idVendor 0x471 idProduct 0x222 bcdDevice 0x1 iManufacturer 0x1 iProduct 0x2 iSerialNumber 0x2 bNumConfigurations 0x1 Parameter Value Configuration Descriptor bLength 0x9 bDescriptorType USB_CONFIGURATION_DESCRIPTOR_TYPE wTotalLength 0x20 bNumInterfaces 0x1 iConfiguration 0x2 bmAttributes 0x80 ( Bus_Powered ) MaxPower 0x96 Interface Descriptor bLength 0x9 bInterfaceNumber 0x0 bAlternateSetting 0x0 bNumEndpoints 0x2 bInterfaceClass 0xFF (Vendor Specific) bInterfaceSubClass 0xFF bInterfaceProtocol 0xFF iInterface 0x2 Endpoint Descriptor bLength 0x7 bEndpointAddress 0x82 [IN] bmAttributes 0x2 (USB_ENDPOINT_TYPE_BULK) wMaxPacketSize 0x8 bInterval 0x1 Endpoint Descriptor bLength 0x7 bEndpointAddress 0x2 [OUT] bmAttributes 0x2 (USB_ENDPOINT_TYPE_BULK) wMaxPacketSize 0x8 bInterval 0x1 |
驱动牛犊
|
地板#
发布于:2008-04-02 20:58
JB16芯片:
有三个端点: 0,1,2 八字节传输 |
地下室#
发布于:2008-04-03 18:23
好东西,支持
|
|
5楼#
发布于:2008-04-04 12:21
收下
|
|
6楼#
发布于:2008-04-09 10:24
请问楼主哪里可以买到你那板子
|
|
7楼#
发布于:2008-04-09 10:26
如果有板子可以联系我QQ215997764
|
|
驱动牛犊
|
8楼#
发布于:2008-04-10 09:43
安阳工学院飞思卡尔
|
9楼#
发布于:2008-06-27 12:56
xiexie!!!!
|
|
10楼#
发布于:2008-09-21 16:34
如何购买撒?
|
|
|
11楼#
发布于:2009-01-07 10:56
Thanks!
|
|
12楼#
发布于:2009-01-12 09:59
多谢楼主分享!!!
|
|
13楼#
发布于:2009-02-05 09:06
look
|
|
14楼#
发布于:2009-06-06 20:51
正在学习 谢谢!~!
|
|
15楼#
发布于:2010-07-20 22:17
有板子联系我 vvjunjie@hotmail.com
|
|
16楼#
发布于:2010-12-06 14:42
楼主,附件不存在了啊!
|
|
17楼#
发布于:2010-12-12 16:00
板主,附件不存在了啊! 气愤!!!!
|
|
18楼#
发布于:2010-12-14 10:36
附件不存在
|
|