TCP packet not received successfully in lwip+freeRTOS.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

TCP packet not received successfully in lwip+freeRTOS.

993件の閲覧回数
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 返信

871件の閲覧回数
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 件の賞賛
返信