UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor s021897
Visitor
8,260 Views
Registered: ‎04-01-2009

How to get light weigth IP (lwIP) running on XUPV2P?

Jump to solution

Hi all,

 

 

I'm trying to get lwIP running on my XUPV2P board using a Microblaze core and XPS Ethernet lite, and to that end imported the source code for the Spartan3 Echo example, since it also uses a Microblaze core and the XPS lite Ethernet. I've got the DDR running and programming it is no problem (anymore). It now however doesn't want to create a network interface, as can be seen in the Hyperterminal responce:

-----lwIP TCP echo server ------ TCP packets sent to port 6001 will be echoed back Board IP: 192.168.0.10 Netmask : 255.255.255.0 Gateway : 192.168.0.1

MAC address: 00:18:3E:00:10:5F Error adding N/W interface

The error is a responce to:

 

if (!xemac_add(netif, &ipaddr, &netmask, &gw, mac_ethernet_address, EMAC_BASEADDR)) { xil_printf("Error adding N/W interface\n\r");

Does anyone know what the problem could be, or help me get lwIP running on a Virtex2pro so I can get a small webserver going?

 

Thanks, 

 

Michael

0 Kudos
1 Solution

Accepted Solutions
Visitor s021897
Visitor
10,042 Views
Registered: ‎04-01-2009

Re: How to get light weigth IP (lwIP) running on XUPV2P?

Jump to solution

My post seemed to be premature,

 

Increasing the stack and heap sizes fixed the problem!

0 Kudos
4 Replies
Visitor s021897
Visitor
10,043 Views
Registered: ‎04-01-2009

Re: How to get light weigth IP (lwIP) running on XUPV2P?

Jump to solution

My post seemed to be premature,

 

Increasing the stack and heap sizes fixed the problem!

0 Kudos
Visitor abghassen
Visitor
8,165 Views
Registered: ‎03-19-2009

Re: How to get light weigth IP (lwIP) running on XUPV2P?

Jump to solution
I have many problem in using lwip . can you send me your project to have an idea
Highlighted
Visitor s021897
Visitor
8,063 Views
Registered: ‎04-01-2009

Re: How to get light weigth IP (lwIP) running on XUPV2P?

Jump to solution

Here's my project including echo and webserver software project

0 Kudos
Visitor abghassen
Visitor
7,985 Views
Registered: ‎03-19-2009

Re: How to get light weigth IP (lwIP) running on XUPV2P?

Jump to solution
thanks
0 Kudos