ncyangyong 发表于 2010-2-23 15:36:11

求助关于USB MODE SENSE的问题

请问用STM32外加NANDFLASH做的U盘在格式化时出现MODE SENSE6不能通过是为什么?
程序是用的例子 程序回应为03 00 00 00
Bus Hound 5.00 capture

  Device - Device ID (followed by the endpoint for USB devices)
            (20) HID-compliant mouse
            (21) USB Mass Storage Device
            (22) Kingston DataTraveler 2.0 
            (23) Generic USB  SD Reader 
            (25) Kingston DataTraveler 2.0 
            (26) USB Mass Storage Device
            (27) STM SD Flash Disk 
  Phase  - Phase Type
            CDB   Command descriptor block   
            DI    Data in                    
            DO    Data out                   
            SSTS  SCSI request block status  
  Data   - Hex dump of the data transferred
  Descr  - Description of the phase
  Cmd... - Position in the captured data
  Date   - Date the phase occurred in year/month/day form
  Time   - Time the phase occurred in hour:minute:second.millisec form
  Delta  - Elapsed time from the previous phase to the current phase


Device  Phase  Data                                                                                                    Description       Cmd.Phase.Ofs(rep)  Date        Time          Delta
------  -----  ------------------------------------------------------------------------------------------------------  ----------------  ------------------  ----------  ------------  -----
  27    CDB    1a 00 3f 00  0c 00                                                                                      MODE SENSE            1814.1.0        2010-02-23  05:48:40.191  389us  
  27    CDB    00 00 00 00  00 00                                                                                      TEST UNIT READY       1815.1.0        2010-02-23  05:48:40.192  656us  
  26.2  DO     55 53 42 43  00 be f9 84  0c 00 00 00  80 00 06 1a  00 3f 00 0c  00 00 00 00  00 00 00 00  00 00 00     USBC............      1816.1.0        2010-02-23  05:48:40.193  1.0ms  
  26.1  DI     03 00 00 00                                                                                             ....                  1817.1.0        2010-02-23  05:48:40.195  1.9ms  
  26.1  DI     55 53 42 53  00 be f9 84  08 00 00 00  00                                                               USBS.........         1818.1.0        2010-02-23  05:48:40.196  999us  
  27    DI     03 00 00 00                                                                                             ....                  1814.2.0        2010-02-23  05:48:40.196  164us  
  27    SSTS   12                                                                                                      data overrun          1814.3.0        2010-02-23  05:48:40.196    1us  
页: [1]
查看完整版本: 求助关于USB MODE SENSE的问题