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

Page 60

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 60
Contents HA RD Drive Produc T MA Nual DiamondMax Before You Begin U T I O NContents Product Specifications Handling and InstallationAT Interface Description Host Software InterfaceInterface Commands Service and SupportGlossary Figures Introduction Maxtor CorporationManual Organization AbbreviationsSignal Conventions ConventionsKey Words NumberingDiamondMax 6800 Key Features Product DescriptionProduct Features Functional / InterfaceOn-the-Fly Hardware Error Correction Code ECC Logical Block AddressingDefect Management Zone DMZ Software ECC CorrectionRead-Ahead Mode Cache ManagementBuffer Segmentation Automatic Write Reallocation AWRMajor HDA Components Subsystem Configuration Jumper Location/ConfigurationCylinder Limitation Dual Drive SupportProduct Specifications Drive ConfigurationPerformance Specifications Models and CapacitiesPhysical Dimensions Parameter Standard MetricPower Requirements Power Mode DefinitionsEPA Energy Star Compliance Environmental LimitsReliability Specifications Shock and VibrationSafety Regulatory Compliance Radiated Electromagnetic Field Emissions EMC ComplianceCanadian Emissions Statement Handling and Installation Hard Drive Handling PrecautionsPre-formatted Drive Important NoticeUnpacking and Inspection Multi-pack Shipping ContainerPhysical Installation Recommended Mounting ConfigurationRepacking Handling Precautions Tools for InstallationSystem Requirements Drive Identification InformationGeneral Requirements Hard Drive IdentificationSystems Using Cable Select Installing 5.25-inch Mounting Brackets and RailsInstalling in a Device Bay Mounting Drive in SystemAttaching Interface and Power Cables Attaching System CablesSystem Setup Setting the Bios CmosBios Cmos Parameters Hard Drive Preparation System Hangs During Boot Interface Connector AT Interface DescriptionPin Description Summary PIN Name Signal Name Signal Description Pin Description TableTiming Parameters Mode PIO TimingDMA Timing Mode MIN MAX 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 Error Register Features RegisterHost Software Interface Task File RegistersSector Count Register Sector Number RegisterCylinder Number Registers Device/Head RegisterCommand Register Command Name Command Code Parameters Used SDH SummaryControl Diagnostic Registers Alternate Status RegisterDevice Control Register Digital Input RegisterReset and Interrupt Handling Reset HandlingInterrupt Handling Interface Commands Set Feature CommandsRead Commands Read SectorsRead Verify Sectors Read DMA Read MultipleWrite Commands Set Multiple ModeWrite Sectors Write Verify SectorsWrite Multiple Write DMASet Feature Commands Set Features ModePower Mode Commands Sleep Mode Initialization Commands Identify Drive15-8 = PIO data transfer mode = Write Cache enabled Initialize Drive Parameters Seek, Format and Diagnostic Commands Execute Drive DiagnosticFormat Track A.R.T. Command Set Execute S.M.A.R.TService and Support Service PolicyNo Quibble Service SupportMaxFax Service Customer ServiceInternet Access Time GlossaryCylinder Zero Gigabyte GB Logical Block Addressing Read Gate Signal THIN-FILM Media