5K320 SATA OEM Specification
110
14.17
Read 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
-
-
-
-
-
-
-
-
Current
-
-
-
-
-
-
- R- Error
...See Below...
Feature
Previous
-
-
-
-
-
-
-
-
Current
V V V V V V V V
HOB=0 -
-
-
-
-
-
-
-
Sector Count
Previous
V V V V V V V V
Sector Count
HOB=1 -
-
-
-
-
-
-
-
Current
V V V V V V V V
HOB=0 -
-
-
-
-
-
-
-
LBA Low
Previous
-
-
-
-
-
-
-
-
LBA Low
HOB=1 -
-
-
-
-
-
-
-
Current
V V V V V V V V
HOB=0 -
-
-
-
-
-
-
-
LBA Mid
Previous
V V V V V V V V
LBA Mid
HOB=1 -
-
-
-
-
-
-
-
Current
-
-
-
-
-
-
-
-
HOB=0 -
-
-
-
-
-
-
-
LBA High
Previous
-
-
-
-
-
-
-
-
LBA High
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 D F 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
address
Content
Feature set
Type
00h
Log directory
N/A
Read Only
03h
Extended Comprehensive SMART
error log
SMART error
logging
Read Only
07h
Extended SMART self-test log
SMART self-test Read Only
10h
Command Error
Native Command
Queuing
Read Only
11h
Phy Event Counter
Phy Event Counter Read Only
80h-9Fh
Host vendor specific
SMART
Read/Wri
te
Table 73 Log address definition