Sorry I am new to enabling stats.  I get linker errors when I set
LWIP_STATS to 1, it is complaining about missing symbols.  Is there a guide
somewhere on how to set up the lwipopts.h file?

On Mon, May 4, 2015 at 3:58 PM, [email protected] <[email protected]> wrote:

> Robert Deschambault wrote:
>
>> [..] We have noticed that when we use the v1.4.1 milestone release it
>> runs as long as we care to test.  When we use the sources from the lwip
>> master branch, it runs for about 18 hours.  What is odd is that it isn't
>> apparent that anything bad has happened, the threads appear to be still
>> running, and the code appears to be still working for other things like
>> blinking leds, etc., but pings, echo requests, or custom service requests
>> do not work.  No response from the target.
>>
>
> That's bad. Out of my head, I'm not aware of a change that might trigger
> this. And I'm not aware of instable versions of master which might have had
> this.
>
> I suspect your target is running out of pbufs (running out of PBUF_POOL ->
> no frames can be received any more; running out of heap memory -> no
> PBUF_RAM pbufs can be created for transmission any more). In either cases,
> the 'err' counter in lwip_stats.mem or .memp.X should increase. Can you
> check in the debugger if that's the case? You might have to enable the
> stats first if not already done.
>
> Simon
>
> _______________________________________________
> lwip-users mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/lwip-users
>



-- 
Bob Deschambault
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to