hejoin
驱动小牛
驱动小牛
  • 注册日期2001-10-19
  • 最后登录2012-03-08
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望51点
  • 贡献值0点
  • 好评度6点
  • 原创分0分
  • 专家分0分
阅读:1297回复:3

d12枚举的问题,(图)

楼主#
更多 发布于:2004-04-15 22:39
 into SETUP_read ...
 80_06_00_01_00_00_40_00_
 this comming to  USB_submit
12_01_10_01_00_00_00_10_71_04_11_11_01_00_01_02_end of USB_submit
int-n is coming data1 = 0041
if ==1 theis is coming ....
 into SETUP_read ...
 00_05_02_00_00_00_00_00_               =======这里要求地址
 this is setaddress....this comming to  USB_submit   ==给了地址
end of USB_submit
int-n is coming data1 = 0002
this comming to  USB_submit
end of USB_submit
int-n is coming data1 = 0041
if ==1 theis is coming ....
 into SETUP_read ...
 80_06_00_01_00_00_40_00_            ==又来要描述符
 this comming to  USB_submit
12_01_10_01_00_00_00_10_71_04_11_11_01_00_01_02_end of  USB_submit
int-n is coming data1 = 0041
if ==1 theis is coming ....
 into SETUP_read ...
 00_05_02_00_00_00_00_00_
 this is setaddress....this comming to  USB_submit
end of USB_submit
int-n is coming data1 = 0002
this comming to  USB_submit
end of USB_submit
int-n is coming data1 = 0080
this commandid = D12_suspend
this commandid = 0x80

 into SETUP_read ...
 00_05_02_00_00_00_00_00_  =========到这里,就完了
 
恒坚电器([url]http://www.hejoin.com[/url])
hejoin
驱动小牛
驱动小牛
  • 注册日期2001-10-19
  • 最后登录2012-03-08
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望51点
  • 贡献值0点
  • 好评度6点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2004-04-16 09:52
遇到过同样问题的朋友帮个忙出个主意啦!
恒坚电器([url]http://www.hejoin.com[/url])
zhaobeishengcoo
驱动牛犊
驱动牛犊
  • 注册日期2004-02-25
  • 最后登录2005-05-29
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2004-04-16 19:55
http://www.driverdevelop.com/forum/upload/zhaobeishengcool/2004-04-16_usbmonb.exe

你用这个东西捕捉数据看看
应该能够找出问题在什么地方。
枚举过程是:
get_descriptor(device)
set_address
get_descriptor(device)
get_descriptor(configuration)
get_descriptor(configuration)

set_configuration
get_configuration

其余是特定设备的请求
比如HID有
get_protocol
get_descriptor(class)

对数据仔细分析就会得出那个地方出问题了!
hejoin
驱动小牛
驱动小牛
  • 注册日期2001-10-19
  • 最后登录2012-03-08
  • 粉丝0
  • 关注0
  • 积分5分
  • 威望51点
  • 贡献值0点
  • 好评度6点
  • 原创分0分
  • 专家分0分
地板#
发布于:2004-04-17 14:58
多谢,感觉是setaddress之后出来的问题,好像设置了端点地址之后,没有按照新设置的端点发送数据给上位机!

先是是看吧!
恒坚电器([url]http://www.hejoin.com[/url])
游客

返回顶部