Travelstar 5K160 (SATA) Hard Disk Drive Specification
14.16Read Log Ext(2Fh)
| 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 |
|
|
|
|
| - |
|
|
|
| - |
| - |
|
| - |
| - |
|
|
|
| - | - |
|
| - |
| ||||||||||
| Feature |
|
| Current |
|
| - |
|
| - |
|
| - |
|
| - |
| - |
| - | - |
|
| - |
| Error |
|
|
|
|
|
|
|
|
|
|
|
|
|
| ...See Below... |
|
|
|
|
|
| ||||||||||||||||
|
|
|
|
| Previous |
| - |
| - |
| - |
| - |
| - |
| - | - |
|
| - |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
| Sector Count | Current |
|
| V |
|
|
| V |
|
| V |
|
|
| V |
| V |
|
| V | V |
|
| V |
| Sector Count |
| HOB=0 |
|
| - - - - | - | - | - | - |
| ||||||||||||||||||||||||||
|
|
|
|
| Previous |
|
| V |
|
|
| V |
|
| V |
|
|
| V |
| V |
|
| V | V |
|
| V |
|
|
|
|
|
| HOB=1 |
|
| - |
|
|
| - |
| - | - |
| - |
|
|
|
| - | - |
|
| - |
| ||||||
| LBA Low | Current |
|
| V |
|
|
| V |
|
| V |
|
|
| V |
| V |
|
| V | V |
|
| V |
| LBA Low |
| HOB=0 |
|
| - |
| - |
| - |
| - |
| - |
|
| - | - |
|
|
| - |
| ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
| Previous |
| - |
| - |
| - |
| - |
| - |
| - | - |
|
| - |
|
|
|
|
|
| HOB=1 |
|
| - |
| - |
| - | - |
| - |
|
| - | - |
|
| - |
| |||||||||||||||||
| LBA Mid | Current |
|
| V |
|
|
| V |
|
| V |
|
|
| V |
| V |
|
| V | V |
|
| V |
| LBA Mid |
| HOB=0 |
|
| - |
| - |
| - |
| - |
| - |
|
| - | - |
|
|
| - |
| ||||||||||||||
|
|
|
|
| Previous |
|
| V |
|
|
| V |
|
| V |
|
|
| V |
| V |
|
| V | V |
|
| V |
|
|
|
|
|
| HOB=1 |
|
| - |
|
|
| - |
| - - | - |
|
| - | - | - |
| ||||||||||||
| LBA High | Current |
|
| - |
|
| - |
|
| - |
|
| - |
| - |
| - | - |
|
| - |
| LBA High |
| HOB=0 |
|
| - |
|
|
| - |
| - |
| - |
| - |
|
|
|
| - | - |
|
|
| - |
| |||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
| Previous |
|
| - |
|
| - |
|
| - |
|
| - |
| - |
| - | - |
|
| - |
|
|
|
|
|
| HOB=1 |
|
| - |
|
|
|
| - |
| - |
|
| - |
| - |
|
|
|
| - | - |
|
|
| - |
| |||||
| Device |
|
|
|
|
|
| - |
|
| - |
|
| - |
|
| - |
| - |
| - | - |
|
| - |
| Device |
|
|
|
|
| - |
|
|
|
| - |
| - |
|
| - |
| - |
|
|
|
| - | - |
|
| - |
| ||||||||
| Command |
|
|
| 0 |
| 0 |
| 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 |
|
| AMN |
| BSY |
| RDY |
| DF | DSC |
|
| DRQ |
| COR |
| IDX | ERR | ||||||||||||||||||||||||||||||
| V |
| V |
| 0 | V | 0 |
|
|
|
| V |
|
|
|
| 0 |
|
|
| 0 |
|
|
| 0 |
| V |
| 0 |
| V |
|
|
| - |
|
| 0 |
|
| 0 |
| V | ||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Figure 49 Read Log Ext Command (2Fh)
This command returns the specified log to the host. The device shall interrupt for each DRQ block transferred.
Output Parameters To The Device
RPhy Event Counter Reset bit. When Log address is 11h (Phy Event Counter) and this bit is set to 1, all Phy Event Counter values are reset to 0 after sending the current counter valules.
The number of sectors to be read from the specified log low order, bits (7:0). The log transferred by the drive shall start at the sector in the specified log at the specified offset, regardless of the sector count requested.
The number of sectors to be read from the specified log high orders, bits (15:8). The log to be returned as described in table 50.
The first sector of the log to be read low order, bits (7:0). The first sector of the log to be read high order, bits (15:8).
Log | Content | Feature set | Type | |
address |
|
|
|
|
00h | Log directory | N/A |
| Read Only |
03h | Extended Comprehensive SMART | SMART | error | Read Only |
| error log | logging |
|
|
07h | Extended SMART | SMART | Read Only | |
10h | Command Error | Native | Command | Read Only |
|
| Queuing |
|
|
11h | Phy Event Counter | Phy Event Counter | Read Only | |
Host vendor specific | SMART |
| Read/Wri | |
|
|
|
| te |
Figure 50 Log | address definition |
|
|
|
98/167