摘要: SIMPLIFIED DIRECT-ACCESS DEVICE (RBC)------------------------------------------OP B Description------------------------------------------00 M TEST UNIT READY12 M INQUIRY1B M START STOP UNIT25 M READ CAPACITY(10)28 M READ(10)2A M WRITE(10)2E M WRITE AND VERIFY(... 阅读全文
posted @ 2013-06-16 16:16 IAmAProgrammer 阅读(566) 评论(0) 推荐(0) 编辑
摘要: struct tagDrives{ WCHAR letter; WCHAR volume[ BUFFER_SIZE ];} g_drives[ 26 ];//WCHAR GetUSBDrive( ){ LPTSTR lpDevID; WCHAR cDrive; DWORD dwSize = BUFFER_SIZE; // Get all removable disks on user laptop. if ( !GetAllRemovableDisks( ) ) { WRITELOG( "Error - GetAllRemovableDisks failed\n" ); . 阅读全文
posted @ 2013-06-16 16:08 IAmAProgrammer 阅读(1697) 评论(0) 推荐(0) 编辑
摘要: http://www.tldp.org/HOWTO/archived/SCSI-Programming-HOWTO/SCSI-Programming-HOWTO-23.html23. A SCSI command code quick referenceTable 365 is a numerical order listing of the command operation codes. Table 365: SCSI-2 Operation Codes+=============================================... 阅读全文
posted @ 2013-06-16 15:37 IAmAProgrammer 阅读(2209) 评论(0) 推荐(0) 编辑
摘要: a) USB transfer speed of MSC-BOT (Mass-Storage Class - Bulk-Only Transport)MSC-BOT protocol has overhead to transfer data on both direction.READ10/WRITE10 SCSI commands are carried by this BOT protocol.CBW - Data transport (IN/OUT) - CSWWhen Host runs OHCI or UHCI host controller (as usual on PCs), 阅读全文
posted @ 2013-06-16 12:38 IAmAProgrammer 阅读(856) 评论(0) 推荐(0) 编辑