Adrian Figueroa wrote:
There is a list of chained DMA transmit descriptors, as they seem to be called.
There is always four of them, this is hard coded.
My version of the STM32F4xx HAL driver leaves this as a define to the
application... But you're limited by DMA-capable RAM, of course.
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag
von Noam Weissman
Gesendet: Friday, September 15, 2017 10:42 AM
An: Mailing list for lwIP users <lwip-users@nongnu.org>
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
Hi
-
Von: lwip-users
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag
von Adrian Figueroa
Gesendet: Friday, September 15, 2017 8:31 AM
An: Mailing list for lwIP users <lwip-users@nongnu.org>
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show
ian.figue...@tu-dresden.de>
Sent: Friday, September 15, 2017 9:30 AM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
That memcpy is also used on the F7. The drivers are probably the same:
/* Copy data to Tx buffer*/
memc
Von: lwip-users
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag
von goldsi...@gmx.de
Gesendet: Thursday, September 14, 2017 5:46 PM
An: Mailing list for lwIP users <lwip-users@nongnu.org>
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show
Adrian Figueroa wrote:
I can see some errors in low_level_output() in ethernetif.c.
This fails:
if((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET)
{
errval = ERR_USE;
goto error;
}
I don't know the F7 driver, but my F4 driver seems to have
for lwIP users <lwip-users@nongnu.org>
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
Adrian Figueroa wrote::
>I have no idea why I have no packet loss with TCP_WND and TCP_SND_BUF
>set to 2xTCP_MSS. Instead, I get rare ZeroWindow errors from my
Adrian Figueroa wrote::
>I have no idea why I have no packet loss with TCP_WND and TCP_SND_BUF
>set to 2xTCP_MSS. Instead, I get rare ZeroWindow errors from my PC.
Because you don't fill your DMA buffers in this case and as a result, you don't
drop tx segments.
Implementing a zero copy driver
Nachricht-
Von: lwip-users
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag
von Nathan Hartman
Gesendet: Thursday, September 14, 2017 2:10 PM
An: Mailing list for lwIP users <lwip-users@nongnu.org>
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP
On Sep 14, 2017, at 5:09 AM, Adrian Figueroa
wrote:
>
> I did some more testing and it does not seem to be systematic. As lwIP is not
> showing errors in any of the stats, it is likely not its fault.
>
> Do you have any suggestions on how to find the reason for
Adrian Figueroa wrote:
>This fails:
>
> if((DmaTxDesc->Status & ETH_DMATXDESC_OWN) != (uint32_t)RESET)
> {
>errval = ERR_USE;
>goto error;
> }
>
>When DmaTxDesc->Status equals 818937856. What does this mean? Is the
>DMA used by something else?
I could mean your
Perhaps your data is not being "lost" by lwIP but your driver ?
Since you've found it is systematic, try to debug and follow the path to
find where and what.
___
lwip-users mailing list
lwip-users@nongnu.org
] ERR_MEM when sending large data, LWIP stats show no
error
Ha, I love the word "severe" being used here...
I don't know, I've read some guys finding bugs on the Cube drivers, and seems
to vary depending on which micro you are using. Search the list.
The fact is that your messages are ge
Ha, I love the word "severe" being used here...
I don't know, I've read some guys finding bugs on the Cube drivers, and
seems to vary depending on which micro you are using. Search the list.
The fact is that your messages are getting lost and you need to find
where...
I suggest running an echo
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
eptember 1, 2017 11:15 AM
To: lwip-users@nongnu.org<mailto:lwip-users@nongnu.org>
Subject: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error
Hello all,
I am trying to send large amounts of data continuously. I use lwIP as a TCP
client on an STM32F7 and Matlab on
lrd@nongnu.org> on behalf of
Adrian Figueroa <adrian.figue...@tu-dresden.de>
Sent: Friday, September 1, 2017 11:15 AM
To: lwip-users@nongnu.org
Subject: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error
Hello all,
I am trying to send large amounts of data continuously
Adrian Figueroa
Gesendet: Friday, September 1, 2017 10:16 AM
An: lwip-users@nongnu.org
Betreff: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error
Hello all,
I am trying to send large amounts of data continuously. I use lwIP as a TCP
client on an STM32F7 and Matlab on a PC
18 matches
Mail list logo