SAMA7D65 Early Access Curiosity Board - Getting Started Guide for MPLAB® Harmony V3
Introduction
Thank you for taking the time to evaluate the SAMA7D65 curiosity development board. This instruction will guide you to run the demonstration application that comes with the board. For a deeper dive into the features and capability of the board, refer to the links provided in the "Additional Information" section of this guide.
This Getting Started Guide will allow you to perform an Iperf networking test between your PC (acting as TCP Client) and the SAMA7D65 Curiosity Board (acting as TCP Server), through your local network infrastructure.
MPLAB® Harmony Demo Setup
Connect the components as shown in the accompanying image:
Set Up and Start SAMA7D65 Curiosity Board Serial Terminal
Set up SAMA7D65 Curiosity Board Serial Terminal on Host Computer
On the host computer, open a Serial terminal with the following settings:
- Baud Rate: 115200
- Data: 8-bit
- Parity: None
- Stop: 1-bit
- Flow Control: None
On the Category > Connection select Serial then set the configuration.
Press the RESET (SW4) button on the SAMA7D65 Curiosity Board to force a reset.
When the system is ready, the Serial Terminal that was set up in Step 6 should show a prompt. This is the TCP Server terminal on the PC.
Note the IP Address assigned to the board. The screen shot shows 10.14.63.72.
Your board will show a different IP Address. Use your board's that IP Address instead of the one given in the screenshot when you run the iperf test.
Start PC Command Line
On the host computer run a command line application to execute the iperf application.
Open Command Prompt.
On the TCP Server Terminal opened in Step 6:
Start the TCP Server on the curiosity board by running the following command.
The TCP Server terminal should show the iperf application started executing and listening to the port:
Go to the TCP Client terminal that was opened in Step 8.
Start the TCP Client on the PC by running the following command. Note the IP Address used should match the IP Address recorded in Step 7.3.
This will test the performance of the network transfers between the PC and the Curiosity Board.
The TCP Client terminal should show the results of the test:
Go to the TCP Server terminal and confirm the test executed.
The TCP Server terminal should show the results of the test:
References
- SAMA7D65 Curiosity Board
- Full Demo Documentation of iperf Application for MPLAB Harmony
- iperf Speed Test
Troubleshooting
Common
Serial Terminal is not showing anything | There are multiple possible reasons when the terminal does not show anything:
|
Running iperf command in the host terminal results in Connection refused error. [ 1] tcp connect to 10.14.63.70 port 5001 failed (Connection refused) on 2024-05-31 11:43:21 (US Mountain Standard Time) | Verify the IP address used when sending the iperf command matches the target IP address. |
Terminal shows RomBoot message. |
|
MPLAB Harmony Demo
Running iperf command in the host terminal results Connection refused error. | Verify the IP address used when sending the iperf command matches the target IP address. |