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 through running 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 "References" section of this guide.
- This guide demonstrates how to perform an iPerf networking test between your Windows® PC (acting as iPerf TCP Client) and the SAMA7D65 Curiosity Board (acting as iPerf TCP Server). The board and PC must be connected to your local network infrastructure with a Dynamic Host Configuration Protocol (DHCP) server automatically assigning an IP address to each. Direct peer-to-peer connection is not possible in the configuration of this demo.
MPLAB® Harmony Demo Setup
Download the iperf.zip from the repository, GitHub-EA89C15A.
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-EA89C15A.
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 on 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.
Open Windows Device Manager to find out which COM port to use (COM10 will be used in this example).
Open Putty > Category > Connection > Serial and configure the parameters as shown in the accompanying image (adapt the COM port to your local setup).
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 should 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.
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 IP address instead of the one given in the screenshot when you run the iPerf test.
Start the TCP Server on the SAMA7D65 Curiosity Board by running the following command:
The TCP Server terminal should show the iPerf application started executing and listening to the port:
Start PC Command Line
On the host computer, run a command line application to execute the iPerf Client application.
Open Command Prompt.
In the folder where iPerf was downloaded in Step 1, 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
- SAMA7D65 Curiosity Board
- Harmony 3 iPerf Demo Source Code (MPLAB X IDE Project)
- 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 why the terminal does not show anything:
|
Running 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. |
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. |