[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] ping flood crash
From: |
FreeRTOS Info |
Subject: |
Re: [lwip-users] ping flood crash |
Date: |
Wed, 10 Sep 2014 11:30:02 +0100 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
why ? and how to check it?
...because you said the error was "temac error interrupt: rx fifo over
run". So presumably the driver is using a FIFO to store received
packets, but the rate at which packets have been received was too fast
for the CPU to process, so the FIFO became full and the driver returned
an error. Therefore the problem occurred in the driver, before the
packets were ever sent to lwIP. This is a perfectly legitimate
scenario, and not really an error. If there is no space to store the
packets then the packets will have to be dropped. If the dropped
packets contained TCP data then the TCP protocol will take care of
ensuring they get re-sent. If the dropped packets contained UDP data
then you lucked out - if they need to be re-sent then that has to be
done from the application level.
Regards,
Richard.
+ http://www.FreeRTOS.org
Designed for microcontrollers. More than 107000 downloads in 2013.
+ http://www.FreeRTOS.org/plus
IoT, Trace, Certification, FAT FS, TCP/IP, Training, and more...