Forum Discussion
Altera_Forum
Honored Contributor
20 years agostand alone lwIP -help
I have developed a PCB with 2 ethernet ports. Both ports are a copy of the hardware from the development PCB. I was able to get the stand alone lwIP web server running on the dev. PCB but it won't run on my PCB. I did change the name of my ethernet modules to lan91c111_0 & lan91c111_1 in SOPC builder. Where can I make to change in the lwIP code to call out my new module names.
2 Replies
- Altera_Forum
Honored Contributor
Does LWIP even support two ports? I know Linux and eCos do...
- Altera_Forum
Honored Contributor
I figured out the answer to my problem. For anyone who may face the problem
The line in code dev_list_ptr = (alt_avalon_lan91c111_if*)alt_ethernet_device_list.next; can also be changed to dev_list_ptr = (alt_avalon_lan91c111_if*)alt_ethernet_device_list.previous; You can use these functions to alternate between the different ports on the PCB. Thanks for taking the time to respond Mike.