U盘BOT存储UFI协议数据自检校验命令VERIFY:0x2F
2022-05-25
1027
0
VERIFY命令请求用于UFI设备校验设备上的数据。
VERIFY Command格式
- DPO:为0
- ByteChk:为0。USB-FDU仅检查介质上的CRC数据,无数据比较
- RelAdr:为0
- Logical Block Address:该字段指定验证操作开始的逻辑块LBA。
- Verification Length:验证长度字段指定要验证的连续逻辑数据块的数量。验证长度为零表示不会验证任何逻辑块。这种情况不会被视为错误,也不会验证任何数据。任何其他值表示将要验证的逻辑块的数量。
如果验证命令成功完成,UFI设备应将检测数据设置为NO SENSE.,否则,装置应将传感数据设置为下面列出的适当值。
Sense Key | ASC | ASCQ | Description of Error |
---|---|---|---|
0 | 0 | NO SENSE | |
1 | 17 | 1 | RECOVERED DATA WITH RETRIES |
1 | 18 | 0 | RECOVERED DATA WITH ECC |
2 | 4 | 1 | LOGICAL DRIVE NOT READY - BECOMING READY |
2 | 4 | 2 | LOGICAL DRIVE NOT READY - INITIALIZATION REQUIRED |
2 | 4 | 4 | LOGICAL UNIT NOT READY - FORMAT IN PROGRESS |
2 | 4 | FF | LOGICAL DRIVE NOT READY - DEVICE IS BUSY |
2 | 6 | 0 | NO REFERENCE POSITION FOUND |
2 | 8 | 0 | LOGICAL UNIT COMMUNICATION FAILURE |
2 | 8 | 1 | LOGICAL UNIT COMMUNICATION TIME-OUT |
2 | 8 | 80 | LOGICAL UNIT COMMUNICATION OVERRUN |
2 | 3A | 0 | MEDIUM NOT PRESENT |
2 | 54 | 0 | USB TO HOST SYSTEM INTERFACE FAILURE |
2 | 80 | 0 | INSUFFICIENT RESOURCES |
2 | FF | FF | UNKNOWN ERROR |
3 | 2 | 0 | NO SEEK COMPLETE |
3 | 3 | 0 | WRITE FAULT |
3 | 10 | 0 | ID CRC ERROR |
3 | 11 | 0 | UNRECOVERED READ ERROR |
3 | 12 | 0 | ADDRESS MARK NOT FOUND FOR ID FIELD |
3 | 13 | 0 | ADDRESS MARK NOT FOUND FOR DATA FIELD |
3 | 14 | 0 | RECORDED ENTITY NOT FOUND |
3 | 30 | 1 | CANNOT READ MEDIUM - UNKNOWN FORMAT |
3 | 31 | 1 | FORMAT COMMAND FAILED |
4 | 40 | NN | DIAGNOSTIC FAILURE ON COMPONENT NN (80H-FFH) |
5 | 1A | 0 | PARAMETER LIST LENGTH ERROR |
5 | 20 | 0 | INVALID COMMAND OPERATION CODE |
5 | 21 | 0 | LOGICAL BLOCK ADDRESS OUT OF RANGE |
5 | 24 | 0 | INVALID FIELD IN COMMAND PACKET |
5 | 25 | 0 | LOGICAL UNIT NOT SUPPORTED |
5 | 26 | 0 | INVALID FIELD IN PARAMETER LIST |
5 | 26 | 1 | PARAMETER NOT SUPPORTED |
5 | 26 | 2 | PARAMETER VALUE INVALID |
5 | 39 | 0 | SAVING PARAMETERS NOT SUPPORT |
6 | 28 | 0 | “NOT READY TO READY TRANSITION - MEDIA CHANGED” |
6 | 29 | 0 | “POWER ON RESET OR BUS DEVICE RESET OCCURRED” |
6 | 2F | 0 | COMMANDS CLEARED BY ANOTHER INITIATOR |
7 | 27 | 0 | WRITE PROTECTED MEDIA |
0B | 4E | 0 | OVERLAPPED COMMAND ATTEMPTED |
如果验证命令因USB位填充错误或CRC错误而中止,则应设置UFI设备USB到主机系统接口的sense data 故障 为 USB TO HOST SYSTEM INTERFACE FAILURE.
HID人机交互QQ群:564808376
UAC音频QQ群:218581009
UVC相机QQ群:331552032
BOT&UASP大容量存储QQ群:258159197
STC-USB单片机QQ群:315457461
USB技术交流QQ群2:580684376
USB技术交流QQ群:952873936