USER GUIDE. ZigBit USB Stick User Guide. Introduction



Similar documents
AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

USER GUIDE. ZigBit Extension User Guide. Introduction

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

USER GUIDE EDBG. Description

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

AT88CK490 Evaluation Kit

AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

CryptoAuth Xplained Pro

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge

APPLICATION NOTE. Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK. Atmel AVR 32-bit Microcontroller. Features. Description.

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Secure Personalization with Transport Key Authentication. ATSHA204A, ATECC108A, and ATECC508A. Introduction.

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction

Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR293: USB Composite Device

MODFLEX MINI GATEWAY ETHERNET USER S GUIDE

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.

Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Authentication Counting. Atmel CryptoAuthentication. Features. Introduction

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

AT91SAM ARM-based Flash MCU. Application Note

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

APPLICATION NOTE. AT05558: Wireless Manufacturing Test Kit. Atmel ATmega256RFR2. Description. Features

Introducing a platform to facilitate reliable and highly productive embedded developments

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR2006: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna. Application Note. Features.

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

RFRB0413 RF Ranging Base (Preliminary)

Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

Designing Feature-Rich User Interfaces for Home and Industrial Controllers

AVR106: C Functions for Reading and Writing to Flash Memory. Introduction. Features. AVR 8-bit Microcontrollers APPLICATION NOTE

Quest vworkspace Virtual Desktop Extensions for Linux

Radiocrafts Embedded Wireless Solutions

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

Dell Statistica Statistica Enterprise Installation Instructions

APPLICATION NOTE. AT12405: Low Power Sensor Design with PTC. Atmel MCU Integrated Touch. Introduction

Dell One Identity Cloud Access Manager How to Configure vworkspace Integration

formerly Help Desk Authority Quest Free Network Tools User Manual

Atmel Power Line Communications. Solutions for the Smart Grid

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AT12181: ATWINC1500 Wi-Fi Network Controller - AP Provision Mode. Introduction. Features. Atmel SmartConnect APPLICATION NOTE

Software Prerequisites Linux Ubuntu LTS. Estimated completion time: 15min. The goal of this hands-on is to:

Spotlight Management Pack for SCOM

APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

AT89C5131A Starter Kit... Software User Guide

4.0. Offline Folder Wizard. User Guide

How to Deploy Models using Statistica SVB Nodes

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Introduction to Version Control in

Dell Statistica Document Management System (SDMS) Installation Instructions

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

More Secure, Less Costly IoT Edge Node Security Provisioning

Dell Spotlight on Active Directory Server Health Wizard Configuration Guide

Temperature & Humidity SMS Alert Controller

Capacitive Touch Technology Opens the Door to a New Generation of Automotive User Interfaces

AT15007: Differences between ATmega328/P and ATmega328PB. Introduction. Features. Atmel AVR 8-bit Microcontrollers APPLICATION NOTE

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.

AN10866 LPC1700 secondary USB bootloader

RC2200DK Demonstration Kit User Manual

Installation Guide Wireless 4-Port USB Sharing Station. GUWIP204 Part No. M1172-a

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Atmel ATSAM3X8E microcontroller Atmel AT86RF GHz radio transceiver Atmel proprietary Lightweight Mesh software stack 10/100Mbps Ethernet

Dell InTrust Preparing for Auditing Cisco PIX Firewall

AN4128 Application note

Spotlight Management Pack for SCOM

Intel Active Management Technology with System Defense Feature Quick Start Guide

PL-1, Pocket Logger B

AVR Prog USB v3 MK II Eco Manual

Atmel SMART ARM Core-based Embedded Microprocessors

how to upgrade your IsatPhone

Dell Statistica. Statistica Document Management System (SDMS) Requirements

ChangeAuditor 5.6. For Windows File Servers Event Reference Guide

AT86RF230 (2450 MHz band) Radio Transceiver... User Guide

Printer Driver Installation Manual

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

Transcription:

USER GUIDE ZigBit USB Stick User Guide Introduction This user guide describes how to get started with the Atmel ZigBit USB sticks. The ZigBit USB sticks is targeted for evaluating the USB features of the Atmel ZigBits, currently supporting the XMEGA with AT86RF212B or AT86RF233 radio transceivers.

Table of Contents Introduction... 1 1. Getting Started... 3 1.1. 1.2. 1.3. 1.4. Features... Design Documentation and Related Links... Programming... 1.3.1. JTAGICE... 1.3.2. Bootloader... Available Example Code... 3 3 3 3 3 8 2. Performance Analyzer... 10 2.1. 2.2. 2.3. 2.4. Introduction... Program Installation... Program Use... Typical Wireless Nodes... 10 10 13 13 3. WireShark... 15 3.1. 3.2. 3.3. Introduction... Program Installation... 3.2.1. WireShark Installation... 3.2.2. Sniffer Interface Installation... 3.2.3. Sniffer FW Installation... Program Use... 15 15 15 16 17 17 4. Hardware User Guide... 22 4.1. 4.2. 4.3. 4.4. Board Overview... Headers and Connectors... 4.2.1. JTAG (J2)... 4.2.2. Boot Select (J3)... Board GUI... 4.3.1. LED's... 4.3.2. Button... Factory Programmed Data... 22 22 22 23 23 23 23 23 5. Persistence Memory... 24 6. Document Revision History... 25 2

1. Getting Started 1.1 Features The ZigBit USB sticks demonstrates the XMEGA ZigBits USB features providing a development/prototype platform. By using the WireShark sniffer FW the ZigBit USB stick's serve as a protocol analyzer. 1.2 Design Documentation and Related Links The following list contains links to the most relevant documents and software for the USB sticks. 1.3 1. 2.4GHz USB stick: http://www.atmel.com/tools/zb-x-233-usb.aspx 2. Sub GHz USB stick: http://www.atmel.com/tools/zb-x-212b-usb.aspx 3. ZigBit: http://www.atmel.com/zigbit Programming How to program the extension. 1.3.1 JTAGICE How to program using the AVR JTAGICE mkii and JTAGICE3. 1. Connect the JTAGICE USB to the PC. 2. Connect the JTAGICE to the USB stick connector (J2) as shown on picture. 3. Go to Atmel Studio: Tools/Device Programming, and select the JTAGICE connected as Tool and click Apply. 4. Select Device = ATxmega256A3U. 5. Select "Memories" and locate the source hex or elf file and click Program. JTAGICE3 connected to J2 AVR JTAGICE mkii connected to J2 1.3.2 Bootloader This section describes how to use the bootloader to program the ZigBit on the USBstick. 3

1. Install the Bootloader interface on the PC as described in How to Install the "Bootloader PC tool" on page 4. 2. Start the Bootloader PC GUI "FLIP". 3. Insert a jumper on header J3. Insert the USB stick in the PC. Press the reset button. 1.3.2.1 4. Select Device = ATxmega256A3U (Device - Select). 5. Select USB communication (Ctrl+U). 6. Select memory area to program (Use the toggle memory button bellow the Atmel logo). 7. Select Load Hex file (Ctrl+L). 8. Select Programming Options. 9. Click "Run", observe status in status field. How to Install the "Bootloader PC tool" How to install the Bootloader PC GUI tool, 1. 1 1 Download the Flip "in system programming tool" installer from http://www.atmel.com/tools/flip.aspx http://www.atmel.com/tools/flip.aspx 4

2. Run the Flip Installer. 3. Download the Atmel USB extension and run the installer. 5

4. Start Flip - if the USBstick is not recognized continue with step 5. 5. Update the USB DFU driver. 6

Clik the Update Driver button and select "Browse my computer-..." 7

1.4 Available Example Code ASF contains a number of Wireless example projects with source code - use Wireless as key word and select from the list. 8

Figure 1-1. NewProjectASF.jpg 9

2. Performance Analyzer 2.1 Introduction The Performance Analyzer FW together with the GUI in Atmel Studio Wireless Composer Extension provides a number of basic functional RF tests. A quick start guide and general help is provided in Wireless Composer once started. 2.2 Program Installation How to install necessary SW. 1 1. Install Atmel Studio. 2. Once Studio is installed and started use the Tools - Extension Manager to install the Wireless Composer. Select Wireless and Wireless Composer. 1 http://www.atmel.com/tools/atmelstudio.aspx 10

Log in to Atmel Gallery. Click download again and download starts. 11

Restart Atmel Studio, allow help to make changes and the Performance Analyzer GUI is available in the Tools menu. 3. If not already preprogrammed - program the node with the Performance Analyzer FW available in the "Wireless Performance Analyzer Firmware extension" or from source code provided in ASF. If using an Wireless board with a μc embedded, the Performance Analyzer FW has to be programmed using the Bootloader or JTAGICE. If using a extension board which do not have a μc embedded, the Performance Analyzer FW has to be programmed on the Xplained Pro board using the EBDG from Atmel Studio. 12

2.3 Program Use How to get started. 2.4 1. Connect the Wireless board assembly, with the Performance Analyzer FW programmed, to the PC USB connector and power on, a COM port should now be available for the kit. 2. Power on any other wireless node assemblies of similar frequency, running the Performance Analyzer FW, and use it as a reference. 3. Start Performance Analyzer GUI, connect to the kit via the COM port and follow the quick start guide. Typical Wireless Nodes Typical board assembly. The Atmel SAM4L Xplained Pro Evaluation Kit with Wireless Extension and remote node consisting of a Wireless extension board and a battery pack. 13

The Atmel ATmega256RFR2 Xplained Pro Evaluation Kit and remote node consisting of a Wireless extension board and a battery pack. 14

3. WireShark 3.1 Introduction Wireshark is a free and open-source packet analyzer. It is used for network troubleshooting, analysis, software and communications protocol development. Atmel provides an interface enabling use of WireShark GUI to monitor wireless communication using Atmel RF USB sticks. 1 Go to the WireShark home page to learn the detail on how to use WireShark. 3.2 Program Installation How to install necessary SW and FW. 3.2.1 WireShark Installation How to install the WireShark analyzer. 2 1. Go to the WireShark home page and download the WireShark installer. 2. Locate the downloaded installer and install WireShark. 1 2 http://www.wireshark.org http://www.wireshark.org 15

3.2.2 Sniffer Interface Installation How to install the WireShark sniffer interface, connecting the WireShark GUI and the sniffer FW running on the USB stick. The sniffer interface program can be downloaded from Atmel Gallery. 3 1. Install Atmel Studio. 2. Once Studio is installed and started use the Extension Manager to download the Atmel WireShark Interface installer. 3. Select Wireless and Atmel WireShark Interface. 3 http://www.wireshark.orghttp//www.atmel.com/tools/atmelstudio.aspx 16

4. Log in to Atmel Gallery if not already logged in. 5. Click download again and download starts. 6. You have now downloaded the Atmel WireShark installer, AtmelWiresharkFirmwareSetup.msi, run the installer. 7. You now have the "Wireshark Sniffer" user interface in the Start Menu - All Programs - Atmel folder and the sniffer firmware files located in C:/Program Files (x86)/atmel/atmelwiresharkfirmware/ 3.2.3 Sniffer FW Installation How to install the WireShark sniffer FW. 3.3 1. Download the Atmel WireShark Interface installer as described in Sniffer Interface Installation on page 16. 2. Program the USB stick using the bootloader or the JTAGICE as described in Programming on page 3. The firmware files is located in C:/Program Files (x86)/atmel/atmelwiresharkfirmware/ Program Use How to get started.. 1. Insert the USB stick in the computer. 2. Start the Wireshark Interface program from the Atmel program folder 3. Select the COM port allocated to the USBstick with the sniffer FW and click Open. 17

4. Select the Channel you want to monitor and click Set. 18

5. Click Start and WireShark is started. 19

6. Select the protocol to Analyze in WireShark in order to get the protocol details decoded and displayed. Disable all and select the applicable protocol. 20

7. You can now monitor captured frames. 21

4. Hardware User Guide 4.1 Board Overview Figure 4-1. Extension Assembly.jpg 4.2 Headers and Connectors The extension board connectors. 4.2.1 JTAG (J2) J2 is the JTAG programming header typically used by the JTAGICE. 22

4.2.2 Boot Select (J3) J3 enables the Bootloader when J3.1 connected to GND during RESET. Insert jumper on J3 to connect J3.1 to J3.2. Table 4-1. J5 Current measurement J3 pin ZigBit pin XMEGA pin Function 1 38 41-PE5 Bootloader enable 2 GND GND GND 4.3 Board GUI 4.3.1 LED's There are two LEDs available for use by application SW. Table 4-2. LED's 4.3.2 LED ZigBit pin XMEGA pin D2 LED0 - Yellow 10 3 - PA5 D3 LED1 - Green 11 2 - PA4 Button There is one switch for RESET of the micro-controller. Table 4-3. Buttons 4.4 Button Function ZigBit pin XMEGA pin SW1 ZigBit Reset, press to reset 5 56 - RESET Factory Programmed Data The ZigBit has a preprogrammed unique MAC address - details available in the ZigBit data sheet and in Persistence Memory on page 24. The USB stick comes with a Bootloader and the Performance Analyzer preprogrammed. 23

5. Persistence Memory A dedicated memory space is allocated to store product specific information and called the Persistence Memory. The organization of the persistence memory is as follows: Table 5-1. Persistence Memory Data Size Structure Revision 2 bytes MAC address 8 bytes Board information PCBA Name 30 bytes Board information PCBA Serial number 10 bytes Board information PCBA Atmel Part Number 8 bytes Board information PCBA Revision 1 byte XTAL Calibration Value 1 byte Reserved 7 bytes Reserved 4 bytes CRC 1 bytes The MAC address stored inside the MCU is a uniquely assigned ID for each ZigBit and owned by Atmel. User of the ZigBit application can use this unique MAC ID to address the ZigBit in end-applications. The MAC ID can be read from the ZigBit using the Performance Analyzer Application that is supplied through Atmel Studio Gallery Extension. 24

6. Document Revision History Document revision Date Comment 42194A 10/2013 Initial document release 25

Atmel Corporation 1600 Technology Drive, San Jose, CA 95110 USA T: (+1)(408) 441.0311 F: (+1)(408) 436.4200 www.atmel.com 2013 Atmel Corporation. All rights reserved. / Rev.: Atmel, Atmel logo and combinations thereof, Enabling Unlimited Possibilities, ZigBit, XMEGA, AVR, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS AND PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and products descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.