WD Scorpio ML160M
AT Command Set
2679-701205-A00
RELEASED 1/16/09 (WD CONFIDENTIAL)
23
4.1.2
Obsolete Commands
Table 4-2 lists the hexadecimal codes specific to each obsolete command supported by
these hard drives.
Table 4-2. Obsolete Command Opcodes
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-3. Definitions for the 512 Bytes.
SLEEP
E6
STANDBY
E2
STANDBY IMMEDIATE
E0
WRITE BUFFER
E8
WRITE DMA
CA
WRITE DMA EXT
35
WRITE LOG EXT
3F
WRITE MULTIPLE
C5
WRITE MULTIPLE EXT
39
WRITE SECTOR(S)
30
WRITE SECTOR(S) EXT
34
COMMAND
HEX OPCODE
INITIALIZE DEVICE PARAMETERS
91
RECALIBRATE
10
SEEK
70
BYTE
VALUE
DESCRIPTION
0 - 1
0010h
S.M.A.R.T. Data Structure Revision
2 - 361
XX
S.M.A.R.T. Attribute Data
COMMAND
HEX OPCODE