Hitachi IC25N040ATMR04-0 Specifications - Page 76

Device/Head Register, Error Register

Page 76 highlights

10.6 Device/Head Register Table 41: Device Head/Register 7 6 5 4 3 2 1 0 1 L 1 DRV HS3 HS2 HS1 HS0 This register contains the device and head numbers. Bit Definitions L Binary encoded address mode select. When L = 0, addressing is by CHS mode. When L = 1, addressing is by LBA mode. DRV Device. When DRV = 0, device 0 (master) is selected. When DRV = 1, device 1 (Slave) is selected. HS3, HS2, HS0 Head Select. These four bits indicate the binary encoded address of the head. Bit HS0 is the least significant bit. At command completion, these bits are updated to reflect the currently selected head. The head number may be from zero to the number of heads minus one. In LBA mode, HS3 through HS0 contain bits 24-27 of the LBA. At command completion, these bits are updated to reflect the current LBA bits 24-27. 10.7 Error Register Table 42: Error Register 7 6 5 4 3 2 1 0 CRC UNC 0 IDNF 0 ABRT TK0NF AMNF This register contains the status from the last command executed by the device or a diagnostic code. At the completion of any command, except Execute Device Diagnostic, the contents of this register are always valid even if ERR = 0 is in the Status Register. Following a power on, a reset, or completion of an Execute Device Diagnostic command, this register contains a diagnostic code. See Table 46: , "Diagnostic codes," on page 70 for the definitions. Bit Definitions ICRCE (CRC) UNC IDNF(IDN) ABRT (ABT) TK0NF (T0N) AMNF Interface CRC Error. When CRC = 1, it indicates that a CRC error has occurred on the data bus during a Ultra DMA transfer. Uncorrectable Data Error. When UNC = 1 it indicates that an uncorrectable data error has been encountered. ID Not Found. When IDN = 1, it indicates that the requested sector's ID field could not be found. Aborted Command. When ABT = 1, it indicates that the requested command has been aborted due to a device status error or an invalid parameter in an output register. Track 0 Not Found. When T0N = 1, it indicates that track 0 was not found during a recallibrate command. Address Mark Not Found. When AMN = 1, it indicates that the data address mark has not been found after finding the correct ID field for the requested sector. Travelstar 80GN Hard Disk Drive Specification 66

  • 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
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214

Travelstar 80GN Hard Disk Drive Specification
66
10.6
Device/Head Register
Table 41: Device Head/Register
This register contains the device and head numbers.
Bit
Definitions
10.7
Error Register
Table 42: Error Register
This register contains the status from the last command executed by the device or a diagnostic code. At the comple-
tion of any command, except Execute Device Diagnostic, the contents of this register are always valid even if
ERR
= 0 is in the Status Register.
Following a power on, a reset, or completion of an Execute Device Diagnostic command, this register contains a
diagnostic code. See Table 46: , "Diagnostic codes," on page 70 for the definitions.
Bit
Definitions
7
6
5
4
3
2
1
0
1
L
1
DRV
HS3
HS2
HS1
HS0
L
Binary encoded address mode select. When L
= 0, addressing is by CHS mode. When L = 1,
addressing is by LBA mode.
DRV
Device. When DRV = 0, device 0 (master) is selected. When DRV = 1, device 1 (Slave) is
selected.
HS3, HS2,
HS0
Head Select. These four bits indicate the binary encoded address of the head. Bit HS0 is the least
significant bit. At command completion, these bits are updated to reflect the currently selected
head. The head number may be from zero to the number of heads minus one. In LBA mode, HS3
through HS0 contain bits 24–27 of the LBA. At command completion, these bits are updated to
reflect the current LBA bits 24–27.
7
6
5
4
3
2
1
0
CRC
UNC
0
IDNF
0
ABRT
TK0NF
AMNF
ICRCE (CRC)
Interface CRC Error. When CRC = 1, it indicates that a CRC error has occurred on the data bus
during a Ultra DMA transfer.
UNC
Uncorrectable Data Error. When UNC = 1 it indicates that an uncorrectable data error has been
encountered.
IDNF(IDN)
ID Not Found. When IDN = 1, it indicates that the requested sector's ID field could not be found.
ABRT
(ABT)
Aborted Command. When ABT = 1, it indicates that the requested command has been aborted due
to a device status error or an invalid parameter in an output register.
TK0NF (T0N)
Track 0 Not Found. When T0N = 1, it indicates that track 0 was not found during a recallibrate
command.
AMNF
Address Mark Not Found. When AMN = 1, it indicates that the data address mark has not been
found after finding the correct ID field for the requested sector.