阅读:1297回复:3
d12枚举的问题,(图)
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_ =========到这里,就完了 |
|
|
沙发#
发布于:2004-04-16 09:52
遇到过同样问题的朋友帮个忙出个主意啦!
|
|
|
板凳#
发布于: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) 对数据仔细分析就会得出那个地方出问题了! |
|
地板#
发布于:2004-04-17 14:58
多谢,感觉是setaddress之后出来的问题,好像设置了端点地址之后,没有按照新设置的端点发送数据给上位机!
先是是看吧! |
|
|