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

Web server example on Cyclone III dev board

Altera_Forum
Honored Contributor II
1,300 Views

Hello, 

 

I'm trying to run the web server example on the Cyclone III dev board (where the FPGA is connected to a Marvell PHY).  

 

Some things work, but some don't: 

  1. I see on "Nios console" that the software stack correctly initializes TSE, and that TSE connects via RGMII to the PHY and auto-negotiation with the PC succeeds. 

  2. In Wireshark, I see the board sending DHCP requests on its ethernet channel. This causes the board's IP->MAC mapping to correctly enter the PC's arp table. 

  3. However, pinging the board or trying to open a browser on its IP address results in nothing.
Further, doing some debugging on the web server example, it appears that the LED and LCD tasks don't run at all - the CPU gets forever stuck in the web serving task. It is my understanding from the code that the SW should blink the LEDs and write something to the LCD, but this doesn't happen. 

 

I did not modify the web server example in any way (except adding the required define and structure to make it work correctly with TSE in RGMII, which seems to be OK). 

 

Has anyone experienced such problems, or could guess what is wrong?
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
480 Views

are you using the board DBM3c40 from devboards gmbh ??

0 Kudos
Altera_Forum
Honored Contributor II
480 Views

hi eliben, 

 

i also want to run web sever design example on cyclone iii dev board for my project. i am facing prob at the initial stage itself i.e., as soon as i launch sopc builder its not asking for create new project instead its showing opening project and there its showing errors related to sd_card_controller. if i disable sd_card_controller then there ll not be any errors and it generates. 

but later when i execute there it is showing errors like port sd_ram_controller doesn't exit. 

 

what is the solution to this? 

 

please help me in this and also if you have referred any tutorials related to how to rum design examples on cyclone iii dev board please suggest me. 

 

 

thank you.
0 Kudos
Altera_Forum
Honored Contributor II
480 Views

Hi Eliben, 

 

What version of Nios II EDS software are you using? Are you creating Web Server from Project Template? 

 

If I'm not mistaken, starting from Nios II EDS v9.1 or v10.0, there are two versions of web server from Project Template. One is Web Server and another one is Web Server (RGMII). The latter will be used. You might probably encounter such error if you used Web Server without RGMII. 

 

To Suma, 

You need license sd card controller. It is a custom component provided by Altera's 3rd party i.e. SLS. Please contact them for requesting license:- 

http://www.slscorp.com/pages/ip_sdhostcontroller.php 

 

However, you may also want to disable this component since web server doesn't require it. In top level, you need to comment out all the sd card controller related codes. 

 

Regards, 

Caridee
0 Kudos
Reply