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++
12600 Discussions

problem with the stand alone LWIP

Altera_Forum
Honored Contributor II
1,652 Views

Hello all,  

 

I downloaded the stand alone Lwip from the following link: 

 

http://forum.niosforum.com/forum/index.php?showtopic=949 (http://forum.niosforum.com/forum/index.php?showtopic=949

 

and tried it in my NiosII IDE 6.0 environment. When I create a new project out of its template, I was alerted that the template is incompatible for the 6.0 version IDE. 

 

When I tried to build the project, many errors appeared and claiming that the following three files are missing:  

# include "lwip/debug.h"# include "lwip/stats.h"# include "lwip/tcp.h" 

 

I searched the entire project folder and found these three files in the folder of 

/lwip_web_server_0/lwip-0.7.1/src/include/lwip/ 

 

I tried to copy the files into the "apps" folder but this does not help. 

 

Since I cannot post this question on the above link nor can I contact the author directly, I post it here, hoping somebody who have used this stand alone lwip stack could give me some suggestion. 

 

Thank you!! 

 

Mason
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
320 Views

I've got the same problem as you.... 

Is there anybody who test lwip on a nios kit higher than version 1.1 ??? 

 

thenk to help...
0 Kudos
Altera_Forum
Honored Contributor II
320 Views

I have meet same.but at at 5.0 or 5.1 can past this!! 

I think it can not support 6.0.
0 Kudos
Altera_Forum
Honored Contributor II
320 Views

 

--- Quote Start ---  

originally posted by wwycoolboy@Sep 4 2006, 09:07 AM 

i have meet same.but at at 5.0 or 5.1 can past this!! 

i think it can not support 6.0. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=18057) 

--- quote end ---  

 

--- Quote End ---  

 

 

Standalone LWIP works just fine with 6.0, I just downloaded and used it last week. Not sure what&#39;s causing your errors...the steps I took were: 

 

1) Copy the LWIP web server project to the Nios project directory. 

2) Replaced the LAN91C111&#39;s HAL folder with the one in the zip. 

3) Created a new standalone LWIP web server project. 

4) Added the four build paths as described in the readme file.
0 Kudos
Altera_Forum
Honored Contributor II
320 Views

TO_BE_DONE

0 Kudos
Altera_Forum
Honored Contributor II
320 Views

Hi All, 

Lwip standalone version can run in Nios2 IDE6.0. following is my stage for reference. 

 

1. unzip lwip-v1.1.zip 

2. copy sopc_builder/components/altera_avalon_lan91c111 to kits/nios2_60/components 

3. use setup.exe to install package into kits/nios2_60/components 

4. move kits/nios2_60/components/altera_avalon_lan91c111 to sopc_builder/components 

5. Use IDE to create a blank application project and move all files from lwip_web_server folder to the blank application project 

6. remove .cdtbuild and added the four build paths as described in the readme file from c/c++ build of application project. 

7. then, compile the project. 

8. IDE will respond a lot of error as following in system library.  

 

Regards
0 Kudos
Altera_Forum
Honored Contributor II
320 Views

Hi everyone! 

 

Well, I&#39;ve tried to get it work but I get no results. 

Please, read this topic. 

 

http://forum.niosforum.com/forum/index.php...oens&#39;t+work (http://forum.niosforum.com/forum/index.php?showtopic=3972&hl=doens&#39;t+work

 

Thanks, 

 

Nosima
0 Kudos
Reply