Freescale Semiconductor MSC8156 Evaluation Module MSC8156EVM MSC8156EVM Manual De Usuario
Los códigos de productos
MSC8156EVM
RapidIO Message Unit
MSC8156 Reference Manual, Rev. 2
Freescale Semiconductor
16-83
16.3.2.2 Software Error Handling
When an error occurs and the Serial RapidIO error/write-port interrupt is generated, software
takes the following actions:
takes the following actions:
1.
Determines the cause of the interrupt and processes the error.
2.
Verifies that the message controller has stopped operation by polling OMxSR[MUB].
3.
Disables the message controller by clearing OMxMR[MUS].
4.
Clears the error by writing a 1 to the corresponding OMxSR status bit (see Table
16-104, OMxSR Field Descriptions, on page 16-197):
16-104, OMxSR Field Descriptions, on page 16-197):
•
MER
•
PRT
•
RETE
•
TE
When an error occurs and the Serial RapidIO error/write-port interrupt is not enabled, software
takes the following actions:
takes the following actions:
1.
Determines that an error has occurred by polling the status bits OMxSR status bit (see
Table 16-104, OMxSR Field Descriptions, on page 16-197):
Table 16-104, OMxSR Field Descriptions, on page 16-197):
•
MER
Packet Response Time-Out
• Sets the packet response time-out status bit (OMxSR[PRT]).
• Generates a serial RapidIO error/write-port interrupt if OMxMR[EIE] is
• Generates a serial RapidIO error/write-port interrupt if OMxMR[EIE] is
set.
• Stops after the message operation completes (indicated by
OMxSR[MUB]).
Retry Error Threshold Exceeded
• Sets the retry threshold exceed status bit (OMxSR[RETE]).
• Generates a Serial RapidIO error/write-port interrupt if OMxMR[EIE] is
• Generates a Serial RapidIO error/write-port interrupt if OMxMR[EIE] is
set.
• Stops after the message operation completes (indicated by
OMxSR[MUB]).
Internal Error During Local Memory Read
• Sets the transaction error bit (OMxSR[TE])
• Does not send message segments with an internal error because the
• Does not send message segments with an internal error because the
message data is not available
• Does not transfer memory reads generated before the internal error.
• Generates but does not transfer additional memory reads for the same
• Generates but does not transfer additional memory reads for the same
message operation.
• Does not transfer all subsequent message segments for the same
message operation, including retried message segments.
• Stops after the message operation completes (indicated by
OMxSR[MUB]).
• Generates the Serial RapidIO error/write-port interrupt if OMxMR[EIE] is
set.
Table 16-24. Error Types In Outbound Message Controller Direct Mode (Continued)
Error Type
Message Controller Response to Error