Hands on Experience with AVR32

Similar documents
AVR32 Studio Tutorial AVR32 UC3. EVK1100 Control Panel Tutorial

FriendlyARM. Mini2440.

MICROPROCESSOR BASED SYSTEM DESIGN

MYD-SAMA5D3X Development Board

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

First Step From Download to the Programming

Mega128-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

LPC1788 Mio Board. The functional details of the board are as follows-

EasyAVR6 Development System

AVR XMEGA TM. A New Reference for 8/16-bit Microcontrollers. Ingar Fredriksen AVR Product Marketing Director

ATmega128. Introduction

AT91SAM9G45 EVK Board

Intel Galileo gen 2 Board

EMBEDDED HARDWARE. Core Board. ARM7 Development board. ARM7 Evaluation Board. Page 1 of 5

AT-501 Cortex-A5 System On Module Product Brief

Arduino Uno R3 INTRODUCTION

Freescale Semiconductor Inc. TWR-MCF51CN User Manual Rev. 1.2

Introduction to ARM LPC2148 Microcontroller

MYD-IMX28X Development Board

MYD-SAM9X5 Development Board

AVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.

ARDUINO MEGA INTRODUCTION

Microcontroller basics

Mega128-Net Mega128-Net Mega128 AVR Boot Loader Mega128-Net

AVR MICROCONTROLLER PROJECT TUTORIAL E-PUB

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

RDB1768 Development Board User Manual

VLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab

Future Designs, Inc. Your Development Partner LCD DEMO KITS

MYD-IMX28X Development Board

The Atmel-ICE Debugger

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

MYD-JA5D2X Development Board

LinkSprite Technologies,.Inc. pcduino V2

EasyPIC5 Development System

3.3V regulator. JA H-bridge. Doc: page 1 of 7

[MG2420] MCU Module Datasheet. (No. ADS0705) V1.0

pcduino V3B XC4350 User Manual

empower Evaluation and prototyping platform for SEGGER software User Guide & Reference Manual

TEVATRON TECHNOLOGIES PVT. LTD Embedded! Robotics! IoT! VLSI Design! Projects! Technical Consultancy! Education! STEM! Software!

Atmel AVR1924: XMEGA-A1 Xplained Hardware User's Guide. 8-bit Atmel Microcontrollers. Application Note. Preliminary. Features.

LPC1788 Mio Board. User Manual. Revision 1.0 1

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

AK-STM32-ETH Development Board

Clicker 2 for Kinetis

COM-RZN1D - Hardware Manual

MYD-C437X-PRU Development Board

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

Freescale Semiconductor Inc. Microcontroller Solutions Group. TWR-MCF51CN User Manual Rev. 1.1

RX62N BOARD User Manual

AVR- M16 development board Users Manual

Glomation. Evaluation Carrier Board GECB-9GX5 Quick Start Guide

Atmel AVR1912: Atmel XMEGA-B1 Xplained Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features.

AVR Development Tools. Shenzhen April 2005

Advanced Microcontrollers Grzegorz Budzyń Extras: STM32F4Discovery

Extending startkit using the PCIe slot and slicecards

Table of Contents TABLE OF CONTENTS...1

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

CourseContents: 1.Introduction to MATLAB. 2. Handling data and data flow in MATLAB. 3. Editing and Debugging M-FILES

AVR-TLCD-128CAN development board Users Manual

Amarjeet Singh. January 30, 2012

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

CoiNel Technology Solutions LLP. LPC2148 ARTIST Instruction Manual LPC2148 ARTIST. Instruction manual. Revision 1

An Arduino Controlled 1 Hz to 60 MHz Signal Generator

Lesson 6 Intel Galileo and Edison Prototype Development Platforms. Chapter-8 L06: "Internet of Things ", Raj Kamal, Publs.: McGraw-Hill Education

Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.

Ali Karimpour Associate Professor Ferdowsi University of Mashhad

Wireless Sensor Networks. FireFly 2.2 Datasheet

The Atmel ATmega328P Microcontroller

AVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab

Various power connectors. 3.3V regulator. 64K Flash (Internal) 2K EEPROM (Internal) 4K SRAM (Internal) JA Mem Adr/ Data. Doc: page 1 of 9

Lab 1 Introduction to Microcontroller

MYD-Y6ULX Development Board

DevKit7000 Evaluation Kit

Getting Started With the Stellaris EK-LM4F120XL LaunchPad Workshop. Version 1.05

MINI DEVELOPMENT BOARD AVR USERS GUIDE ATMEGA32. make your own intelligent embedded world...

ARDUINO BOARD LINE UP

Agilent N2533A RMP 4.0 Remote Management Processor Data Sheet

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

ET-AVR START KIT V 1.0 / EXP

SBC8140 Single Board Computer

Uzebox JAMMA. Operation manual. (For Uzebox JAMMA Rev. C devices)

MYC-SAMA5D3X CPU Module

Diploma in Embedded Systems

Spartan -3A / Spartan -3AN Out of the box, now what? Eric Crabill Xilinx, Incorporated 04/01/2007

Embest SOC8200 Single Board Computer

MT2 Introduction Embedded Systems. MT2.1 Mechatronic systems

7/12/2012. FS2009USB - Portable In-System (ISP) Programmer for ARM microcontrollers

参考資料. LinkSprite.com. pcduino V2

Objective: Additional project details: Code: PSEMBP 100 Category:STEM Level: High School/Community C.

ARDUINO LEONARDO ETH Code: A000022

ICnova SAMA5D37 SODIMM Datasheet

Infrastructure Components for Wireless Sensor Networks. Kerstin Gerhardt SSV Embedded Systems Heisterbergallee 72 D Hannover

ArduCAM CC3200 UNO board

Lab Course Microcontroller Programming

USER GUIDE. ATmega328P Xplained Mini User Guide. Introduction

LPC2148 DEV BOARD. User Manual.

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

MegaAVR-DEVelopment Board Progressive Resources LLC 4105 Vincennes Road Indianapolis, IN (317) (317) FAX

Transcription:

Hands on Experience with AVR32 By: Mazhar Hussain mazhar.hussain @miun.se Muhammad Amir Yousaf 1

Tutorial Overview Introduction to AT32UC3A0512 (µ-controller) µ-controller Sensors Display Peripherals AVR Studio Getting Started Workspace creation Project creation Project building Target creation and Loading Program 2

µ-controller KIT Sensors Display Peripherals Published BY ATMEL 3

Lowest power Consumption (2xAA battery=19years) High Speed Clocked upto 66Mhz µ-controller KIT Sensors Display Peripherals Support High data throughput. High Speed Communication Interfaces USB up to 480 Mbit/s Ethernet up to 100 Mbit/s SPI up to 33 Mbit/s SSC up to 33 Mbit/s (I2S) USART up to 33 Mbit/s UART up to 4 Mbit/s I/O pin toggle up to 33 MHz One 8-channel 10-bit Analog-To-Digital Converter 4

µ-controller KIT Sensors Display Peripherals Published BY ATMEL 5

Introduction to Development Board µ-controller KIT Sensors Display EVK1100 Peripherals Evaluation kit and development system for the AVR32UC3A family EVK1100 is a fully functional embedded computer system. Circuit board has a flexible power system that accepts 8-20V DC input and can be operable via USB port. The EVK1100 embeds an Atmel Data flash (8MBytes) and a SDRAM (32MBytes). Several communication interfaces are available on the EVK1100: RS232, USB and ETHERNET. 6

µ-controller KIT Sensors Display Peripherals Sensor Name GPIO Names Alt. Function Used Light PA 23 ADC2 Temperature PA21 ADC0 Potentiometer PA22 ADC1 7

4x20 LCD to Design Human to Machine Interface for Soft. Development µ-controller KIT Sensors Display Peripherals LCD Pin GPIO Name Alt. Function 5 PA16 SPI1_MOSI 7 PA17 SPI1_MISO 6 PA15 SPI1_CLK 4 PA19 SPI1_CS2 18 PA18 PWM_6 8

On Board Peripherals: USB (2.0 mini A-B receptacle) Ethernet (External Ethernet Phy 10/100 and RJ45 connector) Atmel DataFlash (8 MBytes) SDRAM (32 MBytes) USARTs (Dual) LEDs on board (Six) Push Buttons (Three excluding Reset Push button) Joystick SD/MMC slot SPI (Two SPI interface one is dedicated for LCD one free) TWI (Two wire Interface) µ-controller KIT Sensors Display Peripherals 9

µ-controller KIT Sensors Display Peripherals A JTAG connector is provided to interface JTAGICE mkii (Programmer and debugger). EVK1100 provides three clock inputs for controller Main clock Oscillatior i.e 12MHz A spare clock Oscillator i.e 12MHz RTC clock at 32.768 KHz Block Diagram EVK1100 10

Expansion Connectors: >>SSC, PWM output 0 to 6,Timer A and timer B,TWI,ADC inputs line 0 to 7, SPI 0 to 1,USART 0 to 3,MAC,GPIO µ-controller KIT Sensors Display Peripherals 11

Tutorial Overview Introduction to Development Board µ-controller Sensors Display Peripherals AVR Studio Getting Started Workspace creation Project creation Project building Target Creation and Loading Program 12

AVR Studio Getting Started Start -> Program -> Atmel AVR Tools -> AVR32 Studio Workspace creation Project creation Project building Target Creation & Loading program 13

14

Running an Example Project Click File >> New >> Project >>AVR32 Example Project Workspace creation Project creation Project building Target Creation & Loading program Running your own Project Click File >> New >> Project >>AVR32 C Project From Template 15

Building a Project Select the project from the project plan (on left side of the window) and right click Click Build Project Workspace creation Project creation Project building Target Creation & Loading program Build complete for project myproject Debug directory will be added in the workspace myproject.elf will be created in the Debug directory and is ready to be loaded in the controller 16

For Programming EVK1100 there are three listed methods available, (Note: we can use two among them) In system Programming (ISP) Programming Via JTAG port Self Programming via One chip BOOT program Tool for using programming is JTAG or USB cable (for ISP) JTAG ICE mkii Workspace creation Project creation Project building Target Creation & Loading program 17

For Programming EVK1100 we need to add a Target Scan the target as shown in Picture Workspace creation Project creation Project building Target Creation & Loading program 18

Configure the target device i.e JTAGICE mkii for downloading your program Workspace creation Project creation Project building Target Creation & Loading program 19

Loading Code in the Micro-controller Loading through USB DFU Loading through JTAG On EVK1100 Press the joystick downwards and hold it. Now press the re-start button to put the device in programming mode Workspace creation Project creation Project building Target Creation & Loading program On AVR Studio Right-click on target for USB-programming and click program. Browse the target file and press ok in newly appeared window to start loading the program 20

Loading Code in the Micro-controller Loading through JTAG Workspace creation Project creation Project building Target Creation & Loading program Right click on JTAGICE mkii and click on Program. Browse the target.elf file and press ok to start loading 21

Thanks 22