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.

ndk Hello World例程

各位大神,我使用的例程是processor-sdk中的例程 hello World使用的静态IP(localIP改为PC的IP地址)使用的6678.

运行的时候只在CCS的控制台打印出了:

[C66x_0]Qmss successfully initialized

CPPI successsfully initialized

PA successsfully initialized

TCP/IP Stack 'hello World!' Application

StackTest:using localIP

看了user guides 运行了会在控制台打印IP地址,结果没打印出来。而且winapps目录下的helloWorld.exe执行的时候闪退。麻烦各位大神看下。

  • 请问是在dos下执行命令的吗?
  • 这个命令运行成功了。但是现在有个问题,我调试了一下 发现dsp直接没反应 抓包工具看不到ARP回复帧 PC上的那个测试应用程序给dsp发的时候dsp直接没有回复 ping dsp也是请求超时
  • mcsdk例程可以编译运行,结果如下:

    [C66xx_0] QMSS successfully initialized
    CPPI successfully initialized
    PA successfully initialized

    TCP/IP Stack 'Hello World!' Application


    TCP/IP Stack 'Hello World!' Application

    PASS successfully initialized
    Ethernet subsystem successfully initialized
    Ethernet eventId : 48 and vectId (Interrupt) : 7
    Registration of the EMAC Successful, waiting for link up ..
    Network Added: If-1:192.168.0.189

    使用winapps目录下的helloWorld.exe文件执行测试。结果如下:

    Testing UDP echo server at 192.168.0.189:7
    C:\ti\ndk_2_21_02_43\packages\ti\ndk\winapps\helloWorld.exe: timed out waiting for reply

    打断点发现程序是在void SemPend()函数中的return 语句中卡住了。后面的语句都不执行了。结果Server也没有初始化成功。dsp没有响应。抓包工具也抓不到dsp发出的请求包。