
Host Interface
4.6.20 SYNCHRONIZE CACHE command
Table 4.109 SYNCHRONIZE CACHE command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (35h) |
|
|
| ||||
|
|
|
|
|
|
|
|
| |||
1 | Logical Unit Number |
|
|
| Reserved |
| IMMED | Reserved | |||
|
|
|
|
|
|
|
|
| |||
|
|
| Logical Block Address |
|
|
| |||||
|
|
|
|
|
|
|
|
|
| ||
6 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
|
|
|
| Number of Blocks |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
|
The SYNCHRONIZE CACHE command writes cache memory data not written yet in the data buffer to media.
The IMMED (Immediate) bit is not supported. When the IMMED bit is 1, the command responds with Check Condition.
The command writes all data not written yet in the cache memory of the data buffer to media, regardless of the value set in Logical Block Address and Number of Blocks. The command does not check the value of Logical Block Address and Number of Blocks.
4.6.21 TEST UNIT READY command
Table 4.110 TEST UNIT READY command
Bit | 7 | 6 | 5 | 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (00h) |
|
|
| |||
|
|
|
|
|
|
|
|
| ||
1 | Logical Unit Number |
|
|
|
| Reserved |
|
| ||
|
|
|
|
|
|
|
|
| ||
|
|
|
| Reserved |
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
The TEST UNIT READY command checks if the device is ready for test and reports the device status to the host.
If the ODD can end normally for appropriate access commands, the command responds with the Good status. Otherwise, the command responds with Check Condition to the host.