Setup the Ethernet Connection between Host and Physical Board - 2023.2 English

Zynq-7000 SoC Embedded Design Tutorial (UG1165)

Document ID
UG1165
Release Date
2024-05-02
Version
2023.2 English

If you are using the QEMU, please skip the following steps.

  1. Prepare for running the Linux application on the ZC702 board. Vitis can download the Linux application to the board, which runs Linux through a network connection. It is important to ensure that the connection between the host machine and the board works well.

    • Make sure the USB UART cable is still connected with the ZC702 board. Turn on your serial console and connect to the UART port.

    • Connect an Ethernet cable between the host and the ZC702 board.

      • It can be a direct connection from the host to the ZC702 board.

      • You can also connect the host and the ZC702 board using a router.

    • Power on the board and let Linux run on ZC702.

    • Set up a networking software environment.

      • If the host and the board are connected directly, run ifconfig eth0 192.168.1.1 to set up an IP address on the board. Go to Control Panel → Network and Internet → Network and Sharing Center, and click Change Adapter Settings. Find your Ethernet adapter, then right-click and select Properties. Double-click Internet Protocol Version 4 (TCP/IPv4), and select Use the following IP address. Input the IP address 192.168.1.2. Click OK.

      • If the host and the board are connected through a router, they should be able to get an IP address from the router. If the Ethernet cable is plugged in after the board boots up, you can get the IP address manually by running the udhcpc eth0 command, which returns the board IP address.

      • Have the host and the zc702 board ping each other to make sure the network is set up correctly.

  2. Set up the Linux agent in the Vitis IDE.

    1. Go to Vitis → Target Connections.

    2. In the Target Connections window, right-click Linux TCF Agent and select New Target.

    3. Enter the IP address of your board. The IP address for QEMU is 127.0.0.1.

    4. Enter the Port number, for QEMU use 1540. Otherwise, leave as default.

    5. Click Test Connection.

      Vitis test connection details

      Vitis test connection details

      Vitis should return a pop-up confirmation for success.

      Vitis test connection success

      Vitis test connection success