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.

Ethernet Multi-board communication (2xDM6437, DM648)

Hi,

I'm currently working on a project which requires communication between multiple DSP boards, all linked through a standard ethernet router.

I have played around with the NDK (2_0_0) examples (helloworld, cfgdemo, client), which all seem to work. I can assign static IPs and I can ping the DSPs from a computer connected to the router so that doesn't seem to be a problem

However, I haven't quite figured out how to build upon the examples and do the following:

Simple sending/receiving of data to/from a specific board (assuming they are all static IP, I know which board I want to send to and hence which IP).

Could anyone provide some example code or steps I need to take in order to accomplish this?

 

Thanks

 

  • Hi tomghc,

    Yes, there is actually an "example" for doing this - it's really our benchmark program that can be found under the directory "packages/ti/ndk/benchmarks".  You'll want to look at the "nonCopyTCP" flavor.

    This benchmark app is meant to test 2 different boards that are directly connected via a crossover cable using static IP addresses.  There are 2 different apps - tester - which acts as a sender; and testee - which acts as a receiver.

    It shouldn't be difficult to get this working on a router or switch.

    They can be found specifically here:

    ndk_2_0_0\packages\ti\ndk\benchmarks\nonCopyTCP\testee

    ndk_2_0_0\packages\ti\ndk\benchmarks\nonCopyTCP\tester

     

    Steve

     

     

  • Thanks,

    I never really wondered what was in benchmarks, how silly. That works fine for me and what I am doing!