SAMA7D65 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 in running the demonstration application that comes with the kit.
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
Download the iperf.zip from the repository, GitHub-EV63J76A.
Unzip the downloaded iperf.zip file into any directory of your choice. Note the location where the files are unzipped. You will execute the iperf.exe from this location using a terminal to run the TCP Client.
Download the harmony.bin and boot.bin from the repository, GitHub-EV63J76A.
Copy the downloaded harmony.bin and boot.bin to the SD card.
Connect the components as shown in the accompanying image:
Ethernet cable to J14 connector.
SD card inserted in the SD Boot J10 slot (bottom side of the board).
Serial-USB dongle to UART DEBUG J35 header.
USB-A to USB-C cable to J3 USB-C port for power.
Set Up and Start the SAMA7D65 Curiosity Board Serial Terminal
Set up the SAMA7D65 Curiosity Board serial terminal on the 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
Open PuTTY.
On the Category > Connection select Serial, then set the configuration.
Press Open.
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 will show a prompt. This is the TCP Server terminal on the PC.
Verify that the iPerf MPLAB Harmony application is running and displaying on the TCP Server terminal.
Press the Enter key to show the prompt.
The IP address is assigned to the board. The screenshot shows 10.14.63.72.
Your board will show a different IP address. Use your board's IP address instead of the one given in the screenshot when you run the iPerf test.
Start the PC Command Line
On the TCP Server Terminal opened in Step 6, start the TCP Server on the SAMA7D65 Curiosity Board by running the following command:
The TCP Server terminal should show that the iPerf application started executing and listening to the port:
On the host computer run a command line application to execute the iPerf application.
Open Command Prompt.
Go to the TCP Client terminal that was opened in Step 8.
Start the TCP Client on the PC by running the following command:
This will test the performance of the network transfers between the PC and the SAMA7D65 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
Troubleshooting
Common
The serial terminal is not showing anything. | There are multiple possible reasons why the terminal does not show anything:
|
Running the iperf command in the host terminal results in a "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. |
The terminal shows a RomBOOT message. |
|
MPLAB Harmony Demo
Running the iperf command in the host terminal results in a "Connection refused" error. | Verify the IP address used when sending the iperf command matches the target IP address. |