Hi Guys:
here is one question for LWIP, could you help me check.
I test SDK_2.0_TWR-K65F180M\boards\twrk65f180m\demo_apps\lwip\lwip_tcpecho\freertos using echotool with big package, exceed 500+ bytes, the MCU will enter into Hard_fault interrupt, if use <=500Bytes, all package are echoed.
I think it should occur memory conflict for TCP buffer, but have no ideas since Freertos have no debug tool to trace this issue.
Hi,
Can you refer to the ticket:
https://community.nxp.com/thread/395104
it seems that the phenomenon is similar.
BR
XiangJun Rong
Hi Xiangjun:
You are right, I think the issue is caused by incontinous buffer copy.Thx.
The ethernetif_input implement should be updated, this is a bug, since the code is ported by NXP, and not found in other MCU.
seem all LWIP examples have such issue, how could I adjust the parameters for this big package requiments? and I could bear buffer alloc failed, why the MCU failed, whether lack of memory protection?