This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
Has anyone had any experience using Alair Junior's LWIP 2.1.2 stack port?
https://github.com/alairjunior/lwip-tiva
I've hit a issue when IPADDR_USE_STATIC is used to initialize the lwIP library. IPADDR_USE_DHCP works fine, but when IPADDR_USE_STATIC is used it just wont connect.This is not the case for 1.4.1 which comes with the current TivaWare C Series SDK.
Thanks
HL
Hi Hairy,
Thank you for showing this port. Have you done a diff between this port (files under ports/tiva-tm4c1294/port/) and the TivaWare? If they are the same then it maybe something that is subtle to the 2.1.2 or maybe the configuration for lwipopts.h. I don't know if you have a way to reach out to alairjunior to see if he is aware of your finding.
Hi Charles
I have and there's not a lot of differences at all except for lwipopts.h So yes was under the same impression that it is either 2.1.2 (I'm going to try dropping 2.1.3 in to see if that helps) or there's an option in lwipopts.h which is causing the issue. I see that TI have provided a 2.1.2 port for the C2000 so was going to have a dig into that.
I've left Alair a messge on his github page last week, but thought it worth a shot seeing if anyone on here had any experience and might be able to point me in the right direction.
Interestingly lwipopts.h for C2000 using 2.1.2 is very similar to that of TM4C129 using 1.4.1. I dont suppose you can confirm if the enet_lwip example in the C2000 SDK works when an IP is statically allocated can you as I dont have a C2000 to try it myself. Thanks in anticipation.
HL
Hi Hairy,
Sorry, I'm not familiar with C2000 products as I only support TM4C. Do you mind to open a new thread with C2000 group? Please make sure you specify the C2000 part number that has the Ethernet in it when you create a thread.