Hitachi HTS541010G9AT00 Specifications - Page 151

Set Max ADDRESS F9h

Page 151 highlights

12.34 Set Max ADDRESS (F9h) Table 95: Set Max ADDRESS (F9h) Command Block Output Registers Register 7 6 5 4 3 2 1 0 Data Feature V V V V V V V V Sector Count B LBA Low V V V V V V V V LBA Mid V V V V V V V V LBA High V V V V V V V V Device 1 L 1 - H H H H Command 1 1 1 1 1 0 0 1 76 CRC UNC 00 Error Register 54 3 2 1 0 0 IDN 0 ABT T0N AMN 00 0 V 0 0 Command Block Input Registers Register 7 6 5 4 3 2 1 0 Data Error see below Sector Count LBA Low V V V V V V V V LBA Mid V V V V V V V V LBA High V V V V V V V V Device - - - - H H H H Status see below Status Register 7 654 3 2 1 0 BSY RDY DF DSC DRQ COR IDX ERR 0 V0- - 0 - V The Set Max ADDRESS command overwrites the max LBA/CYL of the drive in a range of actual device capacities. Once the device receives this command, all accesses beyond that LBA/CYL are rejected by setting the ABORT bit in the status register. Identify the device command and Identify the device DMA command returns the LBA/CYL which is set via this command as a default value. This command implement SET MAX security extension commands as subcommands. But regardless of Feature register value, the case this command is immediately preceded by a Read Native Max ADDRESS command, it is interpreted as a Set Max ADDRESS command. The Read Native Max ADDRESS command should be issued and completed immediately prior to issuing the Set Max ADDRESS command. If it is not, this command is interpreted as a Set Max security extension command which is designated by feature register. If Set Max security mode is in the Locked or Frozen, the Set Max ADDRESS command is aborted. For more information, see section 11.10.2 "Set Max security extension commands" on page 84. In CHS mode LBA High and LBA Mid specify the maximum cylinder number. The Head number of DEVICE and LBA Low are ignored. The default value (see default CHS in Identify device information) is used for that. In LBA mode the Head number of Device, LBA High, LBA Mid and LBA Low specify the max LBA. This command sets this LBA as the max LBA of the device. After a successful command completion, Identify Device response words (61:60) shall reflect the maximum address set with this command. If the 48-bit Address feature set is supported, the value placed in Identify Device response words (103:100) shall be the same as the value placed in words (61:60). However, if the device contains greater than 268,435,455 sectors, the capacity addressable with 28-bit commands, and the address requested is 268,435,455, the max address shall be changed to the native maximum address, the value placed in words (61:60) shall be 268,435,455 and the value placed in words (103:100) shall be the native maximum address. Travelstar 5K100 (Serial ATA) Hard Disk Drive Specification 139

  • 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

Travelstar 5K100 (Serial ATA) Hard Disk Drive Specification
139
12.34
Set Max ADDRESS (F9h)
Table 95: Set Max ADDRESS (F9h)
The Set Max ADDRESS command overwrites the max LBA/CYL of the drive in a range of actual device capaci-
ties. Once the device receives this command, all accesses beyond that LBA/CYL are rejected by setting the
ABORT bit in the status register. Identify the device command and Identify the device DMA command returns the
LBA/CYL which is set via this command as a default value.
This command implement SET MAX security extension commands as subcommands. But regardless of Feature
register value, the case this command is immediately preceded by a Read Native Max ADDRESS command, it is
interpreted as a Set Max ADDRESS command.
The Read Native Max ADDRESS command should be issued and completed immediately prior to issuing the Set
Max ADDRESS command. If it is not, this command is interpreted as a Set Max security extension command
which is designated by feature register.
If Set Max security mode is in the Locked or Frozen, the Set Max ADDRESS command is aborted. For more infor-
mation, see section 11.10.2 “Set Max security extension commands” on page 84.
In CHS mode LBA High and LBA Mid specify the maximum cylinder number. The Head number of DEVICE and
LBA Low are ignored. The default value (see default CHS in Identify device information) is used for that.
In LBA mode the Head number of Device, LBA High, LBA Mid and LBA Low specify the max LBA. This com-
mand sets this LBA as the max LBA of the device.
After a successful command completion, Identify Device response words (61:60) shall reflect the maximum
address set with this command.
If the 48-bit Address feature set is supported, the value placed in Identify Device response words (103:100) shall be
the same as the value placed in words (61:60). However, if the device contains greater than 268,435,455 sectors,
the capacity addressable with 28-bit commands, and the address requested is 268,435,455, the max address shall be
changed to the native maximum address, the value placed in words (61:60) shall be 268,435,455 and the value
placed in words (103:100) shall be the native maximum address.
Command Block Output Registers
Command Block Input Registers
Register
7 6 5 4 3 2 1 0
Register
7 6 5 4 3 2 1 0
Data
- - - - - - - -
Data
- - - - - - - -
Feature
V V V V V V V V
Error
see below
Sector Count
- - - - - - - B
Sector Count
- - - - - - - -
LBA Low
V V V V V V V V
LBA Low
V V V V V V V V
LBA Mid
V V V V V V V V
LBA Mid
V V V V V V V V
LBA High
V V V V V V V V
LBA High
V V V V V V V V
Device
1 L 1 - H H H H
Device
- - - - H H H H
Command
1 1 1 1 1 0 0 1
Status
see below
Error Register
Status Register
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
CRC UNC 0 IDN 0 ABT T0N AMN
BSY RDY DF DSC DRQ COR IDX ERR
0
0
0
0
0
V
0
0
0
V
0
-
-
0
-
V