Altera_Forum
Honored Contributor
13 years agoTriple speed ethernet on Stratix III 3SL150F1152
Hello,
I want to use Triple speed ethernet on Stratix III 3SL150F1152. When using the NIOS II standard design, my simple socket server example get runtime errors. The log information is as follows:
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster ", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
=============== Software License Reminder ================
This software project uses an unlicensed version of the NicheStack TCP/IP
Network Stack - Nios II Edition. If you want to ship resulting object
code in your product, you must purchase a license for this software from
Altera. For information go to: "http://www.altera.com/nichestack"
=====================================================
InterNiche Portable TCP/IP, v3.1
Copyright 1996-2007 by InterNiche Technologies. All rights reserved.
prep_tse_mac 0
Can't read the MAC address from your board (this probably means
that your flash was erased). We will assign you a MAC address and
static network settings
Please enter your 9-digit serial number. This is printed on a
label under your Nios dev. board. The first 3 digits of the
label are ASJ and the serial number follows this.
-->Created "Inet main" task (Prio: 2)
Created "clock tick" task (Prio: 3)
123456789
123456789
Your Ethernet MAC address is 00:07:ed:ff:cd:15
prepped 1 interface, initializing...
SGDMA desc memory cleared
INFO : TSE MAC 0 found at address 0x00001400
ERROR : MAC Group - No PHY connected!
ERROR : PHY - No PHY connected! Gigabit = 0, Duplex = Full
OK, x=349, CMD_CONFIG=0x00000000
MAC post-initialization: CMD_CONFIG=0x04000203
RX descriptor chain desc (1 depth) created
IP address of et1 : 0.0.0.0
After that, I read sth from this threadhttp://www.alteraforum.com/forum/showthread.php?t=5886[/url], and the the files in --- Quote Start --- stratixiii_3sl150_dev_tse_sgmii_v1.zip (http://www.alteraforum.com/forum/attachment.php?attachmentid=1233&d=1246537769) --- Quote End --- . This time I got this:
nios2-terminal: connected to hardware target using JTAG UART on cable
nios2-terminal: "USB-Blaster ", device 1, instance 0
nios2-terminal: (Use the IDE stop button or Ctrl-C to terminate)
=============== Software License Reminder ================
This software project uses an unlicensed version of the NicheStack TCP/IP
Network Stack - Nios II Edition. If you want to ship resulting object
code in your product, you must purchase a license for this software from
Altera. For information go to: "http://www.altera.com/nichestack"
=====================================================
InterNiche Portable TCP/IP, v3.1
Copyright 1996-2007 by InterNiche Technologies. All rights reserved.
prep_tse_mac 0
Can't read the MAC address from your board (this probably means
that your flash was erased). We will assign you a MAC address and
static network settings
Please enter your 9-digit serial number. This is printed on a
label under your Nios dev. board. The first 3 digits of the
label are ASJ and the serial number follows this.
-->Created "Inet main" task (Prio: 2)
Created "clock tick" task (Prio: 3)
123456789
123456789
Your Ethernet MAC address is ff:ff:ff:ff:ff:ff
prepped 1 interface, initializing...
SGDMA desc memory cleared
INFO : TSE MAC 0 found at address 0x00003000
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 : Applying additional PHY configuration of Marvell 88E1111
INFO : PCS - Configuring PCS operating mode
INFO : PCS - PCS SGMII mode enabled
INFO : PHY - Checking link...
INFO : PHY - Link established
INFO : PHY - Gigabit = 1, Duplex = Full
OK, x=0, CMD_CONFIG=0x00000000
MAC post-initialization: CMD_CONFIG=0x0400020b
RX descriptor chain desc (1 depth) created
IP address of et1 : 0.0.0.0
DHCP timed out, going back to default IP address(es)
Simple Socket Server starting up
Simple Socket Server listening on port 30
Created "simple socket server" task (Prio: 4)