Atmel AVR32930: UC3-A3 Xplained Getting Started Guide Features • Easy to reprogram with just a USB cable and a preprogrammed boot loader • Easy to debug code with JTAG-based debuggers and emulators 1 Introduction 32-bit Atmel Microcontrollers Application Note The Atmel® UC3-A3 Xplained evaluation kit is a hardware platform for evaluating the Atmel AT32UC3A3256 microcontroller.
What is needed to get started? To be able to run the preprogrammed code, you need the Atmel UC3-A3 Xplained evaluation kit and a USB cable (Standard-A to Mini-B or Mini-AB) to connect the board to a PC. When connecting the UC3-A3 Xplained board to a PC, the operating system will request a driver file for installing the serial communication driver. This driver file is available in the zip file associated with this document.
AVR32930 To learn how to use this tool, please read the document: AVR32015: AVR32 Studio getting started http://atmel.com/dyn/resources/prod_documents/doc32086.pdf 2.3.2 IAR Embedded Workbench for Atmel AVR32 IAR Embedded Workbench is an integrated development environment with project management tools and editor. IAR Embedded Workbench for Atmel AVR32 http://www.iar.com/website1/1.0.1.0/124/1/ 2.
2.6.1 Atmel AVR Dragon AVR Dragon™ is a low-cost debug and programming tool that can be used for code development with the UC3-A3 Xplained kit. Atmel AVR Dragon (on-chip programming and debugging tool) http://atmel.com/dyn/products/tools_card.asp?tool_id=3891 2.6.2 Atmel AVR JTAGICE mkII AVR JTAGICE mkII is a mid-range debug and programming tool that can be used for code development with the UC3-A3 Xplained kit. Atmel AVR JTAGICE mkII (on-chip programming and debugging tool) http://www.atmel.
AVR32930 3 Board overview Figure 3-1 shows the features on the UC3- A3 Xplained board. For more information on the Atmel UC3-A3 Xplained board, please see the Atmel application note, AVR32918: UC3-A3 Xplained Hardware User’s Guide. Figure 3-1. Overview of the UC3-A3 Xplained board.
4 Connecting the board Connect a USB cable (Standard-A to Mini-B or Mini-AB) between the board and a PC or a USB power supply to power it up. That is all that is needed. When power is applied, the Power/Status LED will light up green. WARNING Do not power the board without having the jumper or an ammeter mounted on the power measurement header. Otherwise, the device may be damaged. The power measurement header is located next to the USB connector, as shown in Figure 3-1. 4.
AVR32930 Figure 4-2. Connecting the Atmel AVR JTAGICE mkII to the UC3-A3 Xplained board. 4.3 Connecting the Atmel AVR ONE! The AVR ONE! JTAG connector can be connected to the UC3-A3 Xplained kit with a standoff adapter, as shown in Figure 4-3. Figure 4-3. Connecting the AVR ONE! to the UC3-A3 Xplained board.
5 Programming the kit 5.1 Programming via the boot loader The boot loader is evoked by pushing the physical push button (SW0) during powerup; that is, push the button, and then connect a USB cable to the kit. Programming can be performed by using the BatchISP command line tool, which is part of the FLIP installation. BatchISP can also run under Atmel AVR32 Studio, which has a GUI interface. Once the boot loader is active, it will appear as a USB DFU class device, and Windows will ask for a driver.
AVR32930 The following window will appear on the screen: Figure 5-3. The DFU boot loader file select and programming options. Browse and select the .hex file, set up the options as shown here, and click OK. A small progress bar will appear in the lower right corner to indicate that programming is ongoing. When the progress bar stops and disappears, the programming is done, and the application will start automatically. 5.
Figure 5-4. The AVR32 Studio AVR Targets menu. Select the boot loader version to program, as shown in Figure 5-5. Please see the document, AVR32784: AVR32 UC3 USB DFU Bootloader, for more information about the available versions and possible settings for the boot loader.
AVR32930 Figure 5-5. The DFU boot loader version selection menu. Set up all the specifications for the boot loader, as shown in Figure 5-6, and select finish to complete the boot loader programming. Figure 5-6. The DFU boot loader options setting menu selections.
6 Example applications Several examples are available in ASF that can be downloaded from the Atmel website ASF section: http://asf.atmel.no. Each example has the full source code with documentation, as well as ready-made binaries for getting started quickly. The examples can be compiled using either the GCC or IAR compilers. 6.1 Preprogrammed firmware The Atmel AT32UC3A3256 that is mounted on the Atmel UC3-A3 Xplained board is preprogrammed with a USB boot loader and default demonstration firmware.
AVR32930 7 EVALUATION BOARD/KIT IMPORTANT NOTICE This evaluation board/kit is intended for use for FURTHER ENGINEERING, DEVELOPMENT, DEMONSTRATION, OR EVALUATION PURPOSES ONLY. It is not a finished product, and may not (yet) comply with some or any technical or legal requirements that are applicable to finished products, including, without limitation, directives regarding electromagnetic compatibility, recycling (WEEE), FCC, CE, or UL (except as may be otherwise noted on the board/kit).
8 Table of contents Features ............................................................................................... 1 1 Introduction ...................................................................................... 1 2 What is needed to get started?....................................................... 2 2.1 Documentation for the UC3-A3 Xplained ............................................................ 2 2.2 Atmel AVR Software Framework (ASF) ...............................................
Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: (+1)(408) 441-0311 Fax: (+1)(408) 487-2600 www.atmel.com Atmel Asia Limited Unit 01-5 & 16, 19F BEA Tower, Milennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon HONG KONG Tel: (+852) 2245-6100 Fax: (+852) 2722-1369 Atmel Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 Atmel Japan 9F, Tonetsu Shinkawa Bldg.