Technical information
HGST Ultrastar C15K600 Hard Disk Drive Specification
259
18.40.3
Send Diagnostic Page 40
This allows the Initiator to translate a LBA or physical sector address to the other format. The address to be
translated is passed to the Target with the SEND DIAGNOSTIC command and the results are returned to the Initiator
by the RECEIVE DIAGNOSTICS command. The Target will read the parameter list from the Initiator, and, if no errors
are detected in the parameter list, Good status will be returned. The data translation will be performed upon receipt
of the RECEIVE DIAGNOSTICS command.
Table 241 Diagnostic Page 40
Byte
Bit
7 6 5 4 3 2 1 0
0
Page Code = 40h
1
Reserved = 0
2-3
Page Length = 0Ah
4
Reserved = 0 Supplied Format
5
Reserved = 0 Translate Format
6-13
Address to Translate
Supplied Format may take one of the following three values:
It specifies the format in which the address has been supplied.
000b
Short Block format
011b
Long Block format
100b
Bytes From Index format
101b
Physical Sector format
- Translate Format specifies the format that the address should be translated into. If the Supplied Format is the
Short Block format or Long Block format, the Translate format must be either Bytes From Index or Physical
Sector format. If the Supplied Format is the Bytes From Index or Physical Sector format, the Translate Format
must be Long Block format. If either of the format fields is invalid or they specify the same format, the command
will terminate with Check Condition status with a sense code of Illegal Request and Illegal Field in Parameter
List.
- Address to Translate contains the address to translate. If the Short Block format is specified, the first four
bytes of the field (bytes 6 to 9) contain the LBA and the remainder must be zero. If the Long Block format is
specified, byte 6 to 13 contain the 64-bit LBA. For the physical format the address must be specified as follows.
Table 242 Address to translate
Byte
Bit
7
6
5
4
3
2
1
0
6-8
Cylinder Number
9
Head Number
10-13
Sector Number or Bytes from Index