|
From: | Artem Pisarenko |
Subject: | Re: [lwip-users] Assertion "memp sanity" failed at line 463in../lwip_1_4_0/Src/core/memp.c |
Date: | Mon, 19 Nov 2012 13:52:25 +0700 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 |
I faced with exactly same problems and spent a lot of time to debug it. I'm glad to share my experience and save other people from such nightmares. :)Once again thanks for the detailed response, much appreciated.
Additionally I found that pbuf_alloc() call hierarchy contains sys_mbox_***() calls. It may cause non-***FromISR() calls. Even if your lwip configuration exclude them, check whether your port do system calls in LWIP_PLATFORM_DIAG() and LWIP_PLATFORM_ASSERT() which are used in LWIP_DEBUGF() across all the lwip code.
[Prev in Thread] | Current Thread | [Next in Thread] |