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.

6678 NDK例程helloWorld问题

初次使用sys/bios调试代码,目前使用NDK中helloWorld例程在开发板上运行。但存在一下问题:1)程序在do{ NC_Start()}while中死循环;2)从PC端ping不通网络;现在不知道从何如何查错。请教下。谢谢。

  • 打断点测试了下,程序会在
    do { rc = NC_NetStart( hCfg, NetworkOpen, NetworkClose, NetworkIPAddr ); } while( rc > 0 );中触发NetworkOpen—— hHello = DaemonNew( SOCK_DGRAM, 0, 7, dtask_udp_hello, OS_TASKPRINORM, OS_TASKSTKNORM, 0, 1 );。但是在dtask_udp_hello中设置断点并不能触发。这种情况是否可认为是DSP中的server并未建立成功。同时从PC端无法ping通,是否可以说明DSP中对Net的初始化有问题。
  • 我也是这样的问题,问一下解决了没?