Atmel WINC1500 Getting Started Manual

XXXXA10/14
Platform Getting Started Guide
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro
XX-XXX
Prerequisites
Hardware Prerequisites
Atmel SAM D21 Xplained Pro Evaluation Kit Atmel WINC1500 extension Atmel IO1 extension USB micro cable (TypeA / MicroB)
Software Prerequisites
Atmel Studio Weather client example project source code
Introduction
This getting started guide describes the Atmel WINC1500 Wi-Fi Network Controller to build state-of-the-art Internet of Things (IoT) applications. This guide explains hardware information and how to install Atmel Studio(IDE), compile examples and download WINC1500 Firmware.
The following topics will be covered:
How to get Atmel Studio(IDE) and install it. Update new ASF package. Target board information. How to get weather client example project. How to get log message. How to download firmware and certificate.
Table of Contents
Prerequisites .....................................................................................1
Introduction .......................................................................................1
Icon Key Identifiers ...........................................................................3
1. Getting Started with Atmel Studio ..............................................4
1.1 Download and Install Atmel Studio6.2 ................................................. 4
1.2 Download and Install the latest ASF .................................................... 4
1.3 Download and Install the latest WINC1500 Extension Package ......... 6
2. Getting Started with Atmel Hardware .........................................8
2.1 Atmel SMART SAMD21-XPRO Evaluation Kit .................................... 8
2.2 Atmel SmartConnect WINC1500-XPRO Wi-Fi Extension Board......... 9
2.3 Atmel IO1-XPRO Sensor Extension Board ........................................ 10
2.4 Atmel OLED1-XPRO Display Extension Board ................................. 10
3. Getting Started with WINC1500 IoT Examples ........................ 12
3.1 Organization of WINC1500 IoT Examples ......................................... 12
3.2 Connect the Board ............................................................................. 13
3.3 How to Get Weather Client Example Project ..................................... 14
3.4 How to Build & Execute ..................................................................... 16
3.5 Provisioning ....................................................................................... 18
4. How to Debug WINC1500 Wi-Fi Firmware ............................... 21
5. How to Download New WINC1500 Firmware .......................... 22
5.1 Download Firmware ........................................................................... 22
5.2 Download Certificate File ................................................................... 25
6. Conclusion ............................................................................... 26
7. Revision History ....................................................................... 27
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 2 of 28
Icon Key Identifiers
Delivers Contextual Information About a Specific Topic
Highlights Useful Tips and Techniques
Highlights Objectives to be Completed
Highlights the Expected Result of an Assignment Step
Indicates Important Information
Highlights Actions to be Executed Out of the Target
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 3 of 28
1. Getting Started with Atmel Studio
1.1 Download and Install Atmel Studio6.2
Atmel® Studio 6 is the integrated development platform (IDP) for developing and debugging Atmel ARM® Cortex® -M and Atmel AVR® microcontroller (MCU) based applications. The Atmel Studio 6 IDP gives you a seamless and easy-to-use environment to write, build and debug your applications written in C/C++ or assembly code.
Atmel Studio 6.2 is now available, adding advanced debugging features such as Data and Interrupt Trace, improved RTOS integration, and better ability to debug code that has been optimized.
With the introduction of Atmel Gallery and Atmel Spaces, Atmel Studio 6 further simplifies embedded MCU designs to reduce development time and cost. Atmel Gallery is an online apps store for development tools and embedded software. Atmel Spaces is a cloud-based collaborative development workspace allowing you to host software and hardware projects targeting Atmel MCUs.
Download and install Atmel Studio 6.2 from http://www.atmel.com/microsite/atmel_studio6/ You can find the installed directory: C:\Program Files\Atmel\Atmel Studio 6.2
1.2 Download and Install the latest ASF
Atmel Studio 6 is free of charge and is integrated with the Atmel Software Framework (ASF)a large library of free source code with 1,600 ARM and AVR project examples. ASF strengthens the IDP by providing, in the same environment, access to ready-to-use code that minimizes much of the low-level design required for projects. Use the IDP for our wide variety of AVR and ARM Cortex-M processor-based MCUs, including our broadened portfolio of Atmel SAM3 ARM Cortex-M3 and M4 Flash devices.
If the ASF version in your Atmel Studio is not the latest one you will be notified when Atmel Studio starts. The following procedure demonstrates how to update the ASF to the latest version. You can install other extensions in the list as well.
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 4 of 28
1) Run Atmel Studio 6.2.
2) You can see the start page of Atmel Studio 6.
3) Update ASF to the latest version. Menu Tools Extension Manager
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 5 of 28
Available Downloads Updates Atmel Software Framework Select an extension and proceed with download and installation.
Restart Atmel Studio to take effect of newly installed extension.
1.3 Download and Install the latest WINC1500 Extension Package
WINC1500 Extension package contains the WINC1500 software (latest firmware, Firmware update Tools and Example projects).
As an Atmel Studio Extension (.vsix file), which can be found on the Atmel Gallery
web site (http://gallery.atmel.com/) or using the Atmel Studio Extension manager.
1) Atmel Studio Menu Tools Extension Manager.
2) Input winc in the search window then you can find the WINC1500 extension.
3) Select the extension and proceed with download and installation.
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 6 of 28
Restart Atmel Studio to take effect of newly installed extension.
4) Restart Atmel Studio.
5) Open the Tools and Document via File New Example Project (Ctrl + Shift + E).
6) Input FIRMWARE in the search window then you can find an example named like WINC1500_FIRMWARE_UPDATE_AND_DOCUMENTATION.
This project contains documentation and tools to upgrade WINC1500 firmware to the specific version which is matched up with the Wi-Fi driver in example projects. It also contains documentation on how to run example projects in this extension.
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 7 of 28
2. Getting Started with Atmel Hardware
This chapter introduces Atmel Evaluation Kits for testing IoT applications. The SAMD21 and the WINC1500 are essential but the IO1 and the OLED1 extension boards are optional.
2.1 Atmel SMART SAMD21-XPRO Evaluation Kit
The Atmel® SAM D21 Xplained Pro evaluation kit is ideal for evaluating and prototyping with the Atmel SAM D21 ARM® Cortex® -M0+ based microcontrollers. Extension boards to the SAM D21 Xplained Pro can be purchased individually.
SAMD21J18A microcontroller One mechanical reset button One mechanical user pushbutton (wake-up, bootloader entry or general purpose) One yellow user LED 32.768kHz crystal USB interface, device and reduced host mode 8 Mbit Serial Flash 3 Xplained Pro extension headers Embedded Debugger
Auto-ID for board identification in Atmel Studio 6.1 One yellow status LED One green board power LED
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 8 of 28
Symbolic debug of complex data types including scope information Programming and debugging Data Gateway Interface: SPI, I²C, 4 GPIOs
Virtual COM port (CDC)
USB powered Supported with application examples in Atmel Software Framework
Here is the link for more detailed information about SAM D21.
http://www.atmel.com/tools/atsamd21-xpro.aspx
2.2 Atmel SmartConnect WINC1500-XPRO Wi-Fi Extension Board
Atmel® SmartConnect-WINC1500 is an IEEE 802.11 b/g/n IOT network controller SoC. It is the ideal add-On to existing MCU solutions bringing WiFi and Network capabilities through SPI-to-WiFi interface. The WINC1500 connects to any Atmel AVR or SMART MCU with minimal resource requirements. The WINC1500 most advanced mode is a single stream 1x1 802.11n mode providing up to 72 Mbps PHY throughput. WINC1500 features fully integrated Power Amplifier, LNA, Switch and Power Management. The WINC1500 provides internal Flash memory as well as multiple peripheral interfaces including UART, SPI, and I2C. The only external clock source needed for the WINC1500 is a high-speed crystal or oscillator with a wide variety of reference clock frequencies supported (between 12 – 32 MHz). The WINC1500 is available in a QFN package.
IEEE 802.11 b/g/n (1x1) for up to 72 Mbps Integrated PA and T/R Switch Superior Sensitivity and Range via advanced PHY signal processing Wi-Fi Direct, station mode and Soft-AP support Supports IEEE 802.11 WEP, WPA2 Security Enterprise On-chip memory management engine to reduce host load 4 Mbit internal Flash memory with OTA firmware upgrade SPI as host interfaces TCP/IP protocol stack (client/server) sockets applications Network protocols (DHCP/DNS) Secure TLS stack WSC (wireless simple configuration WPS) On-Chip Network Stack to offload MCU
Getting Started Guide for WINC1500 Wi-Fi
using SAM D21 Xplained Pro: XXXXA10/145
Page 9 of 28
Loading...
+ 19 hidden pages