Datasheet

Z5K500 OEM Specifications
110
14.17.5 Phy Event Counter
Phy Event Counters are a feature to obtain more information about Phy level events that occur on the
interface. The counter values are not retained across power cycles. The counter values are preserved
across COMRESET and software resets.
14.17.5.1 Counter Reset Mechanisms
There are 2 mechanisms by which the host can explicitly cause the Phy counters to be reset. The first
mechanism is to issue a BIST Activate FIS to the drive. The second mechanism uses the Read Log Ext
command. When the drive receives a Read Log Ext command for log page 11h and bit 0 in Feature
register is set to one, the drive returns the current counter values for the command and then resets all
Phy event counter values.
14.17.5.2 Counter Identifiers
Each counter begins with a 16-bit identifier. The following table defines the counter value for each
identifier.
For all counter descriptions, “transmitted” refers to items sent by the drive to the host and “received
refers to items received by the drive from the host.
Bit 15 of the counter identifier is reserved for future definition.
Bits 14:12 of the counter identifier convey the number of significant bits that counter uses. All counter
values consumes a multiple of 16-bits. The valid values for bit 14:12 and the corresponding counter size
are:
1h 16-bit counter
2h 32-bit counter
3h 48-bit counter
4h 64-bit counter
Bits 11:0 of the counter identifier are identifiers defined in the following table.
Identifier
(Bits 11:0)
Description
000h No counter value; marks end of counters in the page
001h Command failed due to ICRC error
002h R_ERR response for Data FIS
003h R_ERR response for Device-to-Host Data FIS
004h R_ERR response for Host-to-Device Data FIS
005h R_ERR response for non-Data FIS
006h R_ERR response for Device-to-Host non-Data FIS
007h R_ERR response for Host-to-Device non-Data FIS
009h Transfer from drive PhyRdy to drive PhyNRdy
00Ah Signature D2H register FISes sent due to a COMRESET
00Bh CRC errors within the FIS (received)
00Dh Non-CRC errors within the FIS (received)
Table 82 Phy Event Counter Identifier