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.

TM4c1294-enet_uip

Hi everyone!.....

u could also helpful to me for my first ETHERNET TCP/IP Stack Development!......

I have changed TI/Tivaware example, as per our application!....

i.e., PC send some request ( using  DOCKTLIGHT Scipting ) to TIVA board, once the CRC is verified the TIVA board reply to PC, this process is chain for data logger, this was working fine!........

but the TIVA transmit only one frame for every request (1460 data+ 54 header)=1514 bytes, very fine,

i.e.,  my data is about 6K bytes,  if enquiry is received from  PC, TIVA should send all 6K bytes to PC, atleast consecutive  frames, (1460 bytes / frame), but it transmit only one frame (first 1460 bytes only transmitted, i didn't change anything in enet_io.c , but i have changed only in httpd.c

how to transmit all 6K using consecutive frames?

  • Hello Dinesh,

    Why did you change the httpd.c file? This file has APIs that help in transmitting and receiving HTTP packets when TM4C acts as a web/HTTP server.

    Is your application acting as a HTTP server?

    If yes, then don't modify the httpd.c file unless you know the details of how TCP layer and HTTP layer work. Write another layer on top of this file to manipulate the HTTP packets.

    If not, please let us know what protocol you want to use to transmit/receive data and if the TM4C device should act as a server or client.

    Thanks,
    Sai
  • TM4c should act as a server!...
    Protocol: TCP,
    I have changed as much i can, it's working perfectly for 1460bytes, (i.e transmit one frame perfectly), my data is about, 6K,
  • Hello Dinesh,

    The problem with modifying the basic protocol files is that you need to have knowledge of the protocol and also the architecture of the stack. If you miss one small detail, it might not work completely.

    Since your application needs to transmit bare TCP packets, I think you should not be using the HTTPD code. A better example is to use the example "tcpecho_raw" from here: cvs.savannah.gnu.org/.../. This example demonstrates the use of TCP server using LWIP APIs.

    Thanks,
    Sai
  • Mr.Sai
    I have crossed half the level, pls guide to go with enet_uip example!....
    the exact problem , i have a number of frame , it was transmitting one by one after the ACK , but ACK receive only after 200ms, it tooks a time, how to aviod this processing delay?