TCP packet not received successfully in lwip+freeRTOS.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TCP packet not received successfully in lwip+freeRTOS.

674 次查看
lpcware
NXP Employee
NXP Employee
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

标签 (1)
0 项奖励
回复
1 回复

552 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by xianghuiwang on Fri Aug 15 16:54:21 MST 2014
Hi, jay,

I would check the following:
1. make these two new task as empty task and see if the TCP is still working. Add in your two new  tasks back in with small steps to see what is causing the TCP stop functioning.
2. memory conflict and timing conflict investigation.

regards,
0 项奖励
回复