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: Adrian Figueroa
Subject: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error
Date: Thu, 14 Sep 2017 09:09:15 +0000

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 someone has experience with the HAL drivers of the STM32F7.

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;
      }

When DmaTxDesc->Status  equals 818937856. What does this mean? Is the DMA used 
by something else?

Best regards,
Adrian

-----Ursprüngliche Nachricht-----
Von: lwip-users [mailto:address@hidden Im Auftrag von Sergio R. Caprile
Gesendet: Monday, September 11, 2017 2:38 PM
An: address@hidden
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no 
error

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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

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