Advertisement

Quick Links

Atmel AVR32931: UC3-L0 Xplained Getting

Features

• Easy to reprogram with just a USB cable and a preprogrammed bootloader
• Easy to debug code with JTAG-based debugger and emulator
• Can be used with Atmel
AVR ONE!

1 Introduction

The
Atmel UC3-L0 Xplained
Atmel AT32UC3L064
microcontroller.
The kit offers a range of features that enable the Atmel AVR UC3 user to get
started using UC3 peripherals right away and understand how to integrate the UC3
device in their own design. This getting started guide describes all the basic steps
needed to start using the
Figure 1-1. UC3-L0 Xplained evaluation kit.
Started Guide
®
®
AVR
JTAGICE mkII, Atmel AVR Dragon™, and Atmel
evaluation kit is a hardware platform for evaluating the
UC3-L0 Xplained
evaluation kit.
32-bit Atmel
Microcontrollers
Application Note
Rev. 32162A-AVR-03/11

Advertisement

Table of Contents
loading

Summary of Contents for Atmel UC3-L0 Xplained

  • Page 1: Features

    Atmel AT32UC3L064 microcontroller. The kit offers a range of features that enable the Atmel AVR UC3 user to get started using UC3 peripherals right away and understand how to integrate the UC3 device in their own design. This getting started guide describes all the basic steps...
  • Page 2: What Is Needed To Get Started

    ® not necessary on Linux operating systems. To modify the example code or write new code and compile it, a toolchain for Atmel AVR microcontrollers and an IDE are needed to edit and debug code. Atmel provides both Atmel AVR32 Studio...
  • Page 3: Iar Embedded Workbench For Atmel Avr 32-Bit Devices

    AVR32 GNU Toolchain is a free toolchain that can be downloaded from the Atmel website. It includes all the necessary tools, such as a C/C++ compiler, an assembler, and a linker, for AVR application development. The toolchain is included in the AVR32 Studio installation, but is also available as a separate installation.
  • Page 4: Atmel Avr Dragon

    Atmel AVR JTAGICE mkII is a mid-range debug/programming tool that can be used for code development with the UC3-L0 Xplained kit. Atmel AVR JTAGICE mkII (on-chip programming and debugging tool) http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3353 2.6.3 Atmel AVR ONE! The high-end Atmel AVR ONE!
  • Page 5: Board Overview

    UC3-L0 Xplained board. For more detailed information on the Atmel UC3-L0 Xplained hardware, take a look at the Atmel application note, AVR32924: UC3-L0 Xplained Hardware User’s Guide. Figure 3-1. Overview of the UC3-L0 Xplained kit. 32162A-AVR-03/11...
  • Page 6: Connecting The Board

    Figure 4-1 shows how the connection should be made. Figure 4-1. Connecting the AVR Dragon kit to the UC3-L0 Xplained board. 4.2 Connecting the Atmel AVR JTAGICE mkII The grey connector on the AVR JTAGICE mkII probe has to be used when...
  • Page 7: Connecting The Atmel Avr One

    Atmel AVR32931 Figure 4-2. Connecting the Atmel AVR JTAGICE mkII to the Atmel UC3-L0 Xplained board. 4.3 Connecting the Atmel AVR ONE! The AVR ONE! JTAG connector can be connected to the UC3-L0 Xplained board with a standoff adapter, as shown in Figure 4-3.
  • Page 8: Programming The Kit

    5 Programming the kit 5.1 Programming via the bootloader The preprogrammed bootloader on the Atmel AT32UC3L064 makes it possible to program the device via the UART interface. Because the default board controller firmware acts as UART-to-USB bridge, the AT32UC3L064 can be programmed from the PC via the USB connector.
  • Page 9: Restoring The Bootloader

    Atmel AVR32931 blankcheck loadbuffer your_firmware_file.hex program verify start reset 0 5. The firmware should now be running. NOTE The bootloader can only be synchronized once after power up, which means it is possible to connect to the target only once, using BatchISP. If everything was not able to be done on the first try, power cycle the board and run the command again.
  • Page 10: Example Applications

    6 Example applications Several examples are available in ASF that can be downloaded from the ASF section of the Atmel website: http://asf.atmel.no. Each example has full source code with documentation, and also ready made binaries to get started quickly. The examples can be compiled by using either GCC or IAR compilers.
  • Page 11: More Example Projects

    There are also several example projects and drivers available in the ASF modules for the target device, AT32UC3L064. Ready made projects targeted just for the Atmel UC3-L0 Xplained kit are also available. 32162A-AVR-03/11...
  • Page 12: How To Compile Example Projects

    The file extension of the debug file depends on the compiler, and will be .elf for the Atmel AVR32 GNU Toolchain and .dbg or .d82 for the IAR toolchain. 7.1 AVR GNU Toolchain To make this project using...
  • Page 13: References

    IAR Embedded Workbench for Atmel AVR32 http://www.iar.com/website1/1.0.1.0/124/1/ 8.2 Atmel AVR Software Framework This is a large library of drivers and code that is available for download and free use from the Atmel website. It can be found here: Atmel AVR Software Framework (ASF) http://asf.atmel.no/selector/show.php?device=uc3&store=app 32162A-AVR-03/11...
  • Page 14: Evaluation Board/Kit Important Notice

    (WEEE), FCC, CE, or UL (except as may be otherwise noted on the board/kit). Atmel supplied this board/kit “AS IS,” without any warranties, with all faults, at the buyer’s and further users’ sole risk.
  • Page 15: Table Of Contents

    Atmel 32-bit microcontrollers ......................2 2.3.1 Atmel AVR32 Studio....................2 2.3.2 IAR Embedded Workbench for Atmel AVR 32-bit devices ........3 2.4 FLIP (BatchISP)....................3 2.5 Toolchain ......................3 2.5.1 Atmel AVR32 GNU Toolchain ................... 3 2.5.2 IAR AVR Toolchain....................3 2.6 Programmers and debuggers................
  • Page 16 10 Table of contents ................. 15 Atmel AVR32931 32162A-AVR-03/11...
  • Page 17 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...

Table of Contents