lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP stops responding on ping and HTTP calls from a web


From: Oane Kingma
Subject: Re: [lwip-users] LWIP stops responding on ping and HTTP calls from a webbrowser
Date: Fri, 22 Apr 2011 12:09:56 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b3pre Thunderbird/3.1.10

I think I had a similar issue a while back, it turned out I left some packets in the MAC's buffer when two packets arrived extremely close together in time and didn't feed them to lwIP properly. A new packet that would arrive would finally trigger the previous packet that was incorrectly left in the MAC's buffer to be processed. You may experience a similar issue.

Best of luck,
Oane

On 22-4-2011 12:04, Ruben wrote:


Dear all

I am using Lwip 1.3.1 & 1.3.2 untill recently I had no problems using the stack.
But now I'am experiencing something strange. I use a webserver and a telnet module.

After a boot of the software everything works ok. I can Ping, acces the webserver pages, open the telnet server.
But at a point the websever and ping stop working. In wireshark i see my PC sending request to the embedded device
a STM32F217 but the stack does not send a respons.

After some waiting the ping work again and the webserver is also reachable. however something for a short period.

I am thingking that some resources on lwip the stack are not cleared properly and after a timeout period some parts of the stack are cleaned. 

when I stated using Lwip is was able to run ping and webserver for days without blocking or failing. But somehow this is compromised. 

does anyone have any sugestions or question on how to find out more about the problem. 

I set a breakpoint in the TCP.c and Tcp_in file where I think the program should proces any data. in normal operation this breakpoint is serviced however when the request from the PC is not answered the breakpoint is not reached. 

Thanks ik advance for everyone wo read this and might have a suggestion. 

Ruben 



-- 
Oane Kingma
KITT Engineering
Pantheon 16        Phone :  +31 53 431 5700
7521 PR Enschede   Mail  :  address@hidden
The Netherlands    WWW   :  www.kitt.nl

 

reply via email to

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