[En-Nut-Discussion] TCP stops working after some time

Harald Kipp harald.kipp at egnite.de
Sun Nov 28 11:18:55 CET 2004


Hello Bernd,

At 22:54 27.11.2004 +0100, you wrote:
>I have an application using 3.9-1 that does a lot of connects and
>disconnects.
>After some time the Boards doesn't respond to TCP Packets anymore,
>but I can still ping it.

I assume, you're running out of memory. The state
machine discards incoming packets when less than
4k is left.


>While searching inside Ethernut code I failed to see how all the
>NutEventPostAsync() calls inside the TCP code are protected from
>interrupts.

Inside interrupt routines interrupts are disabled
by the CPU and re-enabled when returning.

Harald




More information about the En-Nut-Discussion mailing list