[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] BSD socket communication with FreeRTOS

From: Darius Babrauskas
Subject: Re: [lwip-users] BSD socket communication with FreeRTOS
Date: Tue, 4 Nov 2014 10:19:40 +0200

Maybe systimeouts not working.  How you using socket? Are you created free rtos systemtask? 
----- Original Message -----
From: Wonjae Kim
Sent: Tuesday, November 04, 2014 8:58 AM
Subject: [lwip-users] BSD socket communication with FreeRTOS

I'm developing BSD socket UDP, TCP communication with FreeRTOS now. I tested raw UDP, TCP without FreeRTOS in my system already and it works well. But it doesn't work with RTOS. I reffered a few demo project offered by FreeRTOS. sys_arch.c is also reffered it. I'm using lwIP 1.4.1. ping works well.

1) It can sends UDP data, I can check the packets. But it cannot receive any data. It goes to line 366 in api_lib.c
(sys_arch_mbox_fetch(&conn->recvmbox, &buf, conn->recv_timeout) == SYS_ARCH_TIMEOUT)
then the thread is closed..

2) TCP has another problem. I check some packets using Wireshark, there are few packets between my system and PC. I can see the 3 way handshake.. But the next packet has 'RST' it sent from my system..

Please let me know check point to solve these problems.

Thank you

lwip-users mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]