woyunle1980
驱动牛犊
驱动牛犊
  • 注册日期2006-07-19
  • 最后登录2009-02-25
  • 粉丝0
  • 关注0
  • 积分2分
  • 威望11点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:2335回复:2

初学USB,用bus hound抓的数据,请教其意思

楼主#
更多 发布于:2009-02-23 16:32
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是什么意思?
谢谢!
sealove518
驱动小牛
驱动小牛
  • 注册日期2007-09-08
  • 最后登录2012-07-01
  • 粉丝1
  • 关注0
  • 积分24分
  • 威望799点
  • 贡献值1点
  • 好评度41点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2009-09-03 11:34
http://soez.taobao.com 淘宝网电子元件平价超市
xcq1109
驱动牛犊
驱动牛犊
  • 注册日期2006-09-05
  • 最后登录2010-11-05
  • 粉丝2
  • 关注0
  • 积分16分
  • 威望176点
  • 贡献值0点
  • 好评度21点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2009-09-04 11:19
游客

返回顶部