Maxtor 6800 Control Diagnostic Registers, Alternate Status Register, Device Control Register

Page 46

HOST SOFTWARE INTERFACE

Control Diagnostic Registers

These I/O port addresses reference three Control/Diagnostic registers:

I/O PORT

READ

WRITE

 

 

 

3F6h

Alternate Status

Fixed Disk Control

 

 

 

3F7h

Digital Input

Not used

 

 

 

Alternate Status Register

Contains the same information as the Status register in the Task File. However, this register may be read at any time without clearing a pending interrupt.

Device Control Register

Contains the software Reset and Enable bit to enable interrupt requests to the host. Bit definitions follow:

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

0

0

0

0

0

SRST

IEN

0

 

 

 

 

 

 

 

 

 

 

 

 

 

Reset

IRQ Enable

 

 

 

 

 

 

 

 

 

Reset – Setting the software Reset bit holds the drive in the reset state. Clearing the bit re-enables the drive. The software Reset bit must be held active for a minimum of 5 µsec.

IRQ Enable – Setting the Interrupt Request Enable to 0 enables the IRQ 14 signal to the host. When this bit is set

to 1, IRQ14 is tri-stated, and interrupts to the host are disabled. Any pending interrupt occurs when the bit is set to 0. The default state of this bit after power up is 0 (interrupt enabled).

Digital Input Register

Contains information about the state of the drive. Bit definitions follow:

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

x

-WG

-HS3

-HS2

-HS1

-HS0

-DS1

DS0

 

 

 

 

 

 

 

 

Reserved

 

Head

Head

Head

Head

Drive

Drive

 

Gate

Select 3

Select 2

Select 1

Select 0

Select 1

Select 0

 

 

 

 

 

 

 

 

Bit 7 of the host data bus is not driven when this register is read.

-Write Gate – Reflects the state of the active low write gate signal on the drive.

-Head Select 3 through -Head Select 0 – Represents the ones complement of the currently selected head number.

-Drive Select 1 – Is 0 if drive 1 selected; 1 otherwise.

-Drive Select 0 – Is 0 if drive 0 selected; 1 otherwise.

6 – 5

Image 46
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 InterfaceService and Support Interface CommandsGlossary Figures Manual Organization IntroductionMaxtor Corporation AbbreviationsKey Words Signal ConventionsConventions NumberingDiamondMax 6800 Key Features Product DescriptionProduct Features Functional / InterfaceDefect Management Zone DMZ On-the-Fly Hardware Error Correction Code ECCLogical Block Addressing Software ECC CorrectionBuffer Segmentation Read-Ahead ModeCache Management Automatic Write Reallocation AWRMajor HDA Components Cylinder Limitation Subsystem ConfigurationJumper Location/Configuration Dual Drive SupportPerformance Specifications Product SpecificationsDrive Configuration Models and CapacitiesPhysical Dimensions Parameter Standard MetricEPA Energy Star Compliance Power RequirementsPower Mode Definitions Environmental LimitsReliability Specifications Shock and VibrationRadiated Electromagnetic Field Emissions EMC Compliance Safety Regulatory ComplianceCanadian Emissions Statement Pre-formatted Drive Handling and InstallationHard Drive Handling Precautions Important NoticeUnpacking and Inspection Multi-pack Shipping ContainerRecommended Mounting Configuration Physical InstallationRepacking System Requirements Handling PrecautionsTools for Installation Drive Identification InformationGeneral Requirements Hard Drive IdentificationInstalling in a Device Bay Systems Using Cable SelectInstalling 5.25-inch Mounting Brackets and Rails Mounting Drive in SystemAttaching Interface and Power Cables Attaching System CablesSetting the Bios Cmos System SetupBios Cmos Parameters Hard Drive Preparation System Hangs During Boot AT Interface Description Interface ConnectorPin 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 Host Software Interface Error RegisterFeatures Register Task File RegistersCylinder Number Registers Sector Count RegisterSector Number Register Device/Head RegisterCommand Register Command Name Command Code Parameters Used SDH SummaryDevice Control Register Control Diagnostic RegistersAlternate Status Register Digital Input RegisterReset Handling Reset and Interrupt HandlingInterrupt Handling Interface Commands Set Feature CommandsRead Sectors Read CommandsRead Verify Sectors Read DMA Read MultipleWrite Sectors Write CommandsSet Multiple Mode 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 Execute Drive Diagnostic Seek, Format and Diagnostic CommandsFormat Track A.R.T. Command Set Execute S.M.A.R.TNo Quibble Service Service and SupportService Policy SupportCustomer Service MaxFax ServiceInternet Access Time GlossaryCylinder Zero Gigabyte GB Logical Block Addressing Read Gate Signal THIN-FILM Media