阅读:2335回复:2
初学USB,用bus hound抓的数据,请教其意思
Bus Hound 5.00 capture. Complements of www.perisoft.net
USB OFF Device - Device ID (followed by the endpoint for USB devices) (13) Standard OpenHCD USB Host Controller (14) USB Root Hub (32) Silabs C8051F340 USB Board Phase - Phase Type CTL USB control transfer DI Data in URB USB request block Data - Hex dump of the data transferred Descr - Description of the phase Cmd... - Position in the captured data Device Phase Data Description Cmd.Phase.Ofs(rep) ------ ----- ------------------------------------------------------------------------------------------------------ ---------------- ------------------ 14.1 URB 48 00 09 00 00 00 00 00 00 b2 ad 84 22 00 00 00 ec 09 ae 84 03 00 00 00 00 00 00 00 70 59 ca 84 BULK/INT XFER 1.1.0 14.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 2.1.0 14.0 DI 00 01 03 00 .... 2.2.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 22 00 00 00 18 b2 ad 84 0b 00 00 00 04 00 00 00 00 be ad 84 CONTROL TRANSFER 2.3.0 14.0 CTL 23 01 11 00 01 00 00 00 CLEAR FEATURE 3.1.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 20 00 00 00 18 b2 ad 84 0a 00 00 00 00 00 00 00 00 00 00 00 CONTROL TRANSFER 3.2.0 14.1 URB 48 00 09 00 00 00 00 00 00 b2 ad 84 22 00 00 00 ec 09 ae 84 03 00 00 00 00 00 00 00 70 59 ca 84 BULK/INT XFER 4.1.0 14.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 5.1.0 14.0 DI 00 01 01 00 .... 5.2.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 22 00 00 00 18 b2 ad 84 0b 00 00 00 04 00 00 00 00 be ad 84 CONTROL TRANSFER 5.3.0 14.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 6.1.0 14.0 DI 00 01 01 00 .... 6.2.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 22 00 00 00 18 b2 ad 84 0b 00 00 00 04 00 00 00 68 8a 57 84 CONTROL TRANSFER 6.3.0 14.0 CTL 23 01 10 00 01 00 00 00 CLEAR FEATURE 7.1.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 20 00 00 00 18 b2 ad 84 0a 00 00 00 00 00 00 00 00 00 00 00 CONTROL TRANSFER 7.2.0 14.0 CTL 23 01 01 00 01 00 00 00 CLEAR FEATURE 8.1.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 20 00 00 00 18 b2 ad 84 0a 00 00 00 00 00 00 00 00 00 00 00 CONTROL TRANSFER 8.2.0 14.0 CTL a3 00 00 00 01 00 04 00 GET STATUS 9.1.0 14.0 DI 00 01 00 00 .... 9.2.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 22 00 00 00 18 b2 ad 84 0b 00 00 00 04 00 00 00 88 0f dd 84 CONTROL TRANSFER 9.3.0 14.0 CTL a3 00 00 00 02 00 04 00 GET STATUS 10.1.0 14.0 DI 00 01 00 00 .... 10.2.0 14.0 URB 50 00 08 00 00 00 00 00 00 b2 ad 84 22 00 00 00 18 b2 ad 84 0b 00 00 00 04 00 00 00 88 0f dd 84 CONTROL TRANSFER 10.3.0 32.1 URB 18 00 02 00 00 00 00 00 ff ff ff ff 00 00 00 00 a4 82 0f 82 00 00 00 00 ABORT PIPE 11.1.0 32.2 URB 18 00 02 00 00 00 00 00 ff ff ff ff 00 00 00 00 c4 82 0f 82 00 00 00 00 ABORT PIPE 12.1.0 14.1 URB 48 00 09 00 00 00 01 c0 00 b2 ad 84 22 00 00 00 ec 09 ae 84 03 00 00 00 00 00 00 00 70 59 ca 84 BULK/INT XFER 13.1.0 以上是在拔下usb时产生的数据 1.URB这些行的数据是什么意思,是怎么构成的? 2.CTL里GET STATUS的命令中a3是什么意思,CTL是什么意思? 谢谢! |
|
沙发#
发布于:2009-09-03 11:34
|
|
|
板凳#
发布于:2009-09-04 11:19
|
|