cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
650 Views
Registered: ‎06-27-2019

Can't conect to lwIP Echo Server from VCU118

Jump to solution

Hi All,

I have a microblaze processor, and am using the AXI Ethernet Subsystem IP. I am trying to run the FreeRTOS lwIP Echo Server application, but I can't connect to it with telnet or ping.

 

This is the output to the UART:

 

-----lwIP Socket Mode Echo server Demo Application ------
Start TI PHY autonegotiation
Waiting for Link to be up
Auto negotiation completed for TI PHY
Start PHY autonegotiation
Waiting for PHY to  complete autonegotiation
Autonegotiation complete
Waiting for Link to be up; Polling for SGMII core Reg
auto-negotiated link speed: 1000
Ethernet Link down
Start TI PHY autonegotiation
Waiting for Link to be up
Auto negotiation completed for TI PHY
Start PHY autonegotiation
Waiting for PHY to  complete autonegotiation
Autonegotiation complete
Waiting for Link to be up; Polling for SGMII core Reg
auto-negotiated link speed: 1000
Ethernet Link up
ERROR: DHCP request timed out
Configuring default IP of 192.168.1.10
Board IP: 192.168.1.10
Netmask : 255.255.255.0
Gateway : 192.168.1.1

              Server   Port Connect With..
-------------------- ------ --------------------
         echo server      7 $ telnet <board_ip> 7

The FPGA is connected to the LAN port of a computer, and the IPv4 setup for the computer is as follows:

IPv4 Address: 192.168.1.11

Netmask: 255.255.255.0

 

For whatever reason, the computer cannot ping the FPGA or connect via telnet. Any advice is appreciated.

 

0 Kudos
1 Solution

Accepted Solutions
Visitor
Visitor
579 Views
Registered: ‎06-27-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

I fixed the issue by grabbing the latest version of the lwIP library/netif code from GitHub. Everything works now, including autonegotiation.

 

https://github.com/Xilinx/embeddedsw/tree/master/ThirdParty/sw_services/lwip202/src/contrib/ports/xilinx/netif

View solution in original post

0 Kudos
7 Replies
Highlighted
Xilinx Employee
Xilinx Employee
620 Views
Registered: ‎10-30-2017

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

Hi @bpatterson ,

 

Please check with the 1000Mbps /100 Mbps fixed speed instead of autonegotiation. Go to LWIP BSP settings and change the link speed to either 1000 Mbps or 100 mpbs and then check.

 

Best Regards,

Srikanth

0 Kudos
Highlighted
Visitor
Visitor
610 Views
Registered: ‎06-27-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

Hi @savula ,

Thanks for your quick response. 

I tried changing to both 1000 Mb/s and 100 Mb/s and now it keeps saying Ethernet Link Down, and then it will be up momentarily, and then go back down again. Also, it looks like it keeps sending ARP requests to my computer, but the sender MAC doesn't recognize match the MAC address on the board sticker (which is what I set the MAC to in the code).

0 Kudos
Highlighted
Visitor
Visitor
600 Views
Registered: ‎06-27-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

It's now telling me that the PHY is not Marvell or TI, even though I know the PHY on the VCU118 is a TI chip. 

0 Kudos
Visitor
Visitor
580 Views
Registered: ‎06-27-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

I fixed the issue by grabbing the latest version of the lwIP library/netif code from GitHub. Everything works now, including autonegotiation.

 

https://github.com/Xilinx/embeddedsw/tree/master/ThirdParty/sw_services/lwip202/src/contrib/ports/xilinx/netif

View solution in original post

0 Kudos
Highlighted
Newbie
Newbie
536 Views
Registered: ‎07-17-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

So is the solution the same for the VC707?  Download software from a 3rd party?

I've seen a lot of posts for this same problem for a few years and no solution from Xilinx.  Is this Xilinx's recommended solution? I didn't see a reply from them?

0 Kudos
Highlighted
Visitor
Visitor
526 Views
Registered: ‎06-27-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

I don't know if this is Xilinx's recommended solution (I don't work for them), but I know that I spent a good week and a half trying to figure out the issue, and I haven't had any issues with LwIP since. 

0 Kudos
Highlighted
Contributor
Contributor
186 Views
Registered: ‎12-04-2019

Re: Can't conect to lwIP Echo Server from VCU118

Jump to solution

Was wondering if Xilinx has any recomendations on this. The LWIP is still having problems with vivis 2019.2

0 Kudos