Gesendet: 15.09.2017 20:35
An: Mailing list for lwIP users
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
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 code
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.
Fo
[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
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
Hi Adrian,
I am using the
t-
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
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
That memcpy
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*/
memcpy( (uint8_t*)((uint8_t*)buffer + bufferoffset),
(uint8_t*)((uint8_t*)q->payload + payloadoff
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
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
Adrian Figueroa wr
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 th
for lwIP users
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 PC.
Because you don't fi
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
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no
error
On Sep
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 dropped packets?
> Maybe someon
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 DM
lse?
Best regards,
Adrian
-Ursprüngliche Nachricht-
Von: lwip-users
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag
von Sergio R. Caprile
Gesendet: Monday, September 11, 2017 2:38 PM
An: lwip-users@nongnu.org
Betreff: Re: [lwip-users] ERR_MEM when sending
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
https://lists.nongnu.org/mailman/listinfo/
] 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 messa
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 w
.
-Ursprüngliche Nachricht-
Von: lwip-users
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag
von Sergio R. Caprile
Gesendet: Friday, September 1, 2017 2:53 PM
An: lwip-users@nongnu.org
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 rece
that helps,
Noam.
From: lwip-users
mailto:lwip-users-bounces+noam=silrd@nongnu.org>>
on behalf of Adrian Figueroa
mailto:adrian.figue...@tu-dresden.de>>
Sent: Friday, September 1, 2017 11:15 AM
To: lwip-users@nongnu.org<mailto:lwip-users@nongnu
: 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. I use lwIP as a TCP
client on an STM32F7 and Matlab on a PC as a TCP server.
I send
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 as a
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 as a TCP server.
I send blocks of 32768 bytes. Here are some settings for the memory sizes in
lwIP:
#define MEM_ALIGNMENT 4
#define MEM_SIZE 17520
#define MEMP_NUM_TCP
22 matches
Mail list logo