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.

TMS320C6657: 网口初始化有问题

Part Number: TMS320C6657


描述:CCS5.3版本,mcsdk2.1

      带NDK的6657程序,板卡断电重启多次。有的板卡网口都正常,ping正常。但是在个别板卡上,网口ping不通。这时候用仿真器连接进去system reset,然后重新在线下程序调试。

      发现打印窗口会打出来:emac_sendpacket() core0 port 0 returned error 00000005  这个字样。

      查看网口SGMII和MDIO寄存器。链接是正常的。唯一的不同点是,网口不通的时候,SGMII RESET寄存器的值为0x00000002.正常的时候是0x00000001.

      这有问题的板卡测试10次上下电,会有1-2次是这种情况。大部分时候网口使用正常。

      硬件上不知道怎么排查问题,软件上只能定位是网口异常。

      遇到这种问题该怎么解决。