Hi,
I am using KDS3.2.0 with LWIP 2.0.0 on K66. I am using sample httpd web server and found the following problem:
Sometime, I got "LWIP_ASSERT("tcp_input: pcb->next != pcb (before cache)", pcb->next != pcb);" and stop working.
Can anybody tell me how to fix this issue?
Thanks,
Christie
Hi Christie:
Currently LwIP version in latest SDK is 2.1.2. If possible, I would suggest you update to latest version of SDK. 2.6.0.
You can download SDK from below link.
Welcome | MCUXpresso SDK Builder
For your issue, it seems your application code is violating LwIP requirement.
Please read the following link for more details
Regards
Daniel
Hi Daniel,
Thank you for your information.
I am using KDS3.2.0 with KSDK2.2. Is there any easy way to upgrade LWIP stack without affecting others in my project? Otherwise, I have to use the new IDE and re-do all for my project...There are lots of work related to this...
Could you tell me if I can only update the files related LWIP stack?
Thanks,
Christie
Yes, it is possible to update LwIP.
Please look at below link for the list of changes between different LwIP versions.
UPGRADING - lwip.git - lwIP - A Lightweight TCPIP stack
Regards
Daniel