5K320 SATA OEM Specification
14.37Set Max Address Ext (37h)
Command Block Output Registers
Register |
| 7 | 6 |
| 5 |
| 4 | 3 | 2 |
| 1 |
| 0 |
|
Data Low |
| - | - |
| - |
| - | - | - |
| - |
| - |
|
Data High |
| - | - |
| - |
| - | - | - |
| - |
| - |
|
Feature | Current | - | - |
| - |
| - | - | - |
| - |
| - |
|
| Previous | - | - |
| - |
| - | - | - |
| - |
| - |
|
Sector Count | Current | - | - |
| - |
| - | - | - |
| - |
| B |
|
| Previous | - | - |
| - |
| - | - | - |
| - |
| - |
|
LBA Low | Current | V | V |
| V |
| V | V | V |
| V |
| V |
|
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
LBA Mid | Current | V | V |
| V |
| V | V | V |
| V |
| V |
|
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
LBA High | Current | V | V | V | V | V | V | V | V |
| ||||
| Previous | V | V |
| V |
| V | V | V |
| V |
| V |
|
Device |
| - | 1 |
| - |
| - | - | - |
| - |
| - |
|
Command |
| 0 | 0 |
| 1 |
| 1 | 0 | 1 |
| 1 |
| 1 |
|
Command Block Input Registers
Register |
| 7 | 6 |
| 5 |
| 4 | 3 | 2 |
| 1 |
| 0 |
Data Low |
| - | - |
| - |
| - | - | - |
| - |
| - |
Data High |
| - | - |
| - |
| - | - | - |
| - |
| - |
Error |
|
|
|
| ...See Below... |
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
| |||
Sector Count | HOB=0 | - | - |
| - |
| - | - | - |
| - |
| - |
| HOB=1 | - | - |
| - |
| - | - | - |
| - |
| - |
LBA Low | HOB=0 | V | V |
| V |
| V | V | V |
| V |
| V |
| HOB=1 | V | V |
| V |
| V | V | V |
| V |
| V |
LBA Mid | HOB=0 | V | V |
| V |
| V | V | V |
| V |
| V |
| HOB=1 | V | V |
| V |
| V | V | V |
| V |
| V |
LBA High | HOB=0 | V | V | V | V | V | V | V | V | ||||
| HOB=1 | V | V |
| V |
| V | V | V |
| V |
| V |
Device |
| - | - |
| - |
| - | - | - |
| - |
| - |
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
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). |
141