请教DSP 6670 srio 消息模式下发送失败的问题
[复制链接]
问题现象:终端整机上电后,srio msg消息发送(板内dsp间消息发送)概率性失败(整机上下电重启后,50%几率出错)
问题分析:查看srio寄存器,发现如下: 1)Error Management Register中的寄存器Error Detect register(ERR_DET) = 0x01000000 寄存器手册上,位24对应的描述: 24 Packet Response Time-out :A required response has not been received within the specified timeout interval (IO/MSG/GSM logical) (end point device only) Write 0 to clear Write 1 for software debug purposes only
2)CSR/CAR Registers中的寄存器port error and status CSR n(SPn_ERR_STAT) = 0x03020202 寄存器手册上,各位值对应的描述: 25 Output Failed-encountered: 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.
24 Output Degraded-encountered: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.
17 Output Error-encountered: 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.
9 Input Error-encountered: 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.
1 Port OK: The input and output ports are initialized and the port is exchanging error-free control symbols with the attached device (read-only).
问题1:上述现象发生原因? 问题2:上述问题如何避免,出问题后如何恢复?
|