lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] endless loop in netconn_write


From: Christiaan Simons
Subject: Re: [lwip-users] endless loop in netconn_write
Date: Fri, 14 Jul 2006 09:30:12 +0200

Hi Edwin,

> Can someone shed some light on how to solve this issue?

If you want to chase it yourself I can recommend adding
some LWIP_DEBUGF() and some LWIP_ASSERTS() in the netconn
code, trying to locate some obvious bugs or flaws.

I see the FreeRTOS port doesn't provide the
LWIP_PLATFORM_DIAG() and LWIP_PLATFORM_ASSERT()
macros that are needed for this (in cc.h).
Maybe you could ask the FreeRTOS
porters about this omission. Also they
should update to at least 1_1_1.

If your board has some terminal / serial line
that can output printf's you could define
these macro's to printf. If not, then you may
need to improvise your own printf
over ethernet (can be very helpfull since
you get a good idea of order of events).

Sorry, I don't have time to read your trace in detail,
but I clearly see some TCP checksum failures,
there must be a serious software or hardware
malfunction somewhere.

Bye,

Christiaan Simons

Hardware Designer
Axon Digital Design

http://www.axon.tv





reply via email to

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