Travelstar 5K160 (PATA) Hard Disk Drive Specification
148
/
188
14.36 Set Max ADDRESS EXT (37h)
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
Low
- - - -
-
-
-
- Data
Low
-
- - - - - -
-
Data
High
- - - -
-
-
-
- Data
High
-
- - - - - -
-
Current
- - - -
-
-
-
-
Error
...See
Below...
Feature
Previous - - - -
-
-
-
-
Current
- - - -
-
-
-
B
HOB=0
-
- - - - - -
-
Sector Count
Previous - - - -
-
-
-
-
Sector Count
HOB=1
-
- - - - - -
-
Current
V V V V V V V V
HOB=0 V V V V V V V V
LBA Low
Previous V V V V V V V V
LBA Low
HOB=1 V V V V V V V V
Current
V V V V V V V V
HOB=0 V V V V V V V V
LBA Mid
Previous V V V V V V V V
LBA Mid
HOB=1 V V V V V V V V
Current
V V V V V V V V
HOB=0 V V V V V V V V
LBA High
Previous V V V V V V V V
LBA High
HOB=1 V V V V V V V V
Device
- 1 - D
-
-
-
- Device
V
- - - - - -
-
Command
0 0 1 1
0
1
1
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
Figure 100 Set Max ADDRESS EXT Command (37h)
This command is immediately preceded by a Read Native Max Address Ext command.
This command overwrites the maximum number of Address of HDD in a range of actual device capacity. Once
device receives this command, all accesses beyond that Address are rejected with setting ABORT bit in status
register.
When the address requested is greater than 268,435,455, words (103:100) shall be modified to reflect the requested
value, but words (61:60) shall not modified. When the address requested is equal to or less than 268,435,455, words
(103:100) shall be modified to reflect the requested value, and words (61:60) shall also be modified.
If this command is not supported, the maximum value to be set exceeds the capacity of the device, a host protected
area has been established by a Set Max Address command, the command is not immediately preceded by a Read
Native Max Address Ext command, or the device is in the Set Max Locked or Set Max Frozen state, the device shall
return command aborted.
If the device in Address Offset mode receives this command with the nonvolatile option, the device returns aborted
error to the host.
The device returns the command aborted for a second non-volatile Set Max Address Ext command until next power
on or hardware reset.
Output Parameters To The Device
B
Option bit for selection whether nonvolatile or volatile. B=0 is volatile
condition. When B=1, MAX Address which is set by Set Max Address
Ext command is preserved by POR. When B=0, MAX Address which is
set by Set Max Address Ext command will be lost by POR. B=1 is not
valid when the device is in Address Offset mode.
LBA Low Current
Set Max LBA (7:0).
LBA Low Previous
Set Max LBA (31:24).
LBA Mid Current
Set Max LBA (15:8).
LBA Mid Previous
Set Max LBA (39:32).
LBA High Current
Set Max LBA (23:16).
LBA High Previous
Set Max LBA (47:40).
Input Parameters From The Device
LBA Low (HOB=0)
Set Max LBA (7:0).
LBA Low (HOB=1)
Set Max LBA (31:24).