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