读取Reg6的LCB与读取的影子寄存器LSU_STAT_REG的LCB不相等,这是什么原因?
Reg6的LCB = 0;
影子寄存器LSU_STAT_REG的LCB = 1;
导致程序死在KeyStone_SRIO_wait_LSU_completion()函数。
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.
读取Reg6的LCB与读取的影子寄存器LSU_STAT_REG的LCB不相等,这是什么原因?
Reg6的LCB = 0;
影子寄存器LSU_STAT_REG的LCB = 1;
导致程序死在KeyStone_SRIO_wait_LSU_completion()函数。
LCB 用来区分两次不同的传输,显然你上次的传输未完成,应该检查一下SRIO的状态及错误寄存器看发生了何种错误
调用print_SRIO_status_error(),信息如下:
Input port 0 next expected ackID value: 0x0
Output port 0 unacknowledged ackID: 0x0
Output port 0 next transmitted ackID value: 0x1
The output port 0 is in the output error-stopped state.
The input port 0 is in the input error-stopped state.
Port 0 OK condition. The input and output ports are initialized, and the port is exchanging error-free control symbols with the attached device.
好像没有什么错误呀?