Hitachi DK23EA Specifications - Page 83

Set Max Address Command [F9h, Sub 00h]

Page 83 highlights

6.3.2.10.4 Set Max Address Command [F9h, Sub 00h] The Set Max Address Command overwrites the maximum LBA/cylinder of the device in a range of actual device capacity. Once the device receives this command, all accesses beyond that LBA/cylinder are rejected. Identify device command returns the LBA/Cylinder, which is set via this command as default. Output Parameters to the device: Task File Registers 7654321 0 Cylinder High Maximum Cylinder High Maximum LBA Bit23 - 16 *1 Cylinder Low Maximum Cylinder Low Maximum LBA Bit15 - 8 *1 Device/Head - L - DRV XX Max LBA Bit27 - 24 *1 Sector Number XX Maximum LBA Bit7 - 0 *1 Sector Count XXXXXXX B Features 00h *1 : In LBA Mode, these registers contain LBA DRV : Device selection bit 0:DRV0 1:DRV1 L : Sector address mode select 0:CHS mode 1:LBA Mode B : Option bit for selection whether nonvolatile. When B = 1, Maximum LBA/Cylinder which is set by Set Max Address command is preserved over power-on, hardware reset, software reset. When B = 0, Maximum LBA/cylinder which is set by SET Max Address command will be lost by power-on or hardware reset. B set to one is not valid when the device is in Address Offset Mode. ABRT is set if B set to one when the device is in Address Offset mode. Read Max Address command should be issued and completed immediately prior to issuing Set Max Address command. If the device receives Set Max Address command without a prior Read Max Address command, the device aborts the Set Max Address command. After successful completion of this command, all accesses beyond that LBA/Cylinder will be rejected with setting ID not found error. If the device receives a second nonvolatile Set Max Address command (B=1) after a power on or hardware reset, the device reports an ID Not Found error. If the maximum value to be set exceeds the capacity of the device, or the device is in the Set Max Locked or Set Max Frozen state, then the device returns command aborted. K6602637 Rev.3 02.27.01 - 83 -

  • 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

K6602637
Rev.3
02.27.01
- 83 -
6.3.2.10.4 Set Max Address Command [F9h, Sub 00h]
The Set Max Address Command overwrites the maximum LBA/cylinder of the device in a range of actual
device capacity. Once the device receives this command, all accesses beyond that LBA/cylinder are
rejected. Identify device command returns the LBA/Cylinder, which is set via this command as default.
Output Parameters to the device:
Task File Registers
7
6
5
4
3
2
1
0
Cylinder High
Maximum Cylinder High
Maximum LBA Bit23 - 16
*1
Cylinder Low
Maximum Cylinder Low
Maximum LBA Bit15 - 8
*1
Device/Head
-
L
-
DRV
XX
Max LBA Bit27 - 24
*1
Sector Number
XX
Maximum LBA Bit7 - 0
*1
Sector Count
X
X
X
X
X
X
X
B
Features
00h
*1
: In LBA Mode, these registers contain LBA
DRV : Device selection bit
0:DRV0
1:DRV1
L : Sector address mode select
0:CHS mode
1:LBA Mode
B
: Option bit for selection whether nonvolatile. When B = 1, Maximum LBA/Cylinder which is set by Set
Max Address command is preserved over power-on, hardware reset, software reset. When B = 0, Maximum
LBA/cylinder which is set by SET Max Address command will be lost by power-on or hardware reset.
B set to one is not valid when the device is in Address Offset Mode. ABRT is set if B set to one when the
device is in Address Offset mode.
Read Max Address command should be issued and completed immediately prior to issuing Set Max
Address command. If the device receives Set Max Address command without a prior Read Max Address
command, the device aborts the Set Max Address command. After successful completion of this command,
all accesses beyond that LBA/Cylinder will be rejected with setting ID not found error. If the device receives
a second nonvolatile Set Max Address command (B=1) after a power on or hardware reset, the device
reports an ID Not Found error.
If the maximum value to be set exceeds the capacity of the device, or the device is in the Set Max Locked or
Set Max Frozen state, then the device returns command aborted.