Running Server example in ZYBO
1)Finding STDIO Connection tab
i) Go to Run Configurations > Double Click Xilinx C/C++ Application (GDB)
ii) A new list "echo debug " will be generated. Open that one. In one of the tab you can find "STDIO Connection"
2)Autonegotiation fails when you run the echo program
This is because Zybo doesn't contain Marvell or TI PHY chip. It contains Realtek RTL8211E-VL.
In order to establish connection, we need to disable autodetect.
Go to BSP Settings>lwip141>temac_adapter_options
set PHY_LINK_SPEED value as CONFIG_LINKSPEED10 or CONFIG_LINKSPEED100 instead of CONFIG_LINKSPEED_AUTODETECT
3) LAN Cable unplugged when you run echo program on Zybo
I observed that this problem occured when I had set PHY_LINK_SPEED value as CONFIG_LINKSPEED10 or CONFIG_LINKSPEED1000 and not when CONFIG_LINKSPEED100. Hence I changed the PHY_LINK_SPEED value as CONFIG_LINKSPEED100.
4)Pinging fails from PC to Zybo / or Request Timeout when connecting through Teraterm
For this open Teraterm serial connection and launch program on hardware . After that, from teraterm open new TCP Connection by File > New connection , TCP....Enter IP of Zybo, Port # 7 . Then it should get connected. Ping should also work now.
i) Go to Run Configurations > Double Click Xilinx C/C++ Application (GDB)
ii) A new list "echo debug " will be generated. Open that one. In one of the tab you can find "STDIO Connection"
2)Autonegotiation fails when you run the echo program
This is because Zybo doesn't contain Marvell or TI PHY chip. It contains Realtek RTL8211E-VL.
In order to establish connection, we need to disable autodetect.
Go to BSP Settings>lwip141>temac_adapter_options
set PHY_LINK_SPEED value as CONFIG_LINKSPEED10 or CONFIG_LINKSPEED100 instead of CONFIG_LINKSPEED_AUTODETECT
3) LAN Cable unplugged when you run echo program on Zybo
I observed that this problem occured when I had set PHY_LINK_SPEED value as CONFIG_LINKSPEED10 or CONFIG_LINKSPEED1000 and not when CONFIG_LINKSPEED100. Hence I changed the PHY_LINK_SPEED value as CONFIG_LINKSPEED100.
4)Pinging fails from PC to Zybo / or Request Timeout when connecting through Teraterm
For this open Teraterm serial connection and launch program on hardware . After that, from teraterm open new TCP Connection by File > New connection , TCP....Enter IP of Zybo, Port # 7 . Then it should get connected. Ping should also work now.
Comments
Post a Comment