Maxtor Manual for Commands and Diagnostics of the 5T040H4 Drive

Page 55

INTERFACE COMMANDS

Seek,FormatandDiagnosticCommands

Seek

Initiates a seek to the track, and selects the head specified in the Command block.

1.Sets BSY in the Status register,

2.Initiates the Seek,

3.Resets BSY and

4.Generates an interrupt.

The drive does not wait for the seek to complete before returning the interrupt. If a new command is issued to a drive during the execution of a Seek command, the drive will wait (with BSY active) for the Seek to complete before executing the new command.

Format Track

Formats the track specified in the Command Block. Shortly after the Command register is written, the drive sets the bit, and waits for the host to fill the sector buffer with the interleave table. When the buffer is full, the drive resets DRQ, sets BSY and begins command execution. If the drive is not already on the desired track, an implied seek is performed. Once at the desired track the data fields are written with all zeroes.

Execute Drive Diagnostic

Commands the drive to implement the internal diagnostic tests. (These tests are executed only upon command receipt; they do not run automatically at power up or after a reset.)

The drive sets BSY immediately upon receiving this command. The following table presents the codes and their descriptions. Note that the value in the Error register should be viewed as a unique 8 bit Code.

ER ROR CODE

DESC RIPTION

 

 

01

No error detected

 

 

00

Master drive failed

 

 

80, 82

Mas ter and slave drives failed

 

 

81

Slave drive failed

Note: If a slave drive fails diagnostics, the master drive OR’s 80h with its own status, and loads that code into the Error register. If a slave drive passes diagnostics (or a slave is absent), the master drive OR’s 00 with its own status and loads that code into the Error register.

7 – 14

Image 55
Contents Corporate Headquarters REV EC N O SEC Tion Desc Ription ATE 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 Product Description KeyFeaturesFunctional / Interface Product FeaturesModel S SP T MAX LB a Apac IT Y CacheManagement MajorHDAComponents Jumper Location / Configuration SubsystemConfigurationCylinderLimitationJumperDescription ModelsandCapacities ProductSpecificationsDriveConfiguration PerformanceSpecificationsAram E TE R Stan D ARD ME T RIC PhysicalDimensionsmaximumEnvironmentalLimits PowerRequirementsPowerModeDefinitions EPA Energy Star ComplianceShock and Vibration ReliabilitySpecificationsParam E TE R OP ER AT ING ON- OPE R AT ING EMC/EMI SafetyRegulatoryComplianceHardDriveHandlingPrecautions HandlingandInstallationElectro-StaticDischargeESD Multi-pack Shipping Container UnpackingandInspectionRepacking PhysicalInstallationHook 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 CommandRegister M 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/CheckCommandsLE 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. CommandSetSupport ServiceandSupportServicePolicy NoQuibbleServiceFrom Dial Glossary AccesstimeCorrectableerror Fetch Landingzoneorlzone Physicalsector Softerror