lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] LPC1768 + lwip + FreeRTOS


From: Jimi Simpson
Subject: [lwip-users] LPC1768 + lwip + FreeRTOS
Date: Tue, 22 Jun 2010 14:50:10 -0700 (PDT)

Hi,

I am using FreeRTOS + lwip on an LPC1768. I am using the Netconn API and
have a webserver that can host either a simple webpage page, or can serve a
complete website (from a filesystem).

The issue that I am seeing is that I can have (many) multiple web browser
connections open to the lwip server if I am serving a single webpage, but
with a single connection and the "real" website hosted I see multiple
connections coming in (in essence to request the series of css/images/java
etc that the website presents - in other words one browser but multiple
sockets to get the individual files) but some of the connections get RST and
so never load their content to the remote host.

I have the following setup that I feel is relevant:

#define MEMP_NUM_TCP_PCB                8        
#define MEMP_NUM_TCP_PCB_LISTEN         8

I see RSTs being sent to remote connections with no correlation to the above
limits on connections and equally memory is plentiful when I look at
sys_stats. After some debugging I tracked the source of RSTs to tcp_process
in its call to tcp_abort. My gut feeling is this is likely to be due to a
basic setting somewhere - any one any thoughts?

Best regards Jimi

PS. As a more general question, does anyone out there have lwip + freertos
on an lpc1768 that is both working and stable - I would be keen to validate
my implementation - primarilly "emac.c", "ethernetif.c" etc...

Thanks in anticipation of anyones help
-- 
View this message in context: 
http://old.nabble.com/LPC1768-%2B-lwip-%2B-FreeRTOS-tp28965499p28965499.html
Sent from the lwip-users mailing list archive at Nabble.com.




reply via email to

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