Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
WINC1500 Image Downloader Example for SAM4S XPlained Pro Documentation

Introduction

This example demonstrates how to program the WINC1500 internal flash in order to update the firmware and root certificates.
It uses the following hardware:

  • the SAM Xplained Pro.
  • the WINC1500 on EXT1.

Main Files

  • main.c : Initialize the WINC1500 and perform flash operation.
  1. Build the program and download it into the board.
  2. On the computer, open and configure a terminal application as following.
    * Baud Rate : 115200
    * Data : 8bit
    * Parity bit : none
    * Stop bit : 1bit
    * Flow control : none
    *
  3. Start the application.
  4. In the terminal window, the following text should appear:
* -- Image downloader example --
* -- SAMXXX_XPLAINED_PRO --
* -- Compiled: xxx xx xxxx xx:xx:xx --
*
* (APP)(INFO)Chip ID xxxxxx
* Flash ID xxxxxxxx
* (APP)(INFO)Flash Size x Mb
*
* >Start erasing...
* Done
* main: programming firmware...
* main: verifying firmware image from flash...
* main: done.
*
* All task completed successfully.
*

Compilation Information

This software was written for the GNU GCC compiler using Atmel Studio 6.2 Other compilers may or may not work.

Contact Information

For further information, visit Microchip.