Mass Storage Class Tests
| 93 of 124
S
u
pe
rS
pe
ed
U
S
B
Ex
pl
o
re
r
2
8
0
12.
Examiner sends a Test Unit Ready command.
Device must complete the Test Unit Ready command.
Specification Reference
USB Mass Storage Device Compliance Specification TD1.4.
8.5
Case 1 Test
Test Summary
Examiner sends a series of mass storage class requests intended to confirm the case:
Hn = Dn: neither host nor device want to transfer data.
Test Steps and Expected Results
1.
Examiner initializes the link to U0.
2.
Examiner issues several standard descriptor requests and places the device into the
configured state.
3.
Examiner issues an Inquiry command (Data Transfer Length = 36 bytes), a Test Unit
Ready command (Data Transfer Length = 0 bytes), and a Read Capacity command (Data
Transfer Length = 8 bytes).
Multiple Test Unit Ready commands may be issued until the device reports
it is ready.
4.
To induce the Case 1 behavior, Examiner issues a Test Unit Ready command with
CBWDataTransferLength = 0x0000.
The test fails if any of the requirements listed below are not met:
In each Status Transport, the CSW must be 13 bytes in length.
In each Status Transport, the Signature must match the CBW.
In each Status Transport, the dDataResidue field must be equal to 0 Bytes.
In each Status Transport, the bStatus field must be equal to 0x00 (Command
Passed) or 0x01 (Command Failed).