4.3 SCSI Commands
4.3.13 VERIFY command
Table 4.52 VERIFY command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (2Fh) |
|
|
| ||||
1 |
| LUN |
|
|
|
| Reserved |
| ByteChk | Reserved | |
|
|
| Logical Block Address |
|
|
| |||||
|
|
|
|
|
|
|
|
|
| ||
6 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
| Verification Length |
|
|
| ||||
|
|
|
|
|
|
|
|
|
| ||
9 |
|
|
|
|
| Reserved |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
The VERIFY command verifies the specified number of blocks beginning at the specified logical block address. Logical Block Address specifies the logical block address at which the command should start verifying data. Verification Length specifies the number of blocks to be verified. If Verification Length is 0, the command ends normally without verifying any data.
The ByteChk bit controls data compare processing. However, since the ODD does not support ByteChk, this bit must be set to 0. If 1 is specified, the command ends with Check Condition.
4.3.14 WRITE (6) command
The WRITE (6) command writes the specified number of blocks of data sent from INIT beginning at the specified logical block address on the media.
Table 4.53 CDB of WRITE (10) command
Bit | 7 | 6 | 5 |
| 4 |
| 3 |
| 2 | 1 | 0 |
Byte |
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation Code (0Ah) |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |
1 |
| LUN |
|
| (MSB) |
|
|
|
|
| |
2 |
|
|
| Logical Block Length |
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| (LSB) |
3 |
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
| |||
4 |
|
|
|
| Transfer Length |
|
|
| |||
5 |
|
|
|
| Reserved |
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
Logical Block Address specifies the logical block address at which the command should start writing data. Transfer Length specifies the number of consecutive logical blocks of data to be transferred. If Transfer Length is 00h, the command assumes that 100h is specified. If the value is other than 00h, the command assumes it to be the number of logical blocks to be transferred.
•If the alternate blocks become insufficient during alternate block assignment, the CHECK CONDITION status is reported. The cause is indicated in the sense byte (Sense Key = MEDIUM ERROR [= 3]).