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

Altera_Forum
Honored Contributor II
1,071 Views

Hello, 

 

I have been working through the light weight IP tutorial. When starting the telnet operation there is no connection to the target board established.  

 

target platform: CycloneII 2c35 development kit NIOSII 

IP: PC: 194.95.194.123 

Dev-Board: 194.95.194.122 - This IP is being displayed after doing the run as operation 

Subnetmask: 255.255.0.0 for both systems 

Connection is done via cross over ethernet cable. cable was checked with an other computer. 

 

settings: full featured for cyclone 2c35 

 

Pinging the IP address of the target system (194.95.194.122) leads to a time out. 

The orange LED on the ethernet socket of the board flashes a few times.  

The LED on the PC's ethernet card also flashes up. The traffic monitor icon for the pc turns light blue for short, the remote monitor icon doesn't come up , when trying to telnet on recommended port 30. 

 

I have already increased the sizes for the buffers a little in the .h and c.-files - no change in the behaviour of the system - still no connection. 

What is the reason for this? 

 

Thank's in advance for your help. 

andy
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
294 Views

Check to be sure that DHCP is not being used: LWIP_DHCP = 0. I seem to recall that the code doesn't properly fall through to setting a static IP if DHCP fails. 

 

Best of luck. It does work! 

 

- slacker
0 Kudos
Altera_Forum
Honored Contributor II
294 Views

@slacker: 

After your recommendation I put  

# define LWIP_DHCP = 0  

 

in the .c files, where LWIP_DHCP is checked. 

 

works fine. 

 

As I am not going to use the DHCP function I 'll try to take that part out. 

 

 

andy
0 Kudos
Reply