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.

c6678 Ethernet UDP packet size

I am currently working with the TMDSEVM66788L (The processor is multicore DSP TMS320C6678L) . I have ccs v6 on my pc with  mcsdk_2_01_02_05 and ndk 2_24_03_35.

I am using a project based on the hello world (The path of the example I use is:  C:\ti\mcsdk_2_01_02_05\examples\ndk\helloWorld\evmc6678l).

I am trying to send using UDP protocol packets from my PC to the EVM and vise versa. I am currently able to send and receive 2500 byte size packets but not larger.

I know that the UDP protocol enables 64K size packets. I do not know why I am not able to send or receive larger packets then 2500 bytes. Currently I want to send and receive 8000 byte size packets.

If someone had the same problem and knows the solution that would be great. 

  • Hi Alex,

    In order to send larger packets, you need to enable Jumbo packet support. Please follow the steps provided in the below wiki to achieve that,

    Thank you.

  • How you are handling the UDP packet in PC (windows or Linux) ?

    Try to increase the buffer at PC side.
    int size = 64 * 1024;
    setsockopt(size, SOL_SOCKET, SO_RCVBUF, &size ,sizeof size);
  • Hello Raja,

    I have tried to enable the jumbo packets using the link you kindly provided, but unfortunately i was not able to enable it. I discovered that in order to make NIMU modifications I need the "bios_mcsdk_2126_jumbomodtest" folder, unfortunately I do not have this folder on my PC. I tried to download the bios_mcsdk from this link (I downloaded bios_mcsdk_02_01_02_06_setupwin32.exe & bios_mcsdk_02_01_02_06_patch01_setupwin32.exe):

    software-dl.ti.com/.../index_FDS.html

    But it seems that after those downloads I still do not have this folder, thus I am unable to continue the enabling jumbo packets process.

    I have the next folders installed in my ti folder:

    1. mcsdk_2_01_02_06 (which was in stalled from the link above)
    2. ndk_2_21_02_43
    3. pdk_C6678_1_1_2_5
    4. bios_6_45_01_29
    5. xdais_7_24_00_04
    6. xdctools_3_23_04_60
    7. ti-cgt-c6000_8.1.0 compiler

    Am I missing anything? where can I download this folder?
  • Hello Titus,

    I am handling the UDP packet in windows.

    I have tried to make your adjustments but with no success. I am still unable to send larger packets then 2500 bytes.

    Are there any other code adjustments I can make to enable me to transfer larger packets ?

    Are there any parameters that can help me?