![](https://pdfstore-manualsonline.prod.a.ki/pdfasset/f/40/f40b26be-70a0-4064-bc32-00647e3ce183/f40b26be-70a0-4064-bc32-00647e3ce183-bg8d.png)
5K320 SATA OEM Specification
141
14.37 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
- - -
- - -
Device -
- - - - - - -
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 0 V
Table 107 Set Max A ddress 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.
The device returns the command aborted for a second non-volatile Set Max Address Ext command
until next power on.
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.
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).