Travelstar 5K160 (SATA) Hard Disk Drive 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 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|
|
| AM |
|
|
| BSY |
| RDY | DF | DSC | DRQ |
|
| COR | IDX |
| ERR | |||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| N |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
0 |
| 0 | 0 | 0 |
| 0 |
|
|
|
|
|
|
| V |
| 0 |
|
|
|
| 0 |
|
|
|
|
| 0 |
| V | 0 | - | - |
|
| 0 |
|
|
| 0 |
|
| V |
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 75 Set Features Command (EFh)
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 | |
42H | Enable Automatic Acoustic Management feature set | |
44H | 52 bytes of ECC apply on Read Long/Write Long commands | |
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 | |
BBH | 4 bytes of ECC apply on Read Long/Write Long commands | |
C2H | Disable Automatic Acoustic Management feature set | |
CCH | Enable reverting to power on defaults |
Note 1.
125/167