Maxtor 5120 manual Seek, Format and Diagnostic Commands, Format Track, Execute Drive Diagnostic

Page 61

INTERFACE COMMANDS

Seek, Format and Diagnostic Commands

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.

ERROR CODE

DESCRIPTION

01

No error detected

 

 

00

Master drive failed

80, 82

Master 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 – 13

Image 61
Contents HA RD Drive Produc T MA Nual 92048U8, 91792U7, 91536U6, 91280U5, 91024U4 and 90750U3 DiamondMax PlusRevisions Manual No U T I O N Before You BeginContents Handling and Installation Product SpecificationsHost Software Interface AT Interface DescriptionService and Support Interface CommandsGlossary Figures Maxtor Corporation IntroductionManual Organization AbbreviationsConventions Signal ConventionsKey Words NumberingProduct Description DiamondMax Plus 5120 Key FeaturesFunctional / Interface Product FeaturesLogical Block Addressing On-the-Fly Hardware Error Correction Code ECCDefect Management Zone DMZ Software ECC CorrectionCache Management Read-Ahead ModeBuffer Segmentation Automatic Write Reallocation AWRMajor HDA Components Jumper Location/Configuration Subsystem ConfigurationCylinder Limitation Dual Drive SupportDrive Configuration Product SpecificationsPerformance Specifications Models and CapacitiesParameter Standard Metric Physical DimensionsPower Mode Definitions Power Requirements AverageEPA Energy Star Compliance Environmental LimitsShock and Vibration Reliability SpecificationsRadiated Electromagnetic Field Emissions EMC Compliance Safety Regulatory ComplianceCanadian Emissions Statement Hard Drive Handling Precautions Handling and InstallationPre-formatted Drive Important NoticeMulti-pack Shipping Container Unpacking and InspectionRecommended Mounting Configuration Physical InstallationRepacking Tools for Installation Handling PrecautionsSystem Requirements Drive Identification InformationHard Drive Identification General RequirementsInstalling 5.25-inch Mounting Brackets and Rails Systems Using Cable SelectInstalling in a Device Bay Mounting Drive in SystemAttaching System Cables Attaching Interface and Power CablesSetting the Bios Cmos System SetupBios Cmos Parameters Hard Drive Preparation System Hangs During Boot AT Interface Description Interface ConnectorPin Description Summary Pin Description Table PIN Name Signal Name Signal DescriptionPIO Timing Timing Parameters ModeDMA Timing Ultra DMA Timing Mode MIN MAXSustained 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 Features Register Error RegisterHost Software Interface Task File RegistersSector Number Register Sector Count RegisterCylinder Number Registers Device/Head RegisterCommand Register Summary Command Name Command Code Parameters Used SDHAlternate Status Register Control Diagnostic RegistersDevice Control Register Digital Input RegisterReset Handling Reset and Interrupt HandlingInterrupt Handling Set Feature Commands Interface CommandsRead Sectors Read CommandsRead Verify Sectors Read Multiple Read DMASet Multiple Mode Write CommandsWrite Sectors Write Verify SectorsWrite DMA Write MultipleSet Features Mode Set Feature CommandsPower Mode Commands Sleep Mode Identify Drive Initialization Commands15-8 = PIO data transfer mode = Write Cache enabled Initialize Drive Parameters Execute Drive Diagnostic Seek, Format and Diagnostic CommandsFormat Track Execute S.M.A.R.T A.R.T. Command SetService Policy Service and SupportNo Quibble Service SupportCustomer Service MaxFax ServiceInternet Glossary Access TimeCylinder Zero Gigabyte GB Logical Block Addressing Read Gate Signal THIN-FILM Media