Other Parts Discussed in Thread: SYSBIOS
现在我sysbios下的doorbell中断发现了如下的问题:接收中断时只能接收到doorbellinfo2,没办法接收到doorbellinfo1,。但如果我先用逻辑程序初始化一遍,再用sysbios下的裸机程序初始化,再加sysbios的中断就可以接收到doorbellinfo1(查看寄存器得知的)。但是用的系统函数Srio_sockRecv就会乱码,不知道这是为什么呀?
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.
现在我sysbios下的doorbell中断发现了如下的问题:接收中断时只能接收到doorbellinfo2,没办法接收到doorbellinfo1,。但如果我先用逻辑程序初始化一遍,再用sysbios下的裸机程序初始化,再加sysbios的中断就可以接收到doorbellinfo1(查看寄存器得知的)。但是用的系统函数Srio_sockRecv就会乱码,不知道这是为什么呀?
左图是能正常触发的配置,右图只能触发info=1的配置,请问是不是sp_ctl这个的问题,我发现其中对应的寄存器说明了是四线,而右图对应的是单线。
R SRIO_rio_sp_ctl 0x0000000B 0xD0600001左图
R SRIO_rio_sp_ctl 0x0000000B 0xC0600001右图
29-27
Initialized Port Width
R:
Width of the ports after initialized (read only):
0b000 - Single-lane port, lane 0
0b001 - Single-lane port, lane 2
0b010 - Four-lane port
0b011 - 0b111 — reserved
如果是这个原因的话,那我怎么才能让右边一样呢?
我们在这方面提供的支持有限。请参考论坛里面的帖子。