lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no err


From: Sergio R. Caprile
Subject: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error
Date: Fri, 1 Sep 2017 09:52:40 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.3.0

You have missing frames here.
Frame #8 sends 1460 bytes starting @5841
Frame #9 sends 1460 bytes starting @8761
8761 - 5841 = 2920 = 2*1460
You have a frame "#8.5" (the one that should have been sent between 8 and 9) that is missing. It is getting lost somewhere between your sender and your receiver, and that includes your Ethernet driver. You can see the receiver asking for the missing data in frame #12. Retransmission occur when the receiver times out, so the excessive transmission time you are experiencing.

You need to first run an application that you know it works, to make sure your driver and your port are working. Pick one from the apps dir or from the contrib tree.

Then, if you have more problems, state which API you are using and how you use it.
I guess it is the RAW API, so check this first:
http://lwip.wikia.com/wiki/Raw/TCP




reply via email to

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