This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6455 RapidIO need more error info

Hi,

Where can I see a complete description of the field "ERROR_TYPE" for "PORT_ERROR_0_SP_ERR_ATTR_CAPT_DBG0" register?

"TMS320C645x DSP Serial RapidIO (SRIO) User's Guide" have not info about it.

I can not understand an error that occurs when the 4x rio used.

Thanks.

PS. Some registers:

PORT_ERROR_0_SP_ERR_DET 0x00000010 Port Error Detect CSR [Memory Mapped]
      ERR_IMP_SPECIFIC 0 An implementation specific error has been detected. It covers illegal field of Maintenance packet error, illegal destination ID, not supported transaction.
      _RESV ******* Reserved
      _RESV * Reserved
      CORRUPT_CNTL_SYM 0 Received a control symbol with a bad CRC value (serial)
      CNTL_SYM_UNEXPECTED_ACKID 0 Received an acknowledge control symbol with an unexpected ackID (packet-accepted or packet_retry). The Capture registers don't have valid information during this error detection
      RCVD_PKT_NOT_ACCPT 0 Received packet-not-accepted acknowledge control symbol
      PKT_UNEXPECTED_ACKID 0 Received packet with unexpected ackID value - out-of-sequence ackID
      RCVD_PKT_WITH_BAD_CRC 0 Received packet with a bad CRC value
      RCVD_PKT_OVER_276B 0 Received packet which exceeds the maximum allowed size
      _RESV *********** Reserved
      NON_OUTSTANDING_ACKID 0 Link_response received with an ackID that is not outstanding. The Capture registers don't have valid information during this error detection
      PROTOCOL_ERROR 1 An unexpected packet or control symbol was received
      _RESV * Reserved
      DELINEATION_ERROR 0 Received unaligned /SC/ or /PD/ or undefined code-group (serial). The Capture registers don't have valid information during this error detection
      UNSOLICITED_ACK_CNTL_SYM 0 An unexpected acknowledge control symbol was received
      LINK_TIMEOUT 0 An acknowledge or link-response control symbol is not received within the specified time-out interval. The Capture registers don't have valid information during this error detection.

PORT_ERROR_0_SP_ERR_ATTR_CAPT_DBG0 0x5B000001 Port Attributes Error Capture CSR [Memory Mapped]
      INFO_TYPE 01 Type of information logged 00 - packet 01 - control symbol (only error capture register 0 is valid) 10 - implementation specific (capture register contents are implementation specific) 11 - undefined (S-bit error), capture as if a packet (parallel physical layer only)
      _RESV * Reserved
      ERROR_TYPE 11011 Encoded value of captured error bit in the Port n Error Detect Register
      IMP_SPECIFIC 00000000000000000000 Implementation Dependent Error Information
      _RESV *** Reserved
      CAPTURE_VALID_INFO 1 This bit is set by hardware to indicate that the Packet/control symbol capture registers contain valid information. For control symbols, only capture register 0 will contain meaningful information. The software write "0" to clear this bit and subsequently unlock all capture registers of port n

PORT_0_SP_ERR_STAT 0x00000302 Port Error and Status CSR [Memory Mapped]
   _RESV ***** Reserved
   OUTPUT_PKT_DROP 0 Output port has discarded a packet. (switch devices only)
   OUTPUT_FLD_ENC 0 Output port has encountered a failed condition, meaning that the failed port error threshold has been reached in the Port n Error Rate Threshold register. Once set remains set until written with a logic 1 to clear
   OUTPUT_DEGRD_ENC 0 Output port has encountered a degraded condition, meaning that the degraded port error threshold has been reached in the Port n Error Rate Threshold register. Once set remains set until written with a logic 1 to clear.
   _RESV *** Reserved
   OUTPUT_RETRY_ENC 0 Output port has encountered a retry condition.This bit is set when bit 18 is set. Once set, remains set until written with a logic 1 to clear.
   OUTPUT_RETRIED 0 Output port has received a packet-retry control symbol and can not make forward progress. This bit is set when bit 18 is set and is cleared when a packet-accepted or a packet-not-accepted control symbol is received (read-only).
   OUTPUT_RETRY_STP 0 Output port has received a packet-retry control symbol and is in the "output retry-stopped" state (read-only).
   OUTPUT_ERROR_ENC 0 Output port has encountered (and possibly recovered from) a transmission error. This bit is set when bit 16 is set. Once set, remains set until written with a logic 1 to clear
   OUTPUT_ERROR_STP 0 Output is in the "output error-stopped" state (read-only).
   _RESV ***** Reserved
   INPUT_RETRY_STP 0 Input port is in the "input retry-stopped" state (read-only).
   INPUT_ERROR_ENC 1 Input port has encountered (and possibly recovered from) a transmission error. This bit is set when bit 8 is set. Once set, remains set until written with a logic 1 to clear
   INPUT_ERROR_STP 1 Input port is in the "input error-stopped" state (read-only).
   _RESV *** Reserved
   PORT_WRITE_PND 0 Port has encountered a condition which required it to initiate a Maintenance Port-write operation This bit is only valid if the device is capable of issuing a maintenance port-write transaction. Once set remains set until written with a logic 1 to clear.
   _RESV * Reserved
   PORT_ERROR 0 Input or output port has encountered an error from which hardware was unable to recover. Once set, remains set until written with a logic 1 to clear.
   PORT_OK 1 The input and output ports are initialized and the port is exchanging error-free control symbols with the attached device (read-only).
   PORT_UNINITIALIZED 0 Input and output ports are not initialized. This bit and bit 1 are mutually exclusive (read-only