Atmel ZigBit User Manual

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.
42194A-MCU-11/2013

Table of Contents

Introduction .................................................................................... 1
1. Getting Started ........................................................................ 3
1.1. Features ..... ..... ............................ ..... ..... ..... ......................... 3
1.2. Design Documentation and Related Links ....................... ..... ..... . 3
1.3. Programming ....................... ..... ..... ..... ............................ ..... . 3
1.3.1. JTAGICE ......... ..... ..... ..... ............................ ..... ..... ... 3
1.3.2. Bootloader ............................ ..... ..... ..... .................... 3
1.4. Available Example Code ............. ..... ..... ..... ............................ . 8
2. Performance Analyzer ........................................................... 10
2.1. Introduction ....................... ..... ..... ..... ............................ ..... . 10
2.2. Program Installation .............. ..... ..... ..... ............................ .... 10
2.3. Program Use ................ ..... ..... ..... ............................ ..... ..... . 13
2.4. Typical Wireless Nodes . ..... ..... ..... ....................... ..... ..... ..... .. 13
3. WireShark .............................................................................. 15
3.1. Introduction ....................... ..... ..... ..... ............................ ..... . 15
3.2. Program Installation .............. ..... ..... ..... ............................ .... 15
3.2.1. WireShark Installation ...................... ..... ..... ............... 15
3.2.2. Sniffer Interface Installation .............. ..... ..... ..... .......... 16
3.2.3. Sniffer FW Installation ... ............................ ..... ..... ..... 17
3.3. Program Use ................ ..... ..... ..... ............................ ..... ..... . 17
4. Hardware User Guide ........................................................... 22
4.1. Board Overview . ..... ..... ............................ ..... ..... ..... ............ 22
4.2. Headers and Connectors ....................... ..... ..... ..... ................ 22
4.2.1. JTAG (J2) .. ..... ..... ..... ............................ ..... ..... ..... .. 22
4.2.2. Boot Select (J3) .. ..... ..... ..... ............................ ..... .... 23
4.3. Board GUI ... ..... ............................ ..... ..... ............................ 23
4.3.1. LED's ..... ..... ..... ............................ ..... ..... ............... 23
4.3.2. Button ..... ..... ............................ ..... ..... ..... .............. 23
4.4. Factory Programmed Data ........ ..... ..... ..... ............................ . 23
5. Persistence Memory ............................................................. 24
6. Document Revision History ................................................... 25
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
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. 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

1.3 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.
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
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.
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 .
1.3.2.1 How to Install the "Bootloader PC tool"
How to install the Bootloader PC GUI tool,
1. Download the Flip "in system programming tool" installer from http://www.atmel.com/tools/FLIP.aspx
1
http://www.atmel.com/tools/FLIP.aspx
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
1
4
2. Run the Flip Installer .
3. Download the Atmel USB extension and run the installer.
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
5
4. Start Flip - if the USBstick is not recognized continue with step 5.
5. Update the USB DFU driver.
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
6
Clik the Update Driver button and select "Browse my computer-..."
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
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.
ZigBit USB Stick User Guide [USER GUIDE]
42194A-MCU-11/2013
8
Loading...
+ 18 hidden pages