5K320 SATA OEM Specification
14.35Set Features (EFh)
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 | - | - | - | - | - | - | - | - | Data | - | - | - | - | - | - | - | - |
Feature | V | V | V V V V V V | Error |
|
| ...See Below... |
|
| ||||||||
Sector Count |
|
|
| Note.1 |
|
|
| Sector Count | - | - | - | - | - | - | - | - | |
LBA Low | - | - | - | - | - | - | - | - | LBA Low | - | - | - | - | - | - | - | - |
LBA Mid | - | - | - | - | - | - | - | - | LBA Mid | - | - | - | - | - | - | - | - |
LBA High | - | - | - | - | - | - | - | - | LBA High | - | - | - | - | - | - | - | - |
Device | - | - | - | - | - | - | - | - | Device | - | - | - | - | - | - | - | - |
Command | 1 | 1 | 1 | 0 | 1 | 1 | 1 | 1 | Status |
|
| ...See Below... |
|
|
Error Register
7 | 6 | 5 | 4 | 3 | 2 | 1 |
| 0 |
CRC | UNC | 0 | IDN | 0 | ABT | T0N |
| AM |
|
|
|
|
|
|
|
| N |
0 | 0 | 0 | 0 | 0 | V | 0 |
| 0 |
Table 105 Set Features Command (EFh)
Status Register
7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
BSY | RDY | DF | DSC | DRQ | COR | IDX | ERR |
0 | V | 0 | - | - | 0 | 0 | V |
The Set Feature command is to establish the following parameters which affect the execution of certain features as shown in below table.
ABT will be set to 1 in the Error Register if the Feature register contains any undefined values. After power on reset, the device is set to the following features as default.
Write cache |
| : Enable |
ECC bytes |
| : 4 bytes |
Read |
| : Enable |
Reverting to power on defaults | : Disable | |
: Disable | ||
transition |
|
|
Software setting preservation | : Enable | |
Output Parameters To The Device |
| |
Feature | Destination code for this command | |
02H | Enable write cache (Note.2) | |
03H | Set transfer mode based on value in sector count register | |
05H | Enable Advanced Power Management | |
06H | Enable | |
07H | ||
10H | Enable use of Serial ATA feature | |
55H | Disable read | |
66H | Disable reverting to power on defaults | |
82H | Disable write cache |
|
85H | Disable Advanced Power Management (Note.3) | |
86H | Disable | |
90H | Disable use of Serial ATA feature | |
AAH | Enable read | |
CCH | Enable reverting to power on defaults |
Note 1.
137