Sct Commands; B0H); Read Attribute Values Sub-Command; Table 4-4 Sct Action Codes - Western Digital Blue WD20SPZX Technical Reference Manual

Mn1000m sata 6gb/s hard drives
Table of Contents

Advertisement

4.1.4

SCT Commands

SCT commands provide capabilities not covered in ATA/ATAPI-7 for commands that
do not fit the ATA command delivery model. Some SCT commands report completion
when the command begins execution. Execution progress for these commands may
be checked by requesting SCT status. For instance, the host can track the progress of
a Write Same command by issuing a status request once per minute. See ATA8-ACS
for a full description of SCT.
Table 4-4. SCT Action Codes
ACTION CODE
0000h
0001h
0002h
0003h
0004h
0005h
0006h
0007h
C000h
4.2
S.M.A.R.T. (B0h)
The S.M.A.R.T. command provides access to attribute values, S.M.A.R.T. status, and
other S.M.A.R.T. information. These commands can be used for logging and reporting
purposes, and for accommodating special user needs.
Prior to writing the S.M.A.R.T. command to the Command Register, the host must
write key values into the LBA Mid and LBA High Registers (4Fh, C2h) or the command
will be aborted and an error will be reported.
The S.M.A.R.T. command has several sub-commands that are selectable via the
Features Register when the host issues the S.M.A.R.T. command. To select a sub-
command, the host must write the appropriate sub-command code to the Features
Register before issuing the S.M.A.R.T. command. The sub-commands and their
respective codes are listed below. For more detailed information on executing
S.M.A.R.T. commands, please see the ATA specification.
4.2.1

Read Attribute Values Sub-Command

This command returns a sector of data with the drive's S.M.A.R.T. data structure.
Table 4-5. Definitions for the 512 Bytes.
BYTE
0 - 1
2 - 361
362
363
ATA Command Set
SCT Error Recovery Control command
VALUE
0010h
S.M.A.R.T. Data Structure Revision
XX
S.M.A.R.T. Attribute Data
Offline data collection status
0Xh OL disabled
8Xh OL enabled
XX
X0h scan not run
X2h scan complete
X4h scan suspended
X5h scan aborted
XX
Self-Test execution status byte.
WESTERN DIGITAL CONFIDENTIAL
- 36 -
DESCRIPTION
RESERVED
Long Sector Access
Write Same
Features Control
SCT Data Tables
Vendor specific
BFFFh Reserved
FFFFh Vendor specific
DESCRIPTION

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents