Maxtor 2B010H1, 2B015H1, 2B020H1 manual A.R.T. CommandSet, Key Register

Page 55

INTERFACE COMMANDS

S.M.A.R.T. CommandSet

Execute S.M.A.R.T.

The Self-Monitoring Analysis and Reporting Technology (S.M.A.R.T.) command has been implemented to improve the data integrity and data availability of hard disk drives. In some cases, a S.M.A.R.T. capable device will predict an impending failure with sufficient time to allow users to backup their data and replace the drive before data loss or loss of service. In addition to S.M.A.R.T., DiamondMax drives support DST and all of its options.

The S.M.A.R.T. sub-commands (listed below) comprise the ATA S.M.A.R.T. feature set that provide access to S.M.A.R.T. attribute values, attribute thresholds and other logging and reporting information. Prior to writing a S.M.A.R.T. command to the device’s command register, key values must be written by the host into the device’s Cylinder Low and Cylinder High registers, or the command will be aborted. For any S.M.A.R.T. sub-command, if a device register is not specified as being written with a value by the host, then the value in that register is undefined and will be ignored by the device.

The key values are:

Key

Register

4Fh

Cylinder Low (1F4h)

C2h

Cylinder High (1F5h)

The S.M.A.R.T. sub-commands use a single command code (B0h) and are differentiated from one another by the value placed in the Features register. In order to issue a command, the host must write the sub- command-specific code to the device’s Features register before writing the command code to the command register. The sub-commands and their respective codes are:

D0h

S.M.A.R.T. Read Attribute Value

 

This feature returns 512 bytes of attribute information to the host.

D1h

S.M.A.R.T. Read Attribute Thresholds

 

This feature returns 512 bytes of warranty failure thresholds to the host.

D2h

Enable/Disable Autosave

 

To enable this feature, set the sector count register to F1h (enable) or 0 (disable). Attribute values

 

are automatically saved to non-volatile storage on the device after five minutes of idle time and

 

before entering idle, sleep or standby modes. This feature is defaulted to “enabled” when

 

S.M.A.R.T. is enabled via the S.M.A.R.T. Enable Operations commands. The autosave feature

 

will not impact host system performance and does not need to be disabled.

D3h

S.M.A.R.T. Save Attribute Value

 

This feature saves the current attribute values to non-volatile storage.

D4h

Perform Off-Line Data Collection/DST

 

Data is collected from random seeks, timed pattern seek times and head margin tests. Supports

 

captive long and short; and non-captive long and short.

D5h

S.M.A.R.T. Read Log Sector

 

Allows the host to read S.M.A.R.T. error log and host vendor-specific sectors.

D6h

S.M.A.R.T. Write Log Sector

 

Allows the host to write S.M.A.R.T. error log and host vendor-specific sectors.

D8h

Enable S.M.A.R.T.

D9h

Disable S.M.A.R.T.

DAh

S.M.A.R.T. Return Status

 

This feature allows the host to assess the status of a S.M.A.R.T. capable device by comparing all

 

saved attribute values with their corresponding warranty failure thresholds. If no thresholds are

 

exceeded, the drive is declared to have a positive health status. If any warranty failure threshold is

 

exceeded, the drive is declared to have a negative health status. Executing this sub-command

 

results in all attribute values being saved to non-volatile storage on the device.

DBh

Enable/Disable Automatic Off-Line

 

To enable this feature, set the Sector Count register to F1h or 0 to disable.

7 – 15

Image 55
Contents Maxtor 541DX Product Manual U T I O N Before You BeginContents Handling and Installation Product SpecificationsAT Interface Description Interface CommandsHost Software Interface Glossary Service and SupportFigures Abbreviations IntroductionMaxtorCorporation ManualOrganizationConventions ProductDescription Key FeaturesFunctional / Interface Product FeaturesModels CYL SP T MAX LBA Capacity CacheManagement Major HDA Components Cylinder Limitation Jumper Description SubsystemConfigurationJumper Location / Configuration Jumper ConfigurationModels and Capacities ProductSpecificationsDrive Configuration PerformanceSpecificationsParam Eter Valu E Physical DimensionsEnvironmental Limits PowerRequirementsPower Mode Definitions EPA Energy Star ComplianceShock and Vibration Reliability SpecificationsParam Eter Oper AT ING ON- Oper AT ING EMC/EMI Safety Regulatory ComplianceHard Drive Handling Precautions HandlingandInstallationElectro-Static Discharge ESD Multi-pack Shipping Container Unpacking and InspectionRepacking Physical InstallationHook up Before You BeginStart up Set upPIN IGN AL InterfaceConnectorATInterfaceDescription PinDescriptionSummaryPin Description Table PIN Name Signal Name Signal Desc RiptionPIO Timing IM in G Paramet ERS ModeDMATiming Imin G Paramet ERS ModeMode Ultra DMA TimingSustained Ultra DMA Data In Burst Device Terminating an Ultra DMA Data In Burst Initiating an Ultra DMA Data Out Burst Device Pausing an Ultra DMA Data Out Burst Device Terminating an Ultra DMA Data Out Burst Task File Registers HostSoftwareInterfacePOR T EAD WR ITE Conten TS LBA Bits Seek, Format, and Diagnostic Commands CommandRegisterM M a N D N a M E M M a N D code PA R a M E T E R S U S E D SummaryControl Diagnostic Registers Reset and Interrupt Handling InterfaceCommands ReadCommands Read DMA WriteCommands Write Multiple VAL UE DES C RIP Tion ModeSet/CheckCommandsEC TOR LE VE L VAL UE Omman D Timer VAL UE TIME-OUT Period PowerModeCommandsSleep Mode Or D ENT Desc Ription InitializationCommandsOr D 15- 10, as c urrently defined Initialize Drive Parameters ER ROR Code Desc Ription Seek,FormatandDiagnosticCommandsKey Register A.R.T. CommandSetProduct Support ServiceandSupportService Policy No Quibble ServiceFrom Dial Glossary Character Correctable errorCentral processing unit CPU ChannelError free Direct accessDirect memory access DMA Error correction code ECCGigabyte GB Hard errorHead disk assembly HDA Frequency responseLogical address Late windowLatency LogicRead gate signal Phase locked loop PLLPhase margin Random access memory RAMSoft error Sector pulse signalSeek complete signal Sequential accessWrite gate signal Strobe offset signalUn-correctable error Unrecoverable error