网站导航: 首页 > 设计参考 > 正文 文章搜索
USB调试经验
 
文章编号:
081126120920
文章分类: 接口技术 USB
点 击:
...
关 键 词: 调试经验
文章来源:
网络
摘 要:

    在枚举usb设备时,在SetConfiguration后一定不要忘了SetInterface,没走这一步80%的设备认不了(我做读优盘时就因为忘了它元旦好几天都没过好)。这一点很多51+SL811的例程都忘了。我也是后来用bus hound抓总线小样时才发现的。bus hound真是颗救命稻草,建议所有调usb的朋友,开门四件事:看《usb2.0原理与工程开发》前六章;下载例程;看要做器件所属usb设备类的说明;学会用bus hound!这四件事都做好再开始,福神才会最大地保佑你。

下面是win2000认优盘时总线上的活动记录,bus hound抓的。别的设备类也有通用性

Bus Hound 5.00 capture. Complements of www.perisoft.net

中国电信优盘
作者注:
20.0是指主设备号20,子设备0。其实就是说20是usb hub的一个口,0是0号端点
24是初步认出usb设备后分配的设备号
  Device - Device ID (followed by the endpoint for USB devices)
            (20) USB Mass Storage Device
            (21) TAT Flash Disk [ROM=2.00]
            (24) Generic USB Flash Drive [ROM=%z!Y]
            (25) ICSI MP3 PLAYER FLASH [ROM=1.0A]
  Phase  - Phase Type
            CDB   Command descriptor block   SNS   SCSI sense data
            CTL   USB control transfer       SRB   SCSI request block
            DI    Data in                    SSTS  SCSI request block status
            DO    Data out
  Data   - Hex dump of the data transferred
  Descr  - Description of the phase
  Cmd... - Position in the captured data
  Delta  - Elapsed time from the previous phase to the current phase
  Date   - Date the phase occurred in year/month/day form
  Time   - Time the phase occurred in hour:minute:second.millisec form


Device  Phase  Data                                                Description       Cmd.Phase.Ofs(rep)  Delta  Date        Time       
------  -----  --------------------------------------------------  ----------------  ------------------  -----  ----------  ------------
  20.0  CTL    80 06 00 01  00 00 12 00                            GET DESCRIPTOR           1.1.0         15sc  2006-01-03  09:46:00.560 
  20.0  DI     12 01 10 01  00 00 00 08  43 10 06 80  00 01 01 02  ........C.......         1.2.0        5.4ms  2006-01-03  09:46:00.566 
               00 01                                               ..                       1.2.16                                       
  20.0  CTL    80 06 00 02  00 00 09 00                            GET DESCRIPTOR           2.1.0         31us  2006-01-03  09:46:00.566 
  20.0  DI     09 02 20 00  01 01 00 80  32                        .. .....2                2.2.0        3.9ms  2006-01-03  09:46:00.570 
  20.0  CTL    80 06 00 02  00 00 20 00                            GET DESCRIPTOR           3.1.0        149us  2006-01-03  09:46:00.570 
  20.0  DI     09 02 20 00  01 01 00 80  32 09 04 00  00 02 08 06  .. .....2.......         3.2.0        6.8ms  2006-01-03  09:46:00.577 
               50 00 07 05  81 02 40 00  00 07 05 02  02 40 00 00  P.....@......@..         3.2.16                                       
  20.0  CTL    00 09 01 00  00 00 00 00                            SET CONFIG               4.1.0         32us  2006-01-03  09:46:00.577 
  20.0  CTL    01 0b 00 00  00 00 00 00                            SET INTERFACE            5.1.0        3.1ms  2006-01-03  09:46:00.580 
  20.0  CTL    a1 fe 00 00  00 00 01 00                            GET MAX LUN              6.1.0        198us  2006-01-03  09:46:00.580 
  20.0  DI     00                                                  .                        6.2.0        3.6ms  2006-01-03  09:46:00.584 
作者注:到此为止是枚举usb设备已完成
作者注:win2000没有设置usb地址,亦没有Get Interface,但这两步朋友们可以因自己的应用添加,没关系的
作者注:因为插的是优盘,win2k开始使用scsi-2命令枚举海存设备,比如inquiry, read capacity等,不做优盘的朋友可以不看
  20.2  DO     55 53 42 43  a8 56 24 81  24 00 00 00  80 00 06 12  USBC.V$.$.......         7.1.0        1.9ms  2006-01-03  09:46:00.586 
               00 00 00 24  00 00 00 00  00 00 00 00  00 00 00     ...$...........          7.1.16                                       
  20.1  DI     00 80 02 02  1f 00 00 00  47 65 6e 65  72 69 63 20  ........Generic          8.1.0        1.0ms  2006-01-03  09:46:00.587 
               55 53 42 20  46 6c 61 73  68 20 44 72  69 76 65 20  USB Flash Drive          8.1.16                                       
               25 7a 21 59                                         %z!Y                     8.1.32                                       
  20.1  DI     55 53 42 53  a8 56 24 81  00 00 00 00  00           USBS.V$......            9.1.0        977us  2006-01-03  09:46:00.588 
  20.2  DO     55 53 42 43  a8 56 24 81  fc 00 00 00  80 00 0a 23  USBC.V$........#        10.1.0        1.9ms  2006-01-03  09:46:00.590 
               00 00 00 00  00 00 00 fc  00 00 00 00  00 00 00     ...............         10.1.16                                       
  20.1  DI     00 00 00 08  00 01 ff 00  02 00 02 00               ............            11.1.0        1.0ms  2006-01-03  09:46:00.591 
  20.1  DI     55 53 42 53  a8 56 24 81  f0 00 00 00  00           USBS.V$......           12.1.0        999us  2006-01-03  09:46:00.592 
  24    CDB    12 00 00 00  24 00                                  INQUIRY                 13.1.0        5.5ms  2006-01-03  09:46:00.597 
  24    DI     00 80 02 02  1f 00 00 00  47 65 6e 65  72 69 63 20  ........Generic         13.2.0          7us  2006-01-03  09:46:00.597 
               55 53 42 20  46 6c 61 73  68 20 44 72  69 76 65 20  USB Flash Drive         13.2.16                                       
               25 7a 21 59                                         %z!Y                    13.2.32                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           14.1.0        149us  2006-01-03  09:46:00.597 
  20.2  DO     55 53 42 43  a8 56 24 81  08 00 00 00  80 00 0a 25  USBC.V$........%        15.1.0        1.2ms  2006-01-03  09:46:00.599 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         15.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                16.1.0        1.0ms  2006-01-03  09:46:00.600 
  20.1  DI     55 53 42 53  a8 56 24 81  00 00 00 00  00           USBS.V$......           17.1.0        1.0ms  2006-01-03  09:46:00.601 
  24    DI     00 01 fe ff  00 00 02 00                            ........                14.2.0         18us  2006-01-03  09:46:00.601 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               14.3.0          3us  2006-01-03  09:46:00.601 
               08 00 00 00  0a 00 00 00  e8 c0 25 81  48 83 34 81                          14.3.16                                       
               00 00 00 00  a8 56 24 81  00 00 00 00  00 00 00 00                          14.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          14.3.48                                       
  24    CDB    28 00 00 00  00 00 00 00  01 00                     READ                    18.1.0         42us  2006-01-03  09:46:00.601 
  20.2  DO     55 53 42 43  a8 56 24 81  00 02 00 00  80 00 0a 28  USBC.V$........(        19.1.0        1.9ms  2006-01-03  09:46:00.603 
               00 00 00 00  00 00 00 01  00 00 00 00  00 00 00     ...............         19.1.16                                       
  20.1  DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        20.1.0        998us  2006-01-03  09:46:00.604 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        20.1.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        20.1.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        20.1.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        20.1.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        20.1.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        20.1.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         20.1.112                                      
  20.1  DI     55 53 42 53  a8 56 24 81  00 00 00 00  00           USBS.V$......           21.1.0        1.0ms  2006-01-03  09:46:00.605 
  24    DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        18.2.0         18us  2006-01-03  09:46:00.605 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        18.2.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        18.2.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        18.2.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        18.2.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        18.2.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        18.2.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         18.2.112                                      
  24    SRB    40 00 00 01  00 00 00 00  00 20 0a 12  40 02 00 00  EXEC SCSI               18.3.0          3us  2006-01-03  09:46:00.605 
               00 02 00 00  0a 00 00 00  00 20 18 81  c8 e0 38 81                          18.3.16                                       
               00 00 00 00  a8 56 24 81  00 00 00 00  00 00 00 00                          18.3.32                                       
               28 00 00 00  00 00 00 00  01 00 00 00  00 00 00 00                          18.3.48                                       
  24    SSTS   04                                                  check condition         22.1.0        993us  2006-01-03  09:46:00.606 
  24    SRB    40 00 02 04  00 00 00 00  ff 20 00 00  40 01 10 00  IOCTL                   22.2.0          6us  2006-01-03  09:46:00.606 
               3c 02 00 00  0a 00 00 00  20 56 53 b7  00 00 00 00                          22.2.16                                       
               00 00 00 00  a8 56 24 81  00 00 00 00  00 00 00 00                          22.2.32                                       
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          22.2.48                                       
  24    CDB    1a 00 1c 00  c0 00                                  MODE SENSE              23.1.0         52us  2006-01-03  09:46:00.606 
  24    CDB    1a 00 3f 00  c0 00                                  MODE SENSE              24.1.0        269us  2006-01-03  09:46:00.606 
  20.2  DO     55 53 42 43  a8 56 24 81  c0 00 00 00  80 00 06 1a  USBC.V$.........        25.1.0        1.6ms  2006-01-03  09:46:00.608 
               00 1c 00 c0  00 00 00 00  00 00 00 00  00 00 00     ...............         25.1.16                                       
  20.1  DI     0b 00 00 08  00 00 00 00  00 00 02 00               ............            26.1.0        1.0ms  2006-01-03  09:46:00.609 
  20.1  DI     55 53 42 53  a8 56 24 81  b4 00 00 00  01           USBS.V$......           27.1.0        989us  2006-01-03  09:46:00.610 
  20.2  DO     55 53 42 43  a8 56 24 81  12 00 00 00  80 00 0c 03  USBC.V$.........        28.1.0        993us  2006-01-03  09:46:00.611 
               00 00 00 12  00 00 00 00  00 00 00 00  00 00 00     ...............         28.1.16                                       
  20.1  DI     70 00 05 00  00 00 00 0a  00 00 00 00  24 00 00 00  p...........$...        29.1.0        1.0ms  2006-01-03  09:46:00.612 
               00 00                                               ..                      29.1.16                                       
  20.1  DI     55 53 42 53  a8 56 24 81  00 00 00 00  00           USBS.V$......           30.1.0        998us  2006-01-03  09:46:00.613 
  24    SNS    70 00 05 00  00 00 00 0a  00 00 00 00  24 00 00 00  invalid cdb             23.2.0         54us  2006-01-03  09:46:00.613 
               00 00                                                                       23.2.16                                       
  24    SRB    40 00 00 84  02 00 00 00  ff 20 06 12  48 01 00 00  EXEC SCSI               23.3.0          4us  2006-01-03  09:46:00.613 
               00 00 00 00  0a 00 00 00  c8 69 24 81  e8 c0 25 81                          23.3.16                                       
               00 00 00 00  a8 56 24 81  00 00 00 00  00 00 00 00                          23.3.32                                       
               1a 00 1c 00  c0 00 00 00  00 00 00 00  00 00 00 00                          23.3.48                                       
  20.2  DO     55 53 42 43  88 45 34 81  c0 00 00 00  80 00 06 1a  USBC.E4.........        31.1.0        964us  2006-01-03  09:46:00.614 
               00 3f 00 c0  00 00 00 00  00 00 00 00  00 00 00     .?.............         31.1.16                                       
  20.1  DI     0b 00 00 08  00 00 00 00  00 00 02 00  05 1e 1f 40  ...............@        32.1.0        990us  2006-01-03  09:46:00.615 
               04 20 02 00  03 fe 00 00  00 00 00 00  00 00 00 00  . ..............        32.1.16                                       
               00 00 00 00  00 00 00 00  01 68 00 00               .........h..            32.1.32                                       
  20.1  DI     55 53 42 53  88 45 34 81  94 00 00 00  00           USBS.E4......           33.1.0        999us  2006-01-03  09:46:00.616 
  24    DI     0b 00 00 08  00 00 00 00  00 00 02 00  05 1e 1f 40  ...............@        24.2.0         27us  2006-01-03  09:46:00.616 
               04 20 02 00  03 fe 00 00  00 00 00 00  00 00 00 00  . ..............        24.2.16                                       
               00 00 00 00  00 00 00 00  01 68 00 00               .........h..            24.2.32                                       
  24    SSTS   12                                                  data overrun            24.3.0          3us  2006-01-03  09:46:00.616 
  24    SRB    40 00 00 12  00 00 00 00  00 00 06 12  48 01 00 00  EXEC SCSI               24.4.0          3us  2006-01-03  09:46:00.616 
               2c 00 00 00  0a 00 00 00  88 da 57 81  48 83 34 81                          24.4.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          24.4.32                                       
               1a 00 3f 00  c0 00 00 00  00 00 00 00  00 00 00 00                          24.4.48                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           34.1.0         37ms  2006-01-03  09:46:00.653 
  20.2  DO     55 53 42 43  88 45 34 81  08 00 00 00  80 00 0a 25  USBC.E4........%        35.1.0        1.3ms  2006-01-03  09:46:00.655 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         35.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                36.1.0        1.0ms  2006-01-03  09:46:00.656 
  20.1  DI     55 53 42 53  88 45 34 81  00 00 00 00  00           USBS.E4......           37.1.0        996us  2006-01-03  09:46:00.657 
  24    DI     00 01 fe ff  00 00 02 00                            ........                34.2.0         19us  2006-01-03  09:46:00.657 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               34.3.0          2us  2006-01-03  09:46:00.657 
               08 00 00 00  0a 00 00 00  48 83 34 81  e8 c0 25 81                          34.3.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          34.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          34.3.48                                       
  24    CDB    28 00 00 00  00 00 00 00  01 00                     READ                    38.1.0         45us  2006-01-03  09:46:00.657 
  20.2  DO     55 53 42 43  88 45 34 81  00 02 00 00  80 00 0a 28  USBC.E4........(        39.1.0        1.9ms  2006-01-03  09:46:00.659 
               00 00 00 00  00 00 00 01  00 00 00 00  00 00 00     ...............         39.1.16                                       
  20.1  DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        40.1.0        997us  2006-01-03  09:46:00.660 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        40.1.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        40.1.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        40.1.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        40.1.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        40.1.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        40.1.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         40.1.112                                      
  20.1  DI     55 53 42 53  88 45 34 81  00 00 00 00  00           USBS.E4......           41.1.0        1.0ms  2006-01-03  09:46:00.661 
  24    DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        38.2.0         20us  2006-01-03  09:46:00.661 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        38.2.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        38.2.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        38.2.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        38.2.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        38.2.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        38.2.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         38.2.112                                      
  24    SRB    40 00 00 01  00 00 00 00  00 20 0a 12  40 02 00 00  EXEC SCSI               38.3.0          3us  2006-01-03  09:46:00.661 
               00 02 00 00  0a 00 00 00  00 90 21 81  c8 e0 38 81                          38.3.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          38.3.32                                       
               28 00 00 00  00 00 00 00  01 00 00 00  00 00 00 00                          38.3.48                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           42.1.0         63us  2006-01-03  09:46:00.661 
  20.2  DO     55 53 42 43  08 60 2c 81  08 00 00 00  80 00 0a 25  USBC.`,........%        43.1.0        1.9ms  2006-01-03  09:46:00.663 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         43.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                44.1.0        1.0ms  2006-01-03  09:46:00.664 
  20.1  DI     55 53 42 53  08 60 2c 81  00 00 00 00  00           USBS.`,......           45.1.0        998us  2006-01-03  09:46:00.665 
  24    DI     00 01 fe ff  00 00 02 00                            ........                42.2.0         17us  2006-01-03  09:46:00.665 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               42.3.0          3us  2006-01-03  09:46:00.665 
               08 00 00 00  0a 00 00 00  28 99 54 81  68 36 28 81                          42.3.16                                       
               00 00 00 00  08 60 2c 81  00 00 00 00  00 00 00 00                          42.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          42.3.48                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           46.1.0         66us  2006-01-03  09:46:00.665 
  20.2  DO     55 53 42 43  08 60 2c 81  08 00 00 00  80 00 0a 25  USBC.`,........%        47.1.0        1.9ms  2006-01-03  09:46:00.667 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         47.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                48.1.0        1.0ms  2006-01-03  09:46:00.668 
  20.1  DI     55 53 42 53  08 60 2c 81  00 00 00 00  00           USBS.`,......           49.1.0        999us  2006-01-03  09:46:00.669 
  24    DI     00 01 fe ff  00 00 02 00                            ........                46.2.0         17us  2006-01-03  09:46:00.669 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               46.3.0          3us  2006-01-03  09:46:00.669 
               08 00 00 00  0a 00 00 00  e8 c0 25 81  28 99 54 81                          46.3.16                                       
               00 00 00 00  08 60 2c 81  00 00 00 00  00 00 00 00                          46.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          46.3.48                                       
  24    CDB    28 00 00 00  00 00 00 00  01 00                     READ                    50.1.0         60us  2006-01-03  09:46:00.669 
  20.2  DO     55 53 42 43  88 45 34 81  00 02 00 00  80 00 0a 28  USBC.E4........(        51.1.0        1.3ms  2006-01-03  09:46:00.670 
               00 00 00 00  00 00 00 01  00 00 00 00  00 00 00     ...............         51.1.16                                       
  20.1  DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        52.1.0        575us  2006-01-03  09:46:00.671 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        52.1.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        52.1.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        52.1.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        52.1.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        52.1.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        52.1.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         52.1.112                                      
  20.1  DI     55 53 42 53  88 45 34 81  00 00 00 00  00           USBS.E4......           53.1.0        996us  2006-01-03  09:46:00.672 
  24    DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        50.2.0         19us  2006-01-03  09:46:00.672 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        50.2.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        50.2.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        50.2.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        50.2.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        50.2.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        50.2.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         50.2.112                                      
  24    SRB    40 00 00 01  00 00 00 00  00 20 0a 12  40 02 00 00  EXEC SCSI               50.3.0          3us  2006-01-03  09:46:00.672 
               00 02 00 00  0a 00 00 00  00 b0 1f 81  c8 e0 38 81                          50.3.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          50.3.32                                       
               28 00 00 00  00 00 00 00  01 00 00 00  00 00 00 00                          50.3.48                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           54.1.0        5.7ms  2006-01-03  09:46:00.677 
  20.2  DO     55 53 42 43  88 45 34 81  08 00 00 00  80 00 0a 25  USBC.E4........%        55.1.0        1.2ms  2006-01-03  09:46:00.679 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         55.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                56.1.0        1.0ms  2006-01-03  09:46:00.680 
  20.1  DI     55 53 42 53  88 45 34 81  00 00 00 00  00           USBS.E4......           57.1.0        1.0ms  2006-01-03  09:46:00.681 
  24    DI     00 01 fe ff  00 00 02 00                            ........                54.2.0         18us  2006-01-03  09:46:00.681 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               54.3.0          3us  2006-01-03  09:46:00.681 
               08 00 00 00  0a 00 00 00  e8 c0 25 81  28 99 54 81                          54.3.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          54.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          54.3.48                                       
  24    CDB    28 00 00 00  00 00 00 00  01 00                     READ                    58.1.0         43us  2006-01-03  09:46:00.681 
  20.2  DO     55 53 42 43  88 45 34 81  00 02 00 00  80 00 0a 28  USBC.E4........(        59.1.0        1.9ms  2006-01-03  09:46:00.683 
               00 00 00 00  00 00 00 01  00 00 00 00  00 00 00     ...............         59.1.16                                       
  20.1  DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        60.1.0        1.0ms  2006-01-03  09:46:00.684 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        60.1.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        60.1.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        60.1.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        60.1.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        60.1.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        60.1.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         60.1.112                                      
  20.1  DI     55 53 42 53  88 45 34 81  00 00 00 00  00           USBS.E4......           61.1.0        1.0ms  2006-01-03  09:46:00.685 
  24    DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        58.2.0         19us  2006-01-03  09:46:00.685 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        58.2.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        58.2.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        58.2.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        58.2.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        58.2.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        58.2.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         58.2.112                                      
  24    SRB    40 00 00 01  00 00 00 00  00 20 0a 12  40 02 00 00  EXEC SCSI               58.3.0          4us  2006-01-03  09:46:00.685 
               00 02 00 00  0a 00 00 00  00 d0 24 81  c8 e0 38 81                          58.3.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          58.3.32                                       
               28 00 00 00  00 00 00 00  01 00 00 00  00 00 00 00                          58.3.48                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           62.1.0         65us  2006-01-03  09:46:00.685 
  20.2  DO     55 53 42 43  08 60 2c 81  08 00 00 00  80 00 0a 25  USBC.`,........%        63.1.0        1.9ms  2006-01-03  09:46:00.687 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         63.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                64.1.0        991us  2006-01-03  09:46:00.688 
  20.1  DI     55 53 42 53  08 60 2c 81  00 00 00 00  00           USBS.`,......           65.1.0        1.0ms  2006-01-03  09:46:00.689 
  24    DI     00 01 fe ff  00 00 02 00                            ........                62.2.0         17us  2006-01-03  09:46:00.689 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               62.3.0          3us  2006-01-03  09:46:00.689 
               08 00 00 00  0a 00 00 00  68 36 28 81  88 ee 25 81                          62.3.16                                       
               00 00 00 00  08 60 2c 81  00 00 00 00  00 00 00 00                          62.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          62.3.48                                       
  24    CDB    25 00 00 00  00 00 00 00  00 00                     READ CAPACITY           66.1.0         58us  2006-01-03  09:46:00.689 
  20.2  DO     55 53 42 43  08 60 2c 81  08 00 00 00  80 00 0a 25  USBC.`,........%        67.1.0        1.9ms  2006-01-03  09:46:00.691 
               00 00 00 00  00 00 00 00  00 00 00 00  00 00 00     ...............         67.1.16                                       
  20.1  DI     00 01 fe ff  00 00 02 00                            ........                68.1.0        1.0ms  2006-01-03  09:46:00.692 
  20.1  DI     55 53 42 53  08 60 2c 81  00 00 00 00  00           USBS.`,......           69.1.0        990us  2006-01-03  09:46:00.693 
  24    DI     00 01 fe ff  00 00 02 00                            ........                66.2.0         16us  2006-01-03  09:46:00.693 
  24    SRB    40 00 00 01  00 00 00 00  00 00 0a 12  48 01 00 00  EXEC SCSI               66.3.0          3us  2006-01-03  09:46:00.693 
               08 00 00 00  0a 00 00 00  28 99 54 81  68 36 28 81                          66.3.16                                       
               00 00 00 00  08 60 2c 81  00 00 00 00  00 00 00 00                          66.3.32                                       
               25 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00                          66.3.48                                       
  24    CDB    28 00 00 00  00 00 00 00  01 00                     READ                    70.1.0         48us  2006-01-03  09:46:00.693 
  20.2  DO     55 53 42 43  88 45 34 81  00 02 00 00  80 00 0a 28  USBC.E4........(        71.1.0        1.9ms  2006-01-03  09:46:00.695 
               00 00 00 00  00 00 00 01  00 00 00 00  00 00 00     ...............         71.1.16                                       
  20.1  DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        72.1.0        995us  2006-01-03  09:46:00.696 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        72.1.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        72.1.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        72.1.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        72.1.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        72.1.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        72.1.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         72.1.112                                      
  20.1  DI     55 53 42 53  88 45 34 81  00 00 00 00  00           USBS.E4......           73.1.0        999us  2006-01-03  09:46:00.697 
  24    DI     33 c0 8e c0  8e d8 8e d0  bc 00 7c fc  8b f4 bf 00  3...............        70.2.0         14us  2006-01-03  09:46:00.697 
               06 b9 00 01  f2 a5 ea 44  06 00 00 8b  d5 58 b4 10  .......D.....X..        70.2.16                                       
               f6 e4 05 ae  04 8b f0 8a  74 01 8b 4c  02 bb 00 7c  ........t..L....        70.2.32                                       
               b8 01 02 cd  13 72 16 81  bf fe 01 55  aa 75 0e ea  .....r.....U.u..        70.2.48                                       
               00 7c 00 00  80 fa 81 74  02 b2 80 8b  ea bf be 07  .......t........        70.2.64                                       
               b9 04 00 32  f6 8a 45 04  3c 00 74 0b  3c 05 74 07  ...2..E.<.t.<.t.        70.2.80                                       
               80 3d 80 74  19 fe c6 83  c7 10 e2 e9  0a f6 74 06  .=.t..........t.        70.2.96                                       
               be 9c 06 eb  04 90 be b4  06 e8 0e 00  eb fe 8a     ...............         70.2.112                                      
  24    SRB    40 00 00 01  00 00 00 00  00 20 0a 12  40 02 00 00  EXEC SCSI               70.3.0          3us  2006-01-03  09:46:00.697 
               00 02 00 00  0a 00 00 00  00 30 23 81  c8 e0 38 81                          70.3.16                                       
               00 00 00 00  88 45 34 81  00 00 00 00  00 00 00 00                          70.3.32                                       
               28 00 00 00  00 00 00 00  01 00 00 00  00 00 00 00                          70.3.48                                  

 

温馨提示:

  百合电子工作室有一个关于USB开发方面的开源项目-Easy USB 51 Programer,整个开发过程写得非常详细,不防参考一下,您还可以进入她的论坛参与此项目的讨论。

      
 

 
相关文章:

 
最新开源项目
 
 
  查看更多...  
 
本站相关产品   淘宝网店
 




 
  查看更多...  

 

本站程序由百合电子工作室开发和维护
Copyright @ baihe electric studio
渝ICP备09006681号-4