LWIP 2.0.0 problem

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LWIP 2.0.0 problem

952 Views
a8Chcx
Contributor V

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

0 Kudos
3 Replies

781 Views
danielchen
NXP TechSupport
NXP TechSupport

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

lwIP: Common pitfalls 

Regards

Daniel

0 Kudos

781 Views
a8Chcx
Contributor V

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

0 Kudos

781 Views
danielchen
NXP TechSupport
NXP TechSupport

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

0 Kudos