5K320 SATA OEM Specification
The Data Structure Checksum (Byte 511) contains the 2’s complement of the sum of the first 511 bytes in the data structure. The sum of all 512 bytes of the data structure will be zero when the checksum is correct.
14.17.5Phy 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.1Counter 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.2Counter Identifiers
Each counter begins with a
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.
Bits 14:12 of the counter identifier convey the number of significant bits that counter uses. All counter values consumes a multiple of
1h | |
2h | |
3h | |
4h | |
|
|
Identifier | Description |
(Bits 11:0) | |
000h | No counter value; marks end of counters in the page |
001h | Command failed due to ICRC error |
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 |
Table 82 Phy Event Counter Identifier
14.17.5.3Read Log Ext Log Page 11h
The following table defines the format of the Phy Event counter data structure.
116