[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: |
Adrian Figueroa |
Subject: |
Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error |
Date: |
Fri, 1 Sep 2017 14:28:39 +0000 |
Yes, I noticed that. It happens a lot when I have the TCP_SNDBUF high but goes
away when I set it to 2920 (2xMSS). Then, however, transmitting is very slow.
Do you have an idea why this is so?
I use the CubeMX driver and environment from ST, hoping that it does not have
severe bugs.
-----Ursprüngliche Nachricht-----
Von: lwip-users [mailto:address@hidden Im Auftrag von Sergio R. Caprile
Gesendet: Friday, September 1, 2017 2:53 PM
An: address@hidden
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
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
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
- [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Adrian Figueroa, 2017/09/01
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Sergio R. Caprile, 2017/09/01
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error,
Adrian Figueroa <=
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Sergio R. Caprile, 2017/09/01
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Adrian Figueroa, 2017/09/11
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Sergio R. Caprile, 2017/09/11
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Adrian Figueroa, 2017/09/14
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, goldsimon, 2017/09/14
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Nathan Hartman, 2017/09/14
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Adrian Figueroa, 2017/09/14
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, goldsimon, 2017/09/14
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, Adrian Figueroa, 2017/09/14
- Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error, address@hidden, 2017/09/14