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.

TM4C1294KCPDT: Ethernet communication issues

Part Number: TM4C1294KCPDT


Tool/software:

Hi,

    I am using TM4C1294KCPDT micro controller and RTOS is TI for my application.

For Ethernet TCP/IP communication, i am created a task based and my controller act as a server. whenever data received from client task will starts work, inside this i am able to send data to client.

But my issue is i am not able send data outside the task, outside the task i am using same ClientID and TCP/IP send function for data transfer but it will not work.

Whenever my program come out from the task the data not able to transfer.

I am attached source code here.Aligner_V00.zip

Regards,

Yuvaraj

  • Hi,

    whenever data received from client task will starts work, inside this i am able to send data to client.

    Are you saying if the code for ethernet_com_port is inside port_6000_data then it works?

    But my issue is i am not able send data outside the task, outside the task i am using same ClientID and TCP/IP send function for data transfer but it will not work.

    When

    If you put a breakpoint in ethernet_com_port then does it stop there?

    If you step through ethernet_com_port where does it fail?

  • Hi Charles,

    In side Port_6000_data task it's working. 

    Once i received data from client i am able to reply inside the same task. My requirement is once i received a data from client, program come out from the task and moved to do some control operations on other tasks after control operations completed, need to send the data to same client without new data/command from client.

    Inside port_6000_data task with or without break point it will works. 

  • Hi,

      I'm not sure what happens. Is it possible that you lost the connection with the client before you send back the data? Why don't you use wireshark to see if it will provide some information. 

  • Hi,

      I have not heard back from you. Hope your issue is resolved. I will close this thread for now. If you have any update you can write back to this post and the status will automatically change to OPEN.