lpcware

TCP packet not received successfully in lwip+freeRTOS.

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by jayeshbhoi77 on Tue Aug 05 00:34:57 MST 2014
I am working on lpc 1833 microcontroller and have ported lwip stack on it. Also i am able to ping successfully to my device from other device. Now i have added one task in which TCP server created and accept multiple connection of clients. This works fine means packet send from client successfully received at server and vice versa. After that i have added another 2 task and above tcp server task not working means unable to send/receive tcp packets. If i comment those 2 tasks then it's working fine.


See my code in attached file here.


Any idea whats wrong here?

Regards,

Jayesh

Original Attachment has been moved to: tcp_code.c.zip

Outcomes