cancel
Showing results for 
Search instead for 
Did you mean: 

lwip ping slow in debug mode

ray
Associate II
Posted on February 26, 2015 at 09:35

I use cube1.3.0 lwip on STM429. It can work and ping ok in release mode.

But in debug mode when I use keil and st-link, it always timeout. I have tried ping and TCP recv/send, it's response 2-3 seconds.

Link below say ST demo code has a bug, and should drain the hardware FIFO on each interrupt:

http://lists.gnu.org/archive/html/lwip-users/2012-11/msg00013.html

Is it true? How can I clear FIFO ?

Thanks in advance.

1 REPLY 1
ray
Associate II
Posted on February 27, 2015 at 08:36

I enhance the ethenet interrupt priority. It looks better, but still become slow for long time running.