EXTWIFI + EVK Quick Start Guide 1 Introduction This guide will help you compile program and configure the EXTWIFI for first time use. It describes how to connect and configure the EVK1100, EVK1104 or the EVK1105 for use with the WiFi SDIO module, SPB104. The EVK1101 does not have a display and has to be run via a consol interface. This getting started guide as well as all development tools and documentation is updated frequently. Please visit www.atmel.com/AVR32 and look for an up to date version of this guide and associated software and development tools before you begin installing this kit. 2 Requirements EXTWIFI SPB104 802.11b+g module EVK1100, EVK1104 or EVK1105 Evaluation kit AVR32 Studio or the standalone AVR32 Toolchain version 2.2 or later AVR32 Debugger (JTAGICE mkII, AVR ONE or similar) 3 Getting started with EXTWIFI + EVK1000, EVK1104 or EVK1105 Power down the evaluation kit. Insert the SPB104 SDIO Wi-Fi card into SDIO slot B (EVK1104, see fig.), or the only slot on EVK100/EVK1105. Connect a miniUSB cable between the PC and the EVK1104/1105(miniUSB connector labeled USB VPC. Connect a cable between the serial port and the PC for EVK1100. Connect a debugger (eg. JTAGICE mkII or AVR ONE ) to the EVK1104/1105. Refer to the EVK1104/1105 documentation for more information. Start a serial port terminal ( e.g. Windows HyperTerminal, TeraTerm or similar). Serial port settings: 57600-8- N-1. Refer to the evaluation kit user guide for more information. 4 Compiling the HTTP demo application The HTTP demo application is provided as an example for the HD WIFI component in the AVR32 software framework version 1.5 or later. AVR32 studio or a stand-alone Toolchain can be used to compile and program the demo. See the AVR32 software framework user guide AVR7732 , the Getting Started with GCC for AVR32 document AVR32006 and H&D Wireless AB , SPB104 WLAN 802.11b/g , AVR32 Quick Start Guide page 2 ( 4) the AVR32 studio getting started document AVR32086 for general information about installing and using the development environment. 4.1 Downloading EXTWIFI FW to EVK1104 Flash The following is for EVK1104 only. For EVK1100 or EVK1105 please skip this step: First, the SPB104 firmware image must be stored in the EVK1104 external flash. This is accomplished by programming a small application into the EVK1104 which will write the firmware image into the EVK1104 external flash. The firmware programming application is available in COMPONENTS/WIFI/HD/EXAMPLE/SPBFW DOWNLOAD of the AVR32 software framework. If the toolchain is used from the command line, the following commands can be used to compile, program and run the firmware programming application: > cd COMPONENTS/WIFI/HD/EXAMPLE/SPBFW DOWNLOAD/AT32UC3A3256 EVK1104/GCC > make program reset run The application will run for a few seconds to store the firmware image in the EVK1104 flash. A message will be printed on the serial port when complete. After this process the firmware image will stay in flash until it is explicitly overwritten and therefore this process is usually only performed once. 4.2 Building and downloading the HTTP demo application The second step is to program the actual demo application into the evaluation kit. The HTTP demo application is available in COMPONENTS/WIFI/HD/EXAMPLE/HD SPB104/AT32UC3Axxxx of the AVR32 software framework. For EVK1100: > cd COMPONENTS/WIFI/HD/EXAMPLE/HD SPB104/AT32UC3A0512 EVK1100/GCC > make program reset run For EVK1104: > cd COMPONENTS/WIFI/HD/EXAMPLE/HD SPB104/AT32UC3A3256 EVK1104/GCC > make program reset run Or, for EVK1105: > cd COMPONENTS/WIFI/HD/EXAMPLE/HD SPB104/AT32UC3A0512 EVK1105/GCC > make program reset run 5 Running the HTTP demo application via console When the installation and compilation/programming is complete the HTTP demo application will start as soon as the evaluation kit is powered on. A command line interface to the application is provided through the EVK1104/1105 serial port. Use the command scan to find available access points in the area. If WEP encryption is used in the access point, use the command setkey to set the appropriate key. If WPA/WPA2/RSN Pre-shared key security is used in the access point, use the command wpass to set the pass phrase. Use the command connect access point to make a connection to an access point (see figure below). If the key is wrong the application will continue to try to connect until the right key is set. 1543-SPB104 WLAN 802.11b/g - Getting Started Guide Copyright 2009 H&D Wireless AB, All rights reserved