Seagate 5T060H6 Specifications - Page 36

Host Software Interface - firmware

Page 36 highlights

HOST SOFTWARE INTERFACE Host Software Interface SECTION 6 The host communicates with the drive through a set of controller registers accessed via the host's I/O ports. These registers divide into two groups: the Task File, used for passing commands and command parameters and the Control/Diagnostic registers. Task File Registers The Task File consists of eight registers used to control fixed disk operations. The host accesses each register by the I/O port address shown in this Task File register map: I/O POR T 1F0h 1F1h 1F2h 1F3h 1F4h 1F5h 1F6h 1F7h R E AD Data Register Error Regi ster Sector Count Sector Number C yl inder Low C yli nder High Drive/Head (SD H) Status Regi ster WR ITE Data Register F eatures Register Sector Count Sector Number C yl inder Low C yli nder High Drive/Head (SD H) C ommand Regi ster Data Register Provides access to the drive's sector buffer for read and write operations. With the exception of ECC byte transfers (which, during Read long and Write long commands, are 8 bits wide), data transfers through the Data register are all 16 bits wide. Error Register A read-only register containing specific information regarding the previous command. Data interpretation differs depending on whether the controller is in operational or diagnostic mode. A power up, reset, software reset, or receipt of a diagnostic command sets the controller into diagnostic mode. This mode invalidates contents of the Status register. The contents of the Error register reflect a completion code. Issuing any command (apart from a Diagnostic command) places the controller into operational mode. In operational mode, the Error register is valid only when the Error bit in the Status register is set. The bit definitions for operational mode follow: 7 0 In te r fa ce C RC 6 ECC D ata ECC Error 5 0 No t Us ed 4 ID NF ID Not Found 3 0 No t Us ed 2 ABRT A b or t ed Co mma nd 1 TK 0 Track 0 E rr o r 0 A MNF A d d re ss Mark Not Fo und Interface CRC - An interface CRC error occurred during an Ultra DMA transfer. Data ECC Error - An non-correctable ECC error occurred during a Read Sector command. Firmware Problem - Indicates a firmware problem was detected, (e.g., invalid interrupt, divide overflow). ID Not Found - Either a matching ID field not found, or a CRC error occurred. Aborted Command - Invalid commands, write fault, no seek complete, or drive not ready. Track 0 Error - Track 0 was not found during execution of a Restore command. Address Mark Not Found - The Address Mark could not be found after an ID match. Features Register Enables or disables features through the Set Features command. 6 - 1

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64

6 – 1
SECTION 6
Host Software Interface
Host Software Interface
Host Software Interface
Host Software Interface
Host Software Interface
The host communicates with the drive through a set of controller registers accessed via the host’s I/O ports.
These registers divide into two groups: the Task File, used for passing commands and command parameters and
the Control/Diagnostic registers.
Task File Registers
Task File Registers
Task File Registers
Task File Registers
Task File Registers
The Task File consists of eight registers used to control fixed disk operations. The host accesses each register
by the I/O port address shown in this Task File register map:
I/O PORT
READ
WRITE
1F0h
Data Register
Data Register
1F1h
Error Register
Features Register
1F2h
Sector Count
Sector Count
1F3h
Sector Number
Sector Number
1F4h
Cylinder Low
Cylinder Low
1F5h
Cylinder High
Cylinder High
1F6h
Drive/Head (SDH)
Drive/Head (SDH)
1F7h
Status Register
Command Register
Data Register
Data Register
Data Register
Data Register
Data Register
Provides access to the drive’s sector buffer for read and write operations. With the exception of ECC byte
transfers (which, during Read long and Write long commands, are 8 bits wide), data transfers through the
Data register are all 16 bits wide.
Error Register
Error Register
Error Register
Error Register
Error Register
A read-only register containing specific information regarding the previous command. Data interpretation
differs depending on whether the controller is in operational or diagnostic mode. A power up, reset,
software reset, or receipt of a diagnostic command sets the controller into diagnostic mode. This mode
invalidates contents of the Status register. The contents of the Error register reflect a completion code.
Issuing any command (apart from a Diagnostic command) places the controller into
operational mode
.
In operational mode, the Error register is valid only when the Error bit in the Status register is set. The bit
definitions for operational mode follow:
7
6
5
4
3
2
1
0
0
ECC
0
ID NF
0
ABRT
TK 0
AMNF
Interface
CRC
Data
ECC Error
No t
Us ed
ID
Not Found
No t
Us ed
Aborted
Command
Track 0
Error
Address
Mark Not
Found
Interface CRC
– An interface CRC error occurred during an Ultra DMA transfer.
Data ECC Error
– An non-correctable ECC error occurred during a Read Sector command.
Firmware Problem
– Indicates a firmware problem was detected, (e.g., invalid interrupt, divide overflow).
ID Not Found
– Either a matching ID field not found, or a CRC error occurred.
Aborted Command
– Invalid commands, write fault, no seek complete, or drive not ready.
Track 0 Error
– Track 0 was not found during execution of a Restore command.
Address Mark Not Found
– The Address Mark could not be found after an ID match.
Features Register
Features Register
Features Register
Features Register
Features Register
Enables or disables features through the Set Features command.