I faced with similar problem some time ago. Most likely it means that
global memory was corrupted because of thread-safety problems in your
sys port or freertos configuration or misuse lwip functions from
interrupts. Check sys_arch_protect()/sys_arch_unprotect(),
configKERNEL_INTERRUPT_PRIORITY and configMAX_SYSCALL_INTERRUPT_PRIORITY
in FreeRTOSConfig.h (special attention for Cortex-M3 !) Also, if your
application or driver call lwip memory functions from interrupts, keep
in mind, that it's very restricted and must be configured properly in
lwipopths.h
Hello
Trying to get LWIP 1.4.1.1 working with FreeRTOS 7.1.1 runs for a
while then gives me the following assertion.
Assertion "memp sanity" failed at line 463 in
../lwip_1_4_0/Src/core/memp.c
This happens while thrash testing by bulk pinging from a Linux machine
to test capabilities.
Comments in the file say this means pointers form a circle.
What normally causes this?
What is best approach to debug and fix?
My heap should be plenty big enough and no other errors received from
memory diags.
Regards
Barry Andrews
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users