RapidIO Intel FPGA IP User Guide

ID 683884
Date 9/15/2021
Public
Document Table of Contents

4.6.1.2. Fatal Errors

Fatal errors cause a soft reset of the Physical layer module, which clears all the transmit buffers and resets the inbound and outbound ackID to zero. This effect also can be triggered by software by first writing a one and then a zero to the PORT_DIS bit of the Port 0 Control CSR. The following are considered fatal errors.
  • Receive a link-response control symbol with the port_status set to error.
  • Receive a link-response control Symbol with the port_status set to OK but the ackID_status set to an ackID that is not pending.
  • Transmitter times out while waiting for link-response control symbol.
    Note: An output port enters the Output Error Stop state when it receives a packet-not-accepted control Symbol. To exit from this state, the port issues link-request/input-status (restart-from-error) control symbol. The port waits in the Output Error Stop State for a link-response control symbol.
  • Receiver times out while waiting for a link-request/input-status control symbol
    Note:

    Upon detection of an error, the input port enters the Input Error Stop state. To recover, the input port performs the following:

    1. Issues a packet-not-acceptedcontrol symbol
    2. Waits for link-request/Input-Status control symbol
    3. Sends link-response control symbol
    Packets that were queued at the time of the fatal error are lost.

If Send link-request reset-device on fatal errors is turned on in the RapidIO parameter editor, fatal errors cause the transmitter to send link-request control symbols with cmd set to reset-device to the link partner.