lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] Works with Win7, not Windows XP?


From: ThomasJ
Subject: [lwip-users] Works with Win7, not Windows XP?
Date: Tue, 29 Oct 2013 12:30:46 -0700 (PDT)

Hi All

Maybe someone can help me.

We are using lwip in a new embedded device. The device communicate with our
server software with TCP connection.
The device works fine as long the server software runs on a Windows 7
machine, but not when the code runs a WindowsXP system.
The server software and the device software is the same in all cases.

It is in the situation, where the server sends a big chunk of data to the
device (1033 bytes). When the server runs on WinXP the device crahes. The
stack trace is some where in the receive input function. On Win7 every thing
works.

I have tried to change the MSS, TCP WND and memory size. 
A MSS of 128, mem pool of 20 and memory size of 15*1024 works perfect with
Windows 7. But to get it to work with WinXP I have to increase the MSS to
536 or 1460 to make it work. Then it is slow in the case i send a big chunk
of data to the device and it sometimes still crashes.

So it guess it has something todo with the MSS parameter, but I can figure
out what. Maybe receive describtors used?

Im using FreeRTOS and a LPC1788. I keep the memory inside the PIRAM, so I
need a low memory usage.
Maybe it something with WinXP ignoring MSS lower then 536 bytes? And then
the stack cant handle the data?

May next move is to analyze with wirexhark on a Win7 and XP system.

Any help appricated.

Best regards Thomas



--
View this message in context: 
http://lwip.100.n7.nabble.com/Works-with-Win7-not-Windows-XP-tp22003.html
Sent from the lwip-users mailing list archive at Nabble.com.



reply via email to

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