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


  Hello.
  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
  [email protected]
  https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to