Maxtor 6800 manual Sector Count Register, Sector Number Register, Cylinder Number Registers

Page 43

HOST SOFTWARE INTERFACE

Sector Count Register

Holds the number of sectors to be sent during a Read or Write command, and the number of sectors per track during a Format command. A value of zero in this register implies a transfer of 256 sectors. A multi- sector operation decrements the Sector Count register. If an error occurs during such an operation, this register contains the remaining number of sectors to be transferred.

Sector Number Register

Holds the starting sector number for any disk operation. The register is updated as each sector is processed in a multi-sector operation.

Cylinder Number Registers

Two 8-bit Cylinder Number registers (Low and High) specify the starting cylinder for disk operation.

Device/Head Register

Used to specify the drive and head number to be operated on during any disk operations. Within the context of a Set Parameters command, this register specifies the maximum number of heads on the drive. Bit definitions follow:

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

1

LBA

1

DRV

HS3

HS2

HS1

HS0

 

 

 

 

 

 

 

 

 

 

 

 

Drive

Head

Head

Head

 

Mode

 

Select

Select

Select

Select

Select

 

 

 

 

 

 

 

 

Select LBA Mode – Enabling this bit for commands not supported by LBA mode will abort the selected command. When set, the Task File register contents are defined as follows for the Read/Write and translate command:

CONTENTS

LBA BITS

Sector Number

0

- 7

Cylinder Low

8 - 15

Cylinder High

16 - 23

Drive/Head

24

- 27

Drive Select – Set to 0 to select the master drive; set to 1 to select the slave drive.

Head Select – Specifies the binary coded address of the head to be selected.

Status Register

Contains results of the last command executed, and the drive’s status. The other seven Task File registers may be read only when bit 7 (BUSY) of the Status register is low. Reading any of the Task File registers when BUSY is high returns the value of the Status register. Reading the Status register also clears any interrupt request to the host. Bit definitions follow:

7

6

5

4

3

2

1

0

BUSY

DRDY

DF

DSC

DRQ

0

0

ERR

 

 

 

 

 

 

 

 

Controller

Device

Device

Device Seek

Data

 

 

Error

Busy

Ready

Fault

Complete

Request

 

 

 

 

 

 

 

 

 

 

 

Controller Busy – Goes active when a command is written to the Command register, indicating controller task execution. After a command, this bit resets.

Device Ready – Indicates that the drive is ready for commands. If drive ready is not present, all commands abort. Device Fault – Indicates the drive’s detection of a write fault condition, causing all commands to abort.

Device Seek Complete – Signifies a seek completion, and that the drive is on track.

Data Request – Indicates that the drive’s sector buffer is ready for data transfer.

Error – The Error bit sets when the previous command has completed with a non-recoverable error.

6 – 2

Image 43
Contents HA RD Drive Produc T MA Nual DiamondMax U T I O N Before You BeginContents Handling and Installation Product SpecificationsHost Software Interface AT Interface DescriptionService and Support Interface CommandsGlossary Figures Abbreviations IntroductionMaxtor Corporation Manual OrganizationNumbering Signal ConventionsConventions Key WordsProduct Description DiamondMax 6800 Key FeaturesFunctional / Interface Product FeaturesSoftware ECC Correction On-the-Fly Hardware Error Correction Code ECCLogical Block Addressing Defect Management Zone DMZAutomatic Write Reallocation AWR Read-Ahead ModeCache Management Buffer SegmentationMajor HDA Components Dual Drive Support Subsystem ConfigurationJumper Location/Configuration Cylinder LimitationModels and Capacities Product SpecificationsDrive Configuration Performance SpecificationsParameter Standard Metric Physical DimensionsEnvironmental Limits Power RequirementsPower Mode Definitions EPA Energy Star ComplianceShock and Vibration Reliability SpecificationsRadiated Electromagnetic Field Emissions EMC Compliance Safety Regulatory ComplianceCanadian Emissions Statement Important Notice Handling and InstallationHard Drive Handling Precautions Pre-formatted DriveMulti-pack Shipping Container Unpacking and InspectionRecommended Mounting Configuration Physical InstallationRepacking Drive Identification Information Handling PrecautionsTools for Installation System RequirementsHard Drive Identification General RequirementsMounting Drive in System Systems Using Cable SelectInstalling 5.25-inch Mounting Brackets and Rails Installing in a Device BayAttaching 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 Task File Registers Error RegisterFeatures Register Host Software InterfaceDevice/Head Register Sector Count RegisterSector Number Register Cylinder Number RegistersCommand Register Summary Command Name Command Code Parameters Used SDHDigital Input Register Control Diagnostic RegistersAlternate Status Register Device Control RegisterReset Handling Reset and Interrupt HandlingInterrupt Handling Set Feature Commands Interface CommandsRead Sectors Read CommandsRead Verify Sectors Read Multiple Read DMAWrite Verify Sectors Write CommandsSet Multiple Mode Write 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 SetSupport Service and SupportService Policy No Quibble ServiceCustomer Service MaxFax ServiceInternet Glossary Access TimeCylinder Zero Gigabyte GB Logical Block Addressing Read Gate Signal THIN-FILM Media