Stk503 & Stk504
Total Page:16
File Type:pdf, Size:1020Kb
R Introduction Atmel MCU Training - ASIA 2004 December 2004 The beginning R • AVR started as a student project / diploma thesis at NTNU (University of Trondheim) • In 91/92 the students Alf-Egil Bogen and Vegard Wollan started their idea of designing “a perfect RISC processor” • The results where a processor; with assembler and simulator. • They named it µRISC and it was used in several ASICs by a local ASIC company. • But in 1995 the time was right to market it as a dedicated product... 2 Atmel Corporation R • Atmel Corporation was choicen as partner; due to that they where, and still are, the worlds leading vendor of FLASH and EEPROM memories. • What could Atmel offer µRISC? − Technology µRISC could become one of the first microcontrollers with Flash program memory The competitors program memory where mainly EPROM or ROM − Semiconductor fabs Atmel had their own fabs Better control on production and technology − Established sales force Atmel was established in 1984 and had in 1995 a well founded world wide sales force. − Money It is expensive to develop new products... 3 µRISC changes name to AVR R • Bogen and Wollan makes a deal with Atmel on further development and sales of the µRISC − Extensive development is put into the µRISC and they change the name to AVR − The agreements target is to establish a yearly revenue of AVR products of $100mil within 5years • As a part of the agreement they establish Atmel Norway − Atmel Norway gets the main responsibility to develop and market the AVR microcontrollers • The first AVR is released in 1997 − AT90S1200 • Their goal of $100mil is achieved in 2002 4 AVR Historical Roadmap R 19972000 2004/2005 ASIC AVR TINY AVR TINY AVR RF AVR AVR AVR USB AVR AVR SECURE AVR MEGA AVR MEGA AVR FPGA AVR LCD AVR CAN AVR FPGA AVR 5 AVR Microcontroller Shipments R +49% +22% +24% +58% +180% +122% +181% 1997 1998 1999 2000 2001 2002 2003 2004 6 The AVR Product Family R • Family ranges from 1K to 256K devices − All devices based on same AVR architecture − All with FLASH program memory • One set of development tools − Reduces tools cost − Only one user interface to learn Code can be reused on all devices! 7 The World’s Leading 8-bit Architecture R • RISC architecture with CISC instruction set − Easy to learn and powerful instruction set for C and Assembly • Single cycle execution − One instruction per external clock − Low power consumption • 32 Working Registers − All registers are directly connected to ALU • Harvard Architecture − Simultaneous, fast access to memories 8 AVR Benefits with C R • Up to 50% smaller code size compared to other architectures • No code size penalty over assembly, at a fraction of the development time • Maintainable code with less engineering cost • Write code the way code should be written • Reusable code for future projects saves even more development time 9 ANSI C-Code Size Benchmarks R • 13 Customer Code Applications compiled • Averaged and accumulated indexes from all applications • All applications count evenly • Code Size compared in Kbytes 300 265 250 218 200 156 150 139 122 123 130 104 Codesize [%] Codesize 100 100 50 0 AVR HC12 MSP 430 HC11 H8/300H 78K/O 80C51 COP8 PIC18 Devices 10 AVR –Single-Chip Solution R TWI USART SPI EEPROM Analog Hardware OTP Memory Reference Multiplier Analog CPU CORE SRAM Temperature Comparator Sensor A/D Converter Register File I/O pins Brown Out Detector Output Driver Watchdog Many uC only give you this In- Circuit Emulator Programming Circuitry Test LCD driver Fixtures 11 AVR –Single-Chip Solution R TWI USART SPI Hardware Flash EEPROM Multiplier Analog CPU CORE SRAM Temperature Comparator Sensor A/D Converter Register File I/O pins Brown Out Analog Pull-Ups Detector Reference On Demand Reset High Current Output Circuitry Outputs Driver Programmable Calibrated Watchdog Oscillator On-Chip In System Debug Programming Boundary LCD JTAG Scan Interface LCD driver AVR Integrates Much More! 12 AVR Tools Overview R Starter Kits Compilers ••IARIAR Systems Systems ••CodeVisionCodeVision •ImageCraft •ImageCraft STK500 STK501 STK502 ••GCC-AVRGCC-AVR AVR Studio In System Programmers JTAGICE AVRISP JTAGICE mkII New AVR Device Emulator Platforms JTAGICE ICE40/50 JTAGICE mkII 14 AVR – Number One! R • Shortest Time to Market • Highest System Integration • Highest CPU Performance • Smallest Code Size • Most Secure Program Memory • Excellent Development tools This makes the AVR the World’s best selling Flash MCU! 15 Roadmap R Mega256¾ 256K Mega256¾ Mega2560Mega2560¾¾ Mega1281Mega1281¾¾ Mega1280Mega1280¾¾ CAN128CAN128¾¾ 128K Mega128Mega128 Mega649¾ Mega649¾ Mega6490¾ mega645mega645¾¾ Mega6490¾ CAN64¾ Mega6450¾ Mega644Mega644¾¾ CAN64¾ Mega6450¾ 64K Mega641Mega641¾¾ Mega64 Mega640Mega640¾¾ 40K Mega64 Mega406Mega406¾¾ CAN32CAN32¾¾ Mega3290¾ 32K Mega32Mega32¾¾ Mega3290¾ Mega3250Mega3250¾¾ Mega329Mega329¾¾ Mega325¾ Mega16¾ Mega325¾ Mega168¾ Mega16¾ Mega169¾ 16K Mega168¾ Mega162¾ Mega169¾ Mega162¾ Mega165Mega165¾¾ Mega8535Mega8535¾¾ PWM2PWM2¾¾ Mega8515¾ 8K Tiny85Tiny85¾¾ Tiny84Tiny84¾¾ Tiny86Tiny86¾¾ PWM1PWM1¾¾ Mega8515¾ Mega88Mega88¾¾ Mega8Mega8¾¾ Tiny45¾ Tiny44¾ Tiny46¾ PWM0¾ 4K Tiny45¾ Tiny44¾ Tiny46¾ PWM0¾ Mega48Mega48¾¾ Tiny25¾ Tiny24¾ Tiny28¾ FUTURE PARTS PART 2K Tiny25¾ Tiny24¾ Tiny26Tiny26¾¾ Tiny28¾ PART Tiny15Tiny15 Tiny13¾ EXISTING PARTS PARTPART 1K Tiny13¾ T2313T2313¾¾ Tny11Tny11 8641420 24 32 44 48 10016 Need Help? R • www.atmel.com/avr − Selection Guides, Flyers, Datasheets, Application Notes, FAQ, and Errata Sheets • 3rd party web sites like www.AVRfreaks.net − Atmel and Third Party Tools − AVR Experts Discussion Forum − Software, User Guides and Links − Design Notes and Reference Designs − Consultants, Distributors and Atmel Representatives • [email protected] − Customer Technical Support • [email protected] − Distributor and Atmel Technical Support 17.