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.

About C6747 NDK 2.0.0.0 winapps' preblem.

Hi,

When I use the sndpkt.c of winapps in ndk_2_0_0_0 package patch, I can't transfer the string successfully.

I use compiled sndpkt.exe file from sndpkt.c compiled with Visual Studio 2008.

My network topology is  { PC -----------------DSP board} [this two parts are linked directly with wire ].

and PC's IP is set with 192.168.1.39 mask 255.255.255.0

DSP board's IP is set with 192.168.1.41 mask 255.255.255.0 (like the GSG with C6000 NDK of socket programming Lab6 section)

then I observe the UDP package which the sndpkt.exe sends by Wireshark. 

I don't see any data string package. I just see an ARP package.

So it seems that PC doesn't know the MAC address of 192.168.1.41(board).

I doubt that if I could't link PC and board with wire directly.

 

 

thanks

  • Hi Yang ,

     

    Are you using a crossover cable? Or a standard network cable?  For a direct connection, you must use a crossover cable.  Have you tried using a router or switch instead of a direct connection?  I recommend doing that first in order to verify that the sndpkt.exe program is working properly.

    Also, I think you might want to try running the NDK benchmark apps.  These apps are specifically designed to use a direct connection via crossover cable, although the connection is between 2 boards, instead of PC <--> board.

    You can find the benchmark apps in your NDK install.  For example, on my computer they're located here:

    C:\Program Files\Texas Instruments\ndk_2_0_0\packages\ti\ndk\benchmarks

     

    Steve

  • Hi, Steve

     

    I use a standard network cable instead of crossover one. So maybe I get wrong here.

    And I'll try the enviornment with switch and the benchmark apps.

    Thanks a lot.

     

    Yang