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

Sata
Table of Contents

Advertisement

XL500S
4.1.4
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 issueing a status request once per minute. See ATA8-ACS for a full description
of SCT.
Table 4-4. SCT Action Codes
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, see the ATA-7 specification.
4.2.1
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
135 - 361
362
363
2679-701211-A06

SCT Commands

ACTION CODE
0000h
0001h
0002h
0003h
0004h
0005h
0006h
0007h
C000h

Read Attribute Values Sub-Command

VALUE
0001h
XX
XX
XX
XX
RELEASED 10/21/10 (WD CONFIDENTIAL)
DESCRIPTION
RESERVED
Long Sector Access
Write Same
Error Recovery Control
Features Control
SCT Data Tables
Vendor specific
FFFFh Vendor specific
DESCRIPTION
S.M.A.R.T. Data Structure Revision
S.M.A.R.T. Attribute Data
S.M.A.R.T. Attribute Data
Offline data collection status
0Xh OL disabled
8Xh OL enabled
X0h scan not run
X2h scan complete
X4h scan suspended
X5h scan aborted
Self-Test execution status byte.
00h
The previous self-test routine completed without error or no
self-test has ever been run
01h
The self-test routine was aborted by the host
ATA Command Set
SCT BIST
29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents