Nios® V Embedded Processor Design Handbook

ID 726952
Date 5/13/2024

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

Document Table of Contents

5.7.4. Configuring iPerf Server Auto-Initialization

Note: This configuration is only available for µC/TCP-IP IPerf Example Design.

The example design is capable of initializing the iPerf server using pre-determined arguments upon running the Nios V applications. This is developed for ease of use purpose, and it can be disabled if other iPerf utility is required.

To disable this feature, you need to provide the 0 argument to the App_IPerf_TaskTerminal(), and the iPerf terminal begins acquiring the custom iperf commands after iPerf is successfully initialized. The iperf command must end with an ENTER key to complete the acquisition process.

Figure 102. iPerf Terminal

iPerf server auto-initialization feature in main.c

//To enable auto-initialization
App_IPerf_TaskTerminal( 1 );

//To disable auto-initialization
App_IPerf_TaskTerminal( 0 );