3.4.1.2 Serial Bridge Application to Upgrade ATWINC1510 Firmware and Root Certificates
Description
This application hex file acts as a serial bridge between the PC utility (winc_provisioner) and the ATWINC1510 module on SAM IOT board.
The application interfaces with the PC over UART and with the ATWINC1510 module over the SPI lines.
The application receives the ATWINC1510 firmware and root certificate bundle from the PC, and programs it into the ATWINC1510 module.
Hardware Used
Software/Tools Used
This project has been verified to work with the following versions of software tools:
Because Microchip regularly updates tools, occasionally issue(s) could be discovered while using the newer versions of the tools. If the project does not seem to work and version incompatibility is suspected. It is recommended to double-check and use the same versions that the project was tested with.
Setup
- Connect a USB cable to the DEBUG USB
port for programming.
Programming Hex File
The pre-built hex file can be programmed by following the below steps.
Steps to program the hex file:- Open MPLAB X IDE
- Close all existing projects in IDE, if any project is opened
- Go to File -> Import -> Hex/ELF File.
- In the Import Image File window,
- Create Prebuilt Project,
- Click the Browse button to select the prebuilt hex file in winc_provisioner/hex folder.
- Select Device as ATSAMD21G18A.
- Ensure the proper tool is selected under Hardware Tool and click on Next button.
- Select Project Name and Folder,
- Select appropriate project name and folder and click on Finish button
- Create Prebuilt Project,
- In MPLAB X IDE, click on Make and Program Device button to program the device.
- Follow the steps in Running the Demo section below.
Running the Demo
- Ensure the board is powered on (a USB cable is connected to the DEBUG USB port).
- Refer the Running the utility section in the documentation under utilities/readme file.
Comments
- How to Setup MPLAB Harmony v3 Software Development Framework (DS90003232).
- How to Build an Application by Adding a New PLIB, Driver, or Middleware to an Existing MPLAB Harmony v3 Project (DS90003253).
- MPLAB Harmony v3 is configurable through MPLAB Code Configurator (MCC). Refer to the below links for specific instructions to use MPLAB Harmony v3 with MCC.