Host Interface
4.3.19 ERASE command
Table 4.58 ERASE command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (2Ch) |
|
|
| ||||
1 |
| LUN |
|
|
|
|
|
| Reserved |
|
|
|
|
| Logical Block Address |
|
| ||||||
|
|
|
|
|
|
|
|
|
| ||
6 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
| Transfer Length |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
9 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
The ERASE command erases the specified number of blocks of data beginning at the specified logical block address. Logical Block Address specifies the logical block address at which the command should start writing data. Transfer Length specifies the number of blocks of data to be transferred and written.
If Transfer Length is 0, the command transfers no data. It simply ends normally without erasing any data.
4.3.20 SYNCHRONIZE CACHE command
Table 4.59 SYNCHRONIZE CACHE command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (35h) |
|
|
| ||||
1 |
| LUN |
|
|
|
| Reserved |
| IMMED | Reserved | |
|
|
|
|
|
|
|
|
| |||
|
|
| Logical Block Address |
|
|
| |||||
6 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
| |||
|
|
|
| Number of Blocks |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
9 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
The SYNCHRONIZE CACHE command writes data that has been left unwritten in cache memory in the data buffer to media.
The Immediate (IMMED) bit is not supported. If 1 is specified for the IMMED bit, the command responds with Check Condition. The command writes all data left unwritten in cache memory in the data buffer to media regardless of the values specified for Logical Block Address and Number of Blocks. The command does not check the values of Logical Block Address and Number of Blocks.