6.1.7.4 Running the Application
- Open the project and launch Harmony3 configurator.
- Configure Home-AP credentials for STA mode, using the WINCS02 Wi-Fi configuration options. For more details about the Wi-Fi settings configuration, See Figure 3-64.
- Save configurations and generate code via MHC.
- Build and program the generated code into the hardware using its IDE.
- Open the Terminal application
\(Ex.:Tera term\) on the computer.
Connect to the "USB-FTDI" COM port and configure the serial settings as follows:
- Baud : 115200
- Data : 8 Bits
- Parity : None
- Stop : 1 Bit
- Flow Control : None
- When the board is booting up, it connect to the targ Wi-Fi AP and the terminal (SAM9x75 console) show below log:
- Connect PC to the same network (same Wi-Fi AP), download iperf tool for the PC.
- Run iPerf tool on both the SAM9x75
Curisoity Development Board and PC to measure the network performance.
The following table show the command used on the SAM9x75 Curiosity Board and PC
Test Description Command on SAM9x75 Command on PC TCP Uplink Transfer packets from SAM9x75 to PC iperf client tcp <IP_ADDRESS> <PORT_NUM> <NUM_OF_PACKET> iperf -s -i 1 TCP Downlink Transfer packets from PC to SAM9x75 iperf server tcp <PORT_NUM> iperf -c <IP_ADDRESS> -i 1 UDP Uplink Transfer Packet from SAM9x75 to PC iperf client udp <IP_ADDRESS> <PORT_NUM> <PACKET_LEN> <NUM_OF_PACKET> <BPS_RATE> iperf -s -u -i 1 UDP Downlink Transfer packets from PC to SAM9x75 iperf server udp <PORT_NUM> iperf -u -c <IP_ADDRESS> -i 1 - For example, to perform TCP Uplink test, run command "iperf -s -i 1 -p 6666" on PC command prompt
- On terminal (SAM9x75 console),
run command "iperf client tcp <IP_ADDRESS> 6666 10000"
- Another example, to perform UDP Uplink test, run command "iperf -s -u -i 1 -p 6666" on PC command prompt
- On terminal (SAM9x75 console), run
command "iperf client udp <IP_ADDRESS> 6666 1452 10000 10000000"
The following picture show the result