![](/images/new-backgrounds/1158125/158125219x1.webp)
5K320 SATA OEM Specification
14.17Read 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 | - | - |
| - |
| - | - | - |
| - |
| R- |
| 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 | ||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Table 72 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 |
|
|
| ||
R |
| Phy 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. |
|
|
|
Sector Count Current | 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. |
|
| |
Sector Count Previous | The number of sectors to be read from the specified log high orders, bits (15:8). | ||||
LBA Low Current | The log to be returned as described in the following table. |
|
| ||
LBA Mid Current | The first sector of the log to be read low order, bits (7:0). |
|
| ||
LBA Mid Previous | 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 |
Table 73 Log address definition |
|
|
|
110