Command Specifications

4.2.3 WRITE (0A)

 

Bit

7

6

5

4

 

3

 

2

1

 

0

Byte

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

X'0A'

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

 

0

0

0

 

Logical Block Address (MSB)

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

Logical Block Address

 

 

 

 

 

 

 

 

 

 

 

 

3

 

 

 

Logical Block Address (LSB)

 

 

 

 

 

 

 

 

 

 

 

 

4

 

 

 

Transfer Block Count

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

5

 

0

0

0

0

0

 

0

0

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

This command transfers the number of blocks of data specified in the "Transfer block count" field from the INIT and writes them in continuous logical data blocks with the logical data block on the disk media specified in the "Logical block address" field in the CDB as the top.

The transfer block count can be specified up to a maximum of 256 logical data blocks. When zero is specified in the "Transfer block count" field in byte 4 of the CDB, it specifies transfer of 256 logical data blocks and when a value other than zero is specified, it specifies the number of logical data blocks that should be transferred.

When transfer of multiple data blocks is instructed by this command, when the data blocks which are to be processed come to a track boundary, cylinder boundary or zone boundary, a head switch or cylinder switch is executed automatically and writing of the specified number of blocks is performed.

When the specifications in the "Logical block address" field and "Transfer block count" field in the CDB exceed the maximum logical block address in the HDD, that command is terminated with a CHECK CONDITION status (ILLEGAL REQUEST [=5] / Logical block address out of range [=21-00]) and writing of data to the disk media is not executed.

If the write cache function is enabled, the HDD reports a status byte at the point when reception of all the data transferred from the INIT is completed. If an error occurs while data are being written to the disk media, a CHECK CONDITION status is reported for the command to be executed next. If the write cache function is disabled, a status byte is reported after writing to the disk media of all the data transferred from the INIT is completed, then execution of the command is terminated.

216

C141-C013

Page 220
Image 220
Fujitsu MBC2036RC, MBC2073RC, MBA3300RC, MBA3147RC, MBA3073RC specifications Write 0A