• 0
joniengr081

LwIP example ZYNQ server on ZYBO Z7-20

Question

Posted (edited)

I am trying to run the ZYNQ server LwIP example on ZYBO Z7-20. The board has Realtek RTL8211E-VL PHY. The LwIP example in Vivado SKD 2017.3 is designed for TI or Micrel PHY. I get warning (and also DHCP timeout) in the UART terminal that the PHY on target board is not TI or Micrel PHY.

-----lwIP TCP echo server ------

TCP packets sent to port 6001 will be echoed back

WARNING: Not a Marvell or TI Ethernet PHY. Please verify the initialization sequence
link speed for phy address 1: 1000
DHCP Timeout
Configuring default IP of 192.168.1.10
Board IP: 192.168.1.10

Netmask : 255.255.255.0

Gateway : 192.168.1.1

TCP echo server started @ port 7

 

I have looked at the Digilent's tutorial "Getting Started with Zynq Servers" which was implemented on Xilinx Vivado 2015.X. Probably the LwIP example in Vivado 2015 is compatible with ZYBO's Realtek RTL8211E-VL.

Do I need to change any setting in LwIP example in Vivado 2017.3 to run on ZYBO Z7-20 ?

 

Edited by joniengr081

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Hi @joniengr081,

Here is a verified and completed LWiP Zybo-Z7-20 Vivado 2017.3.1 project. I followed the getting started with ZYNQ servers that is linked above as well as here. I have attached a few screen shots showing what I did. 

1) Please open the linked Vivado project.

2) launch sdk. Once SDK is open program the Zybo-Z7-20.

3) Then alter your internet settings to facilitate the ethernet connection to your PC as described in the tutorial.

4) Then right click on the echo application and select run as-> launch on hardware(system debugger).

5) Next open tera term with TCP/IP selected then make sure that the host is set to 192.168.1.10 then select Telnet and change the TCP port # to 7 and select ok.

Does tera term show its connected?

6) Then click setting and terminal and change the tx to cr+LF and select local echo.

7) Now type stuff on the terminal and then press enter.

Does it echo back the typed text?

Best regards,

Jon

image.png

image.png

image.png

image.png

image.png

image.png

image.png

Share this post


Link to post
Share on other sites
  • 0

Hi @joniengr081,

The warning should be ignored. The LWIP example looks for those specific PHY and returns a warning if they are not the PHY on the hardware. It does not stop the example from working. Here is an older tutorial for the zybo getting started with zynq servers that illustrates this as well.

best regards,

Jon

Share this post


Link to post
Share on other sites
  • 0

Yes I have already looked into this tutorial and I have followed until step 11 which is a message on UART, posted in the first post.  

Then I have issue with step 12. I have assigned the IPv4 address (192.168.1.11) in the laptop and have connected the Ethernet cable. I am not able to ping the board (192.168.1.10) and not able to connect to Telnet which is demonstrated in step 12 of tutorial. 

Share this post


Link to post
Share on other sites
  • 0

Hi @joniengr081,

Please attach screen shots of your Vivado Block design, SDK. 

What serial terminal emulator are you using?

Have you installed the digilent board files?  The board files correctly configures the zynq processor.

Are you selecting the Zybo-Z7-20 when you are creating the project?

best regards,

Jon

Share this post


Link to post
Share on other sites
  • 0

Yes I have added the board files of Zybo-Z7-20 and have implemented several projects on it including AXI DMA with AXI Stream interface. The projects works with JTAG programing and also with BOOT.BIN in SD card.   

As mentioned above that I have followed the steps in the Digilent's tutorial "Getting Started with Zynq Servers" which was implemented on Xilinx Vivado 2015.X.

I am implementing the LwIP project using Vivado 2017.3. I am using Tera Term for connecting to UART. I get the warning message on UART that the PHY is not Marvel or TI. This is the only difference which I have until step 11 of Digilent's tutorial. The issue is with last step 12.

Repeat: I have assigned the IPv4 address (192.168.1.11) in the laptop and have connected the Ethernet cable. I am not able to ping the board (192.168.1.10) and not able to connect to Telnet which is demonstrated in step 12 of tutorial. 

Is it possible to attach file ? I don't find the option to upload the files.  

Share this post


Link to post
Share on other sites
  • 0

Hi @joniengr081,

Please attach screen shots of the UART and the telnet tera term terminals. 

Are you doing anything different from the tutorial such as loading the project from the SD card or QSPI using a BOOT.BIN file?

best regards,

Jon

 

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Hi, 

I am using JTAG to download the program. I am following the steps in tutorial.  The UART serial terminal output you can see in the first post. 

How to attach screen shots ? I don't find option to upload a file.  

Edited by joniengr081

Share this post


Link to post
Share on other sites
  • 0

Hi @joniengr081,

You should be able to attach files now as part of a reply to a thread; you were in a different member account type since you had created an account but had not posted anything within a month or so of creating that account (this is done as an attempt to help prevent any bots from just waiting until their account is "old enough" before attempting to spam).

I apologize for the confusion.

Thanks,
JColvin

Share this post


Link to post
Share on other sites
  • 0
Posted (edited)

Hi, 

Thanks for sharing the project. It works. There is nothing wrong in the tutorial. No need to change anything this the SDK program. The problem was in connecting to Tera Term which is fixed now. I am sorry for this redundant post. Kindly advice if there is any way to delete this post. Thanks for understanding.   

Edited by joniengr081

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now