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.

TMS320C6678: TMS320C6678:

Part Number: TMS320C6678

Hello,

Kindly help me out,I am unable to send data greater than 64k bytes on Ethernet of c6678

Regards

  • Hi,

    What software (which particular example) are you using?

    Best Regards,
    Yordan
  • I am using 4DSP,fmc667 Board.For DSP programming CCS v5.0 is used.Ethernet data is capturing in matlab .pls guide me if I configure NDK using c code then how can I define PBM buffers sizes
  • I am using NDK client example (Sys/bios 6.33.6.50, XDCTools 3.23.4.60, NDK 2.21.2.43). I modified NDK client example to send large amount of data approx (1 MB) over Ethernet using UDP to a PC. I did this by repeatedly calling sendto socket api function in a for loop. In each iteration sendto() function is called and it sends data stored in an array of 1024 bytes. So to send 1MB of data there are a total of 1024 iterations (or, in other words, 1024 data packets are sent, with each packet containing 1024 bytes of data). But we received quite a few number of packets than expected (receiving only 400-500 packets instead of expected 1024). If the data size is small, for example 64Kb or a total of 64 packets, we are able to receive all 64 packets.

    What could be the problem.

    Is there a way to change the default number of frames of Packet Buffer Manager used by NDK client example.
  • Hi,

    I've notified the ndk team. Feedback will be posted directly here.

    Best Regards,
    Yordan
  • Hi,

    I am not sure how to use MATLAB to capture packets. You can use Wireshark to capture it and to make sure there are really packet drop sending out of the EVM, not the matlab tool issue.

    Under packages\ti\ndk\winapps, there are several Windows application that can send/receive packets with NDK client or hello world example, some of tools transmit UDP packets with payload size from a few bytes to 1500 bytes in a loop, you can check if the EVM has trouble to send out more than 64KB data.

    In the NDK example, you may check global variables "ips" and "udps" to see if any packets dropped:

    If you want to increase PBM buffer, please look at:

    https://e2e.ti.com/support/embedded/tirtos/f/355/t/169168

    Regards, Eric