[Top][All Lists]

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

Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)

From: Jens Nielsen
Subject: Re: [lwip-users] Binary file upload chrashes the program (lwip 1.4.1)
Date: Fri, 10 Feb 2017 17:34:46 +0100
User-agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0


Which version of CubeMx? And are you using their ethernetif.c or did you get it somewhere else? I don't remember when it was fixed but old versions had the exact problem Sergio mentioned. Search for anything related to ST from a couple of years ago and you'll definitely find it

BR /Jens

On 2017-02-10 14:09, Vass Szabolcs wrote:
Thank You for Your response.

So I'm using the lwip 1.4.1 stack. To configure my controller I used the CubeMx from ST. The Cube Mx generated this library to my project (in 2016). I read that the ST is working on next upgrade of Cube Mx that will contain the lwip 2.0.

The problem is that my project is very large and complex so I wouldn't like to exchange my lwip libraries.

In my project I need to modify in the lwip function to work properly the binary upload, and some other features.

So please help me where I can find the solution within this stack?

Kind regards,


2017.02.10. 14:33 keltezéssel, Sergio R. Caprile írta:
The crashes are your responsibility. Or your vendor's...
If you clearly indicate which API are you using and how you use the stack, someone here might guide you. The dup acks are indicating your lwIP is not seeing some expected frames. This is usually a driver fault. Most common culprit is that the developers forget to extract all frames off the eth chip when handling a frame rx indication. When traffic is low, everything is fine, but as soon as network traffic is high and two or more frames arrive in the service period, one of them is left sleeping and eventually lost. If that one which is lost is the one you care about, the stack will ask for it again, and that is what you are seeing. Search the list, there's someone else with the very same problem this week, and I bet is also ST-related. My bet is strong on the driver. I just can't wait to be right...

lwip-users mailing list

lwip-users mailing list

reply via email to

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