Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

ethernet_dev_list

Altera_Forum
Honored Contributor II
987 Views

Hello, 

 

I am trying to run the lwIP with Opencores Ethernet MAC... i edited the lwip_web_server.c file to suit the opencores mac and included Nir's opencores drivers.  

 

I am running the lwIP as standalone. 

 

ALT_LLIST_HEAD(alt_ethernet_device_list); opencores_ethernet_mac_if * dev_list_ptr =  (opencores_ethernet_mac_if *)alt_ethernet_device_list.next; 

 

But when i run the program, the dev_list_ptr does not point to the ethernet device. (instead it points to junk values).  

 

Can someone please tell me what may be going wrong? Thank you very much for any comments/advices.
0 Kudos
0 Replies
Reply