Mount the AVR128DB48 Curiosity Nano host board and the RNWF02 Add On Board on Curiosity Nano base board
at respective headers. For more details about the boards placement in the
Curiosity Nano base, see Figure 6-1.
Connect the debugger USB port on
the AVR128DB48 Curiosity Nano board to computer
using a micro USB cable
Open the project and launch MCC
with Melody Content Manager Tool
Configure Home-AP credentials for STA mode, using the Wi-Fi settings
configuration. For more details about the Wi-Fi settings configuration, See
Figure 3-16
Generate the code as illustrated
below
Build and program the code to the
hardware using MPLAB X IDE
Open the Terminal application
(for example, Tera Term or PuTTY) on the PC
Connect to the host board COM
port and configure the serial settings as follows:
Baud: 115200
Data: 8 Bits
Parity: None
Stop: 1 Bit
Flow Control:
None
Press the SW0 (Soft Reset) button on the host board, see Figure 6-1.
As the board boots up, it will
connect to Home-AP and prints the IP address obtained. The board will establish
a connection with AWS S3. After establishing a successful TLS server-client
connection, the application will try to access/read the document listed.
Once the device receives entire
document, Receive Complete message is printed on serial console
as illustrated in the following figure.