6670的netcp例程BSLC6670_netcp_emac_ex单独运行没问题,但移植到sys/bios下,收端会一直收不到,发端则会报错,错误如下~
怎么解决?
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.
6670的netcp例程BSLC6670_netcp_emac_ex单独运行没问题,但移植到sys/bios下,收端会一直收不到,发端则会报错,错误如下~
怎么解决?
应该是你代码的原因,堆栈溢出了,请在BIOS工程的cfg文件中增大默认的task堆栈试试,如何设置请参考BIOS的用户手册.例如
var Task = xdc.useModule('ti.sysbios.knl.Task');
Task.defaultStackSize = 8192;
即使改了也会出错~~~貌似那个例程不能在bios下跑啊~~~~