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.

No data is sent while data length is less than 13 bytes

Other Parts Discussed in Thread: TMS320C6748

Hello,

I am using TMS320C6748 with custom board and sending data with the LWIP to the PC interface.

I am checking the frame on the wire shark and my UDP frame shows that there is no data sent out of the dsp Ethernet port in the frame but the port number, ip and configuration is good in the frame.

Any ideas?

  • Hi,

    Thanks for your post.

    I think, you could refer a sample example which is available in C6748 starterware (pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03), for enet_lwip.

    After you install the C6748 starterware,

    The project file of enet_lwip is given at:

    ..\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\build\c674x\cgt_ccs\c6748\lcdkC6748\enet_lwip

    and the source files at:

    ..\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\examples\lcdkC6748\enet_lwip

    Additionally, you could find a document at the path below which describes about interfacing the TCP/IP stack as well.

    at  ..\pdk_C6748_2_0_0_0\C6748_StarterWare_1_20_03_03\third_party\lwip-1.3.2\doc

    Kindly notice the IP byte order in Starterware:

    https://e2e.ti.com/support/embedded/starterware/f/790/t/400851

    which means for initialising your Ethernet interface you have to change byte order but for setting up and sending your UDP-packets you should not change it.

    Thanks & regards,

    Sivaraj K

    -------------------------------------------------------------------------------------------------------

    Please click the Verify Answer button on this post if it answers your question.

    -------------------------------------------------------------------------------------------------------

  • Hello Sivraj,

    I have followed all these steps and i am able to make communication with UDP. However, when the data size is less than 13 bytes in frame, it fails and sends only trash data in frame.

    Could you suggest me where to check.

    I see that pbuf_alloc if wrapping the packets but i can't see anything after. Moreover, on wireshark it just junk data of 13 bytes.