Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Hi, I'm not able to get the Altera's Ethernet Example Design to work on the Cyclone III Dev. Board. I used the "Using the NicheStack TCP/IP Stack - Nios II Edition Tutorial".
PHY INFO: 0x12 141 cc2
PHY INFO: Issuing PHY Reset
PHY INFO: waiting on PHY link...
PHY INFO: PHY link detected, allowing network to start.
SSS INFO: Connecting...
InterNiche Portable TCP/IP, v3.1
Copyright 1996-2008 by InterNiche Technologies. All rights reserved.
prep_tse_mac 0
Your Ethernet MAC address is 00:07:ed:08:xx:xx
prepped 1 interface, initializing...
INFO : TSE MAC 0 found at address 0x0800a000
INFO : PHY Marvell 88E1111 found at PHY address 0x12 of MAC Group
INFO : PHY - Automatically mapped to tse_mac_device
INFO : PHY - Restart Auto-Negotiation, checking PHY link...
INFO : PHY - Auto-Negotiation PASSED
INFO : PHY - Checking link...
INFO : PHY - Link established
INFO : PHY - Speed = 1000, Duplex = Full
OK, x=48, CMD_CONFIG=0x00000000
MAC post-initialization: CMD_CONFIG=0x0400020b
RX descriptor chain desc (1 depth) created
mctest init called
IP address of et1 : 134.130.xxx.xxx
Created "Inet main" task (Prio: 2)
Created "clock tick" task (Prio: 3)
DHCP timed out, going back to default IP address(es)
Nios II Simple Socket Server starting up.
Created "monitor_phy" task (Prio: 9)
Created "Nios II Simple Socket Server" task (Prio: 10)
Nios II Simple Socket Server listening on port 30
The DHCP isn't working, I cannot ping the board and telnet isn't working. In a next step I set the IP to a static one -> the same effect. I got the same effect for the example templates in Nios2-Eclipse. I checked the same design with the NEEK board and it runs well (naturally the .sof for the NEEK) with the original flash-file (the application selector) and the niosii_ethernet_standard_3c25.sof overloading. Using another flash-content, it also doesn't work like the 3C120. Any idea? Best Regards Mark --- Quote End --- seeing your output it seems that u r hardware is not taking ip address. go to the simple_socket_server.h file and give your IP address + if you don't have DHCP server, through network_utilities.c file disable it (*use_dhcp = 0)