Auto Negotiation FAILED : Nios II Simple Socket server
I have been trying to implement NIOS II simple socket server for Cyclone V GT from the reference design from the link: https://fpgacloud.intel.com/devstore/platform/16.0.0/Standard/nios-ii-simple-socket-server-ethernet-example-for-cvgt/
We are trying to use static IP instead of DHCP client where the ethernet port of FPGA is connected to the CPU port along with the JTAG. We are getting the following display on the NIOS console:
*****************************************************************************
InterNiche Portable TCP/IP, v3.1
Copyright 1996-2008 by InterNiche Technologies. All rights reserved.
altera_eth_tse_init 0
prep_tse_mac 0
Your Ethernet MAC address is 00:07:ed:ff:e2:d0
Static IP Address is 192.168.1.234
prepped 1 interface, initializing...
tse_mac_init 0
speed : 1
duplex : 1
result : 5
ALT_TSE_E_INVALID_SPEED by LG : 65536
List of PHY profiles supported (Total profiles = 5)...
Profile No. 0 :
PHY Name : Marvell 88E1111
PHY OUI : 0x005043
PHY Model Num. : 0x0c
PHY Rev. Num. : 0x02
Status Register : 0x11
Speed Bit : 14
Duplex Bit : 13
Link Bit : 10
Profile No. 1 :
PHY Name : Marvell Quad PHY 88E1145
PHY OUI : 0x005043
PHY Model Num. : 0x0d
PHY Rev. Num. : 0x02
Status Register : 0x11
Speed Bit : 14
Duplex Bit : 13
Link Bit : 10
Profile No. 2 :
PHY Name : National DP83865
PHY OUI : 0x080017
PHY Model Num. : 0x07
PHY Rev. Num. : 0x0a
Status Register : 0x11
Speed Bit : 3
Duplex Bit : 1
Link Bit : 2
Profile No. 3 :
PHY Name : National DP83848C
PHY OUI : 0x080017
PHY Model Num. : 0x09
PHY Rev. Num. : 0x00
Status Register : 0x00
Speed Bit : 0
Duplex Bit : 0
Link Bit : 0
Profile No. 4 :
PHY Name : Intel PEF7071
PHY OUI : 0x355969
PHY Model Num. : 0x00
PHY Rev. Num. : 0x01
Status Register : 0x00
Speed Bit : 0
Duplex Bit : 0
Link Bit : 0
INFO : TSE MAC 0 found at address 0x08000800
INFO : Multi Channel = No
INFO : MDIO Shared = No
INFO : MAC Type = 10/100/1000 Ethernet MAC
INFO : MAC Address = 0x08000800
INFO : MAC Device = tse_mac_device[0]
INFO : I am here
mac_group_count : 1
INFO : PHY Marvell 88E1111 found at PHY address 0x00 of MAC Group[0]
INFO : PHY OUI = 0x005043
INFO : PHY Model Number = 0x0c
INFO : PHY Revision Number = 0x2
INFO : PHY[0.0] - Automatically mapped to tse_mac_device[0]
INFO : PHY[0.0] - Advertisement of 1000 Base-T Full Duplex set to 1
Created "Inet main" task (Prio: 2)
INFO : PHY[0.0] - Advertisement of 1000 Base-T Half Duplex set to 1
INFO : PHY[0.0] - Advertisement of 100 Base-T4 set to 0
INFO : PHY[0.0] - Advertisement of 100 Base-TX Full Duplex set to 0
INFO : PHY[0.0] - Advertisement of 100 Base-TX Half Duplex set to 0
INFO : PHY[0.0] - Advertisement of 10 Base-TX Full Duplex set to 0
INFO : PHY[0.0] - Advertisement of 10 Base-TX Half Duplex set to 0
INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...
INFO : PHY[0.0] - Auto-Negotiation PASSED
INFO : Applying additional PHY configuration of Marvell 88E1111
INFO : Applying additional user PHY configuration
MARVELL : Mode changed to RGMII/Modified MII to Copper mode
MARVELL : Enable RGMII Timing Control
MARVELL : PHY reset
INFO : PHY[0.0] - Restart Auto-Negotiation, checking PHY link...
WARNING : PHY[0.0] - Auto-Negotiation FAILED
INFO : PHY[0.0] - Capability of PHY :
INFO : 1000 Base-X Full Duplex = 0
INFO : 1000 Base-X Half Duplex = 0
INFO : 1000 Base-T Full Duplex = 1
INFO : 1000 Base-T Half Duplex = 1
INFO : 100 Base-T4 = 0
INFO : 100 Base-X Full Duplex = 1
INFO : 100 Base-X Half Duplex = 1
INFO : 100 Base-T2 Full Duplex = 0
INFO : 100 Base-T2 Half Duplex = 0
INFO : 10 Base-T Full Duplex = 1
INFO : 10 Base-T Half Duplex = 1
INFO : PHY[0.0] - Link Partner Capability :
INFO : 1000 Base-T Full Duplex = 0
INFO : 1000 Base-T Half Duplex = 0
INFO : 100 Base-T4 = 0
INFO : 100 Base-TX Full Duplex = 1
INFO : 100 Base-TX Half Duplex = 1
INFO : 10 Base-TX Full Duplex = 1
INFO : 10 Base-TX Half Duplex = 1
INFO : PHY[0.0] - Checking link...
INFO : PHY[0.0] - Link established
*******************************************************************************
The second Auto Negotiation is failing. We have tried to vary the speeds and do all sorts of experiments but in vain. Kindly Help!!