Инструкция LFF (3.5") Серверный HDD WD Ultrastar HC580

12.68 Write Log Ext (3Fh) (стр. 336 из 357)

Бренд: LFF

Страница 336 документа LFF (3.5") Серверный HDD WD Ultrastar HC580. Раздел: Western Digital. Бренд: LFF.

Текст страницы

12.68 Write Log Ext (3Fh)

This command writes a specified number of 512 byte data sectors to the specific log. The device shall interrupt for
each DRQ block transferred.

Table 257 Write Log Ext Command (3Fh)

Command Input

Field
Description
FEATURE
Reserved
COUNT
LOG PAGE COUNT field
LBA
Bit Description
47:40 Reserved
39:32 PAGE NUMBER field (15:8)
31:16 Reserved

15:8 PAGE NUMBER field (7:0)

7:0 LOG ADDRESS field – specifies the log to be written
DEVICE
Bit Description

7 Obsolete
6 N/A
5 Obsolete
4 Transport Dependent – See Section 9.2.10
3:0 Reserved
Command
7:0 3Fh
The LOG PAGE COUNT field specifies the number of log pages that shall be written to the specified log. If the number
is zero, or the number is greater than the number indicated in the GPL Directory, the device shall return command
aborted.
The PAGE NUMBER field specifies the first page number to be written to the specified log.
Error Outputs
A drive returns command aborted for the command if:

a) the LOG PAGE COUNT field is cleared to zero;
b) the feature set associated with the log specified in the LOG ADDRESS field is not supported or not enabled;
c) the values in the FEATURE field, LOG PAGE COUNT field, or LBA field (47:8) are invalid;
d) the host attempts to write to a read only log; or
e) the value in the PAGE NUMBER field plus the value in the LOG PAGE COUNT field is larger than the log size

reported in the GPL Directory.
If the log data is not available or a data structure checksum error occurred, then the device shall return command
completion for the command with the ID NOT FOUND bit set to one.

A drive may return command completion with the ERROR bit set to one if an Interface CRC error has occurred.

336
Hard Disk Drive Specification