Hitachi C4K60 Specifications - Page 98

Set Max Address Command [F9h, Sub 00h]

Page 98 highlights

7.5.36. Set Max Address Command [F9h, Sub 00h] Task File Registers Command LBA High LBA Mid LBA Low Device/Head Sector Count Features 7 6 5 4 3 2 1 0 F9h L = 0: Maximum Cylinder bit 15 - 8 L = 1: Maximum LBA bit 23 - 16 L = 0: Maximum Cylinder bit 7 - 0 L = 1: Maximum LBA bit 15 - 8 L = 0: Unused L = 1: Maximum LBA bit 7 - 0 X L X DRV L = 0: Unused L = 1: Maximum LBA bit 27-24 XX B 00h The SET MAX ADDRESS command overwrites the maximum 28-bit LBA address or cylinder of the device in a range of actual device capacity (Head number and Sector Number are ignored, the default value is used for that). Once the device receives this command, all accesses beyond that LBA or cylinder are rejected. IDENTIFY DEVICE command returns the LBA or Cylinder, which is set via this command as default. Bit 0 "B" of Sector Count Register is option bit for selection whether nonvolatile. When B = 1, Maximum LBA or maximum Cylinder which is set by SET MAX ADDRESS command is preserved over power-on, hardware reset, software reset. When B = 0, Maximum LBA or maximum 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 NAX 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 or 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. If a protected area has been established by a SET MAX ADDRESS EXT command, the device returns command aborted. K6610170 Rev.2 Dec 22, 2004 - 98 -

  • 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

K6610170
Rev.2
Dec 22, 2004
- 98 -
7.5.36. Set Max Address Command [F9h, Sub 00h]
Task File Registers
7
6
5
4
3
2
1
0
Command
F9h
LBA High
L = 0: Maximum Cylinder bit 15 - 8
L = 1: Maximum LBA bit 23 - 16
LBA Mid
L = 0: Maximum Cylinder bit 7 - 0
L = 1: Maximum LBA bit 15 - 8
LBA Low
L = 0: Unused
L = 1: Maximum LBA bit 7 - 0
Device/Head
X
L
X
DRV L = 0: Unused
L = 1: Maximum LBA
bit 27-24
Sector Count
XX
B
Features
00h
The SET MAX ADDRESS command overwrites the maximum 28-bit LBA address or cylinder of the device in
a range of actual device capacity (Head number and Sector Number are ignored, the default value is used
for that). Once the device receives this command, all accesses beyond that LBA or cylinder are rejected.
IDENTIFY DEVICE command returns the LBA or Cylinder, which is set via this command as default.
Bit 0 "B" of Sector Count Register is option bit for selection whether nonvolatile. When B = 1, Maximum LBA
or maximum Cylinder which is set by SET MAX ADDRESS command is preserved over power-on, hardware
reset, software reset. When B = 0, Maximum LBA or maximum 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 NAX 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 or 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. If a protected area has been established
by a SET MAX ADDRESS EXT command, the device returns command aborted.