background image

Atmel AVR32931

 

 

3

32162A-AVR-03/11 

Atmel AVR32

 

Studio

 (free Atmel 32-bit IDE) 

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4116

 

To learn how to use this tool, take a look at the following document: 

AVR32015: AVR32 Studio getting started: 

http://atmel.com/dyn/resources/prod_documents/doc32086.pdf

 

2.3.2 IAR Embedded Workbench for Atmel AVR 32-bit devices 

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.4 FLIP (BatchISP) 

BatchISP is a command-line tool for programming the flash and EEPROM memories 
of the board controller, and is part of the 

FLIP

 installation. It can be used to 

communicate with the preprogrammed bootloader on the board controller. 

FLIP 

(FLexible In-system Programmer) for programming: 

http://atmel.com/dyn/products/tools_card.asp?tool_id=3886

 

2.5 Toolchain 

In order to build an application from the source code, a toolchain is needed, which 
includes required tools such as an assembler, compiler, and linker. The code for this 
kit is compatible with the 

Atmel AVR32 GNU

 and 

IAR AVR

 toolchains. 

2.5.1 Atmel AVR32 GNU Toolchain 

The 

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. The 

toolchain is also available for the Linux OS. For more information about the supported 
distributions, please see the release notes on the Atmel website. 

AVR GNU

 T

oolchain 

(Free C/C++ compiler for AVR 8-bit and 32-bit MCUs) 

http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4118

 

2.5.2 IAR AVR Toolchain 

The 

IAR AVR Toolchain

 is a commercial toolchain that includes all the necessary 

tools, such as a C/C++ compiler, an assembler, and a linker, for AVR application 
development. A 30-day evaluation version as well as a 32k (code size limited) kick-
start version are available from the 

IAR website

IAR Embedded Workbench for Atmel AVR32: 

http://www.iar.com/website1/1.0.1.0/124/1/

 

2.6 Programmers and debuggers 

Programmers and debuggers are needed when either application programming 
occurs without using the bootloader or debugging support is desired. Several different 
tools are available for use directly with the Xplained kit, and the most common of 
these are described in the following sections. 

Summary of Contents for UC3-L0 Xplained

Page 1: ...ed evaluation kit is a hardware platform for evaluating the Atmel AT32UC3L064 microcontroller The kit offers a range of features that enable the Atmel AVR UC3 user to get started using UC3 peripherals...

Page 2: ...om the Atmel website See the reference section later in this document for more details 2 1 Documentation for UC3 L0 Xplained The AVR32924 UC3 L0 Xplained Hardware User s Guide package includes in dept...

Page 3: ...ns 2 5 1 Atmel AVR32 GNU Toolchain The 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...

Page 4: ...E mkII The 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...

Page 5: ...s most of the available features on the 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 Har...

Page 6: ...hrough the I O pins The power measurement header location is shown in Figure 3 1 4 1 Connecting the Atmel AVR Dragon kit A 10 pin header is needed to connect the AVR Dragon kit to the Atmel UC3 L0 Xpl...

Page 7: ...VR 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...

Page 8: ...installation 5 1 1 Prerequisites To program the device BatchISP is needed and it can be found under the FLIP installation directory Install FLIP version 3 4 2 or later The UART USB gateway in the boar...

Page 9: ...is located As the bootloader is protected the bootloader will not be overwritten Figure 5 2 Example of programming with BatchISP For more information about the BatchISP command line tool run batchisp...

Page 10: ...nsors To demonstrate this the UC3 L0 Xplained board has one of each sensor one QTouch button and one QMatrix slider The design of the sensor defines if it is a QTouch or a QMatrix sensor One of each i...

Page 11: ...logging of QTouch data The QTouch HID firmware can be downloaded from ASF 2 2 x 6 2 More example projects For further exploration of the Atmel AT32UC3L064 device please see the application notes that...

Page 12: ...r the Atmel AVR32 GNU Toolchain and dbg or d82 for the IAR toolchain 7 1 AVR GNU Toolchain To make this project using AVR32 GNU Toolchain open the shell dos prompt and navigate to the gcc subfolder Ty...

Page 13: ...n as well as a 32k code size limited kick start version are available from the IAR website IAR Embedded Workbench for Atmel AVR32 http www iar com website1 1 0 1 0 124 1 8 2 Atmel AVR Software Framewo...

Page 14: ...bility and liability for proper and safe handling of the goods Further the user indemnifies Atmel from all claims arising from the handling or use of the goods Due to the open construction of the prod...

Page 15: ...gon 4 2 6 2 Atmel AVR JTAGICE mkII 4 2 6 3 Atmel AVR ONE 4 3 Board overview 5 4 Connecting the board 6 4 1 Connecting the Atmel AVR Dragon kit 6 4 2 Connecting the Atmel AVR JTAGICE mkII 6 4 3 Connect...

Page 16: ...16 Atmel AVR32931 32162A AVR 03 11 10 Table of contents 15...

Page 17: ...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 DIS...

Reviews: