Nios® V Embedded Processor Design Handbook

ID 726952
Date 10/31/2022
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.6.1. Operating the MicroC/TCP-IP IPerf

To display the µC/TCP-IP IPerf application messages, the example design utilizes the JTAG UART Intel FPGA IP. You can begin the display message by using the following command:
juart-terminal 

The JTAG UART terminal displays the booting message logs, followed by the µC/TCP-IP setup logs from the µC/TCP-IP IPerf example design.

Within the µC/TCP-IP setup logs, there is a message stating the current IP address adopted by the system (as configured in main.c source code). If DHCP is enabled, the DHCP server-supplied IP address displays the message that indicates the DHCP client for the Ethernet interface acquires a DHCP IP address.

The message "TEST ID : <test number>" is displayed along with its IP address and other information, when the µC/TCP-IP IPerf server is initialized and ready for connection.

After the iPerf server is ready, you can start an iPerf client on your host computer to interact with the iPerf server. To start the iPerf client, follow these steps:

  1. From your operating system, open a command shell or a terminal.
    Note: On Windows, you can also use Run on the Start menu.
  2. Type the following command, specifying either the static IP address or the DHCP server-provided IP address:
    iperf -c <IP Address>

If the connection to the development board is successful, the iPerf test result displays in both the iPerf server and client.

In the following examples, the configured IP address for the iPerf server is 192.168.1.45 at port 5001.

Figure 89. iPerf Server on Intel FPGA device
Figure 90. iPerf Client on Host Computer