Getting Started Guide for ATWINC1500 W-Fi using SAM D21 Xplained Pro [USER GUIDE]
Atmel-42417A-Getting-Started-Guide-for-ATWINC1500WiFi-using-SAMD21-Xplained-Pro_UserGuide_032015
2
5
25
5.2
Download Certificate File
You need a certificate to set up a TLS connection and ATWINC1500 Firmware contains some root certificate
files. This guide demonstrates how to download certificate files. It is similar to Firmware download.
It is as
sumed that you already have your “
Test_Root.cer
” file.
STEP1: Build and run the Serial Bridge application on the SAMD21 Board.
1. Connect the SAM D21 (DEBUG USB PORT) to the USB port on your PC and run
“SAMD21_XPLAINED_PRO_WINC1500_FIRMWARE_UPDATE” project. (Refer to Section
The application is now ready to download certificate files.
STEP2: Download certificate files to the ATWINC1500 Board.
1.
Go to “WINC1500_FIRMWARE_UPDATE_AND_DOCUMENTATION” project directory. (Refer to Section
1.3 Download and Install the Latest ATWINC1500 Extension Package
2. Go to \src\firmware\Tools\root_certificate_downloader\crt. You can find some cer files in the directory.
(FreeRadius_Root.cer, NMA_Root.cer, PROWL_Root.cer, Radius_Root.cer)
Copy your “
Test_Root.cer
” file.
(FreeRadius_Root.cer, NMA_Root.cer, PROWL_Root.cer, Radius_Root.cer,
Test_Root.cer
)
3. Modify the bat file as below. F
ind the “RootCertDownload.bat” file in
\src\firmware\Tools\root_certificate_downloader\debug_uart.
or
4. Launch the batch file.
\src\samd21_xplained_pro_certificate_update.bat
SUCCESS certificate download. The following information will be displayed on the
command window.
...
Start erasing...
Done
#Erase time = 0.047000 sec
>Writing the certificate to SPI flash
>Start programming..
Done
#Programming time = 0.093000 sec
Done
All certificates have been downloaded
If you see a failed message, you must check if your device is assembled correctly and retry downloading again.
root_certificate_downloader -n
5
NMA_Root.cer PROWL_Root.cer RADIUS_Root.cer
FreeRADIUS_Root.cer
Test_Root.cer
-port 0
root_certificate_downloader –n
1
Test_Root.cer
-port 0