Skip to main content
ray
Associate III
February 26, 2015
Question

lwip ping slow in debug mode

  • February 26, 2015
  • 1 reply
  • 564 views
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.

    This topic has been closed for replies.

    1 reply

    ray
    rayAuthor
    Associate III
    February 27, 2015
    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.