This is an old revision of the document!
The CN0506 is a 10 Mbps/100 Mbps/1000 Mbps dual channel, low latency, low power industrial Ethernet PHY evaluation board designed to interface the MAC and PHY through MII, RMII, or RGMII interfaces which can be installed on Field Programmable Gate Array (FPGA) platforms such as ZC706 evaluation board using VITA-57 FPGA mezzanine cards (FMC) to the low pin count (LPC) FMC connector to provide a hardware environment for developing and evaluating designs targeting the Zynq®-7000 XC7Z045-2FFG900C SoC in industrial Ethernet applications.
1. Connect the EVAL-CN0506-FMCZ to the low pin count (LPC) FMC connector on the ZC706 evaluation board.
2. Connect the ZC706 USB-to-UART Bridge with Mini USB Connector (U52, J21) to the host PC using a Mini USB cable.
3. Connect the Ethernet cable in the CN0506 M1 or M2 Ethernet port depending on your preference.
4. Plug the power cord into the 12V power jack 2×6 connector J22.
1. Download the latest Linux Image and flash the file to your 16 GB SD Card. Refer to Kuiper Images for more detailed instruction.
2. In your flashed Linux Image BOOT partition, copy the kernel to the root folder. The kernel will vary depending on the carrier platform. With ZC706, copy the uImage file in the \zynq-common\ folder to the root folder or just outside the folder of the kernel.
3. Copy the boot files to the root folder. The boot files can be found in the \zynq-zed-adv7511-cn0506-mii\ or \zynq-zed-adv7511-cn0506-rgmii\ folder depending on your needs. In this guide, we will copy all the files inside \zynq-zed-adv7511-cn0506-mii\ folder to the root folder.
4. Safely eject the SD Card from your host PC and insert it into your ZC706 SD Card Interface Connector (J30).
5. The hardware and software setup is now done.
1. Make sure you have installed your favorite terminal emulator (in this case, TeraTerm) on your Host PC.
2. Connect the UART USB Cable connection from ZC706 to your Host PC. Your Host PC should have a CP2103 USB to UART Bridge Controller driver installed or up to date. This is important so your PC can communicate with the FPGA board.
3. Connect an Ethernet Cable connection from CN0506 M1 to your Ethernet-capable Host PC. Make sure the Host PC is also connected to the Internet using Wi-Fi or Ethernet.
4. Bridge network connections so we can install necessary tools such as iPerf3 for ZC706 through the Internet. Go to Control Panel > Network and Internet > Network Connections. To create a Network Bridge between your Wi-Fi/Ethernet Internet and CN0506 Ethernet, select the two network connections, right-click, and select “Bridge Connections.”
5. Launch TeraTerm and make a new serial connection with the designated COM port. Click Serial, choose the correct COM port number, then click OK.
6. Change the baud rate from 9600 to 115200. Go to Setup > Serial Port… A dialog box will pop up and then change the Speed to 115200. Click “New setting.”
7. Install iPerf3 on your Linux machine. Enter in the terminal line, then write and enter
apt-get install iperf3
8. The performance test will also require your Host PC to be the iPerf3 server and the carrier is the client. The server should be run first before the client. Install iPerf3 on your Host PC. Go to [https://iperf.fr/iperf-download.php](https://iperf.fr/iperf-download.php) and download the necessary files depending on your Host PC.
9. Open your Host PC's terminal (e.g. Windows PowerShell) and navigate through the iperf3 directory.
10. Get the IP address of the connected Ethernet port of your Host PC using the command: “ipconfig”. Take note of the IP address of the connected Ethernet cable because this will vary from time to time. In this case, we have the IP address 169.254.6.62 of “Ethernet adapter Ethernet” which corresponds to your Host PC's Ethernet port.
11. In your Linux machine UART terminal (TeraTerm), Get the IP address of the connected Ethernet port of CN0506. Use the command “ip addr”. Take note of the IP address of the connected Ethernet cable because this will vary from time to time. In this case, we have the IP address 169.254.7.196 of “eth1” which corresponds to the M1 Ethernet port of CN0506.
12. In your Host PC's terminal. run the iperf3 as the server. In this case of Windows PowerShell, use the command:
.\ iperf3.exe -s B 169.254.6.62
This will run the iperf3 from the PC as the server (-s) and bound to its Ethernet port having the address 169.254.6.62. It is acceptable to keep the server running since this will wait for connections from the client.
13. In your Linux terminal (which we use is TeraTerm), you will need to run the iperf3 client for each Ethernet port so you can verify its performance by using “iperf3 -c <IP address of server> -B <IP address of client>. Enter the following commands:
iperf3 -c 169.254.6.62 -B 169.254.7.196
14. Use the command ”-R“ to reverse the direction of the performance test.
iperf3 -c 169.254.6.62 -B 169.254.7.196 -R
15. We're done with the basic iPerf3 performance test! If you want to go further with the test, this is your time to shine and this is high time for you to get started with your application development.
Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware. Register to receive all these great benefits and more!