40
DiamondMax 21 Serial ATA Product Manual, Rev. A
4.3.3 S.M.A.R.T. commands
S.M.A.R.T. provides near-term failure prediction for disc drives. When S.M.A.R.T. is enabled, the drive moni-
tors predetermined drive attributes that are susceptible to degradation over time. If self-monitoring determines
that a failure is likely, S.M.A.R.T. makes a status report available to the host. Not all failures are predictable.
S.M.A.R.T. predictability is limited to the attributes the drive can monitor. For more information on S.M.A.R.T.
commands and implementation, see the Draft ATA-5 Standard.
This drive is shipped with S.M.A.R.T . fe ature s disab le d. You must have a recent BIOS or software pa ckage that
supports S.M.A.R.T. to enable this feature. The table below shows the S.M.A.R.T. command codes that the
drive uses.
Note. If an appropriate code is not written to the Features Register, the command is aborted and 0x 04
(abort) is written to the Error register.
Table 12: S.M.A.R.T. commands
Code in features register S.M.A.R.T. command
D0HS.M.A.R.T. Read Data
D2HS.M.A.R.T. Enable/Disable Attribute Autosave
D3HS.M.A.R.T. Save Attribute Values
D4HS.M.A.R.T. Execute Off-line Immediate (runs DST)
D5HS.M.A.R.T. Read Log Sector
D6HS.M.A.R.T. Write Log Sector
D8HS.M.A.R.T. Enable Operations
D9HS.M.A.R.T. Disable Operations
DAHS.M.A.R.T. Return Status