![Texas Instruments AM1808 Скачать руководство пользователя страница 1401](http://html.mh-extra.com/html/texas-instruments/am1808/am1808_technical-reference-manual_10945581401.webp)
Registers
1401
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Serial ATA (SATA) Controller
28.4.29 Port Serial ATA Error (SError) Register (P0SERR)
The port serial ATA error register (P0SERR) represents all the detected interface errors accumulated
since the last time it was cleared. The set bits in the SError register indicate that the corresponding error
condition became true one or more times since the last time the bit was cleared. The set bits in this
register are explicitly cleared by a write operation to the register, Global reset, or Port reset (COMRESET).
The value written to clear the set error bits should have ones encoded in the bit positions corresponding to
the bits that are to be cleared. All bits in the following table have a reset value of 0. The P0SERR is shown
in
and described in
.
Figure 28-29. Port Serial ATA Error Register (P0SERR)
31
27
26
25
24
Reserved
DIAG_X
DIAG_F
DIAG_T
R-0
R/W1C-0
R/W1C-0
R/W1C-0
23
22
21
20
19
18
17
16
DIAG_S
DIAG_H
DIAG_C
DIAG_D
DIAG_B
DIAG_W
DIAG_I
DIAG_N
R/W1C-0
R/W1C-0
R/W1C-0
R-0
R/W1C-0
R/W1C-0
R/W1C-0
R/W1C-0
15
12
11
10
9
8
Reserved
ERR_E
ERR_P
ERR_C
ERR_T
R-0
R/W1C-0
R/W1C-0
R/W1C-0
R/W1C-0
7
2
1
0
Reserved
ERR_M
ERR_I
R-0
R/W1C-0
R/W1C-0
LEGEND: R/W = Read/Write; R = Read only; W1C = Write 1 to clear; -
n
= value after reset
Table 28-33. Port Serial ATA Error Register (P0SERR) Field Descriptions
Bit
Field
Value
Description
31-27
Reserved
0
Reserved.
26
DIAG_X
0-1
Exchanged. This bit is set to 1 when PHY COMINIT signal is detected. This bit is reflected in the
P0IS.PCS bit.
25
DIAG_F
0-1
Unknown FIS Type. Indicates that one or more FISes were received by the Transport layer with good
CRC, but had a type field that was not recognized/known and the length was less than or equal to 64
bytes.
Note: If the Unknown FIS length exceeds 64 bytes, the DIAG_F bit is not set and the DIAG_T bit is set
instead.
24
DIAG_T
0-1
Transport State Transition Error. Indicates that a Transport Layer protocol violation was detected.
23
DIAG_S
0-1
Link Sequence Error. Indicates that one or more Link state machine error conditions was encountered.
One of the conditions that cause this bit to be set is the device doing SYNC escape during FIS
transmission.
22
DIAG_H
0-1
Handshake Error. Indicates that one or more R-ERRp was received in response to frame transmission.
Such errors may be the result of a CRC error detected by the device, a disparity or 8-bit/10-bit decoding
error, or other error condition leading to a negative handshake on a transmitted frame.
21
DIAG_C
0-1
CRC Error. Indicates that one ore more CRC errors were detected by the Link layer during FIS
reception.
20
DIAG_D
0
Disparity Error. This bit is always 0 since it is not used by the AHCI specification.
19
DIAG_B
0-1
10B to 8B Decode Error. Indicates errors were detected by 10b8b decoder.
Note: This bit is set only when an error is detected on the received FIS data word. This bit is not set
when an error is detected on the primitive, regardless of whether it is inside or outside the FIS.
18
DIAG_W
0-1
Comm Wake. This bit is set when the PHY COMWAKE signal is detected.
17
DIAG_I
0-1
PHY Internal Error. This bit is set when the PHY detects some internal error.
Note: The TI phy does not support any errors so this bit will never be set.
16
DIAG_N
0-1
PHYReady Change. Indicates that the PHY Ready signal changed state. This bit is reflected in the
P0IS.PRCS bit.
15-12
Reserved
0
Reserved.