ATtiny2313 Fuse Programming CS-423 Dick Steflik. Whats a Fuse Fuses are used to hold important configuration information for the MPU Not really a fuse,

Slides:



Advertisements
Similar presentations
Introduction to PIC Microcontrollers
Advertisements

MC68HC11 System Overview. System block diagram (A8 version)
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
555 Timer ©Paul Godin Updated February Oscillators ◊We have looked at simple oscillator designs using an inverter, and had a brief look at crystal.
Intro to AVR ATtiny2313 CS423 Dick Steflik. AVR ATtiny2313.
Fuses and Lock Bits The ATMega128 has several special memory areas -Six lock bits which determine program memory features. -Three fuse bytes which determine.
Micro-controller or embedded controller
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
The Cortex-M3 Embedded Systems: LM3S9B96 Microcontroller – System Control Refer to Chapter 6 in the reference book “Stellaris® LM3S9B96 Microcontroller.
NS Training Hardware. System Controller Module.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Lecture – 6 PIC18 Family Hardware Specifications 1.
AVR Reset Sources When a reset event occurs.... -I/O registers set to initial values immediately -internal delay stretched to allow power to stabilize.
Microprocessor based Design for Biomedical Applications MBE 3 – MDBA II : The ATmega8 Basic Features (1)
Component research Nick Klein. Ultrasonic Parallax sensor – A single I/O pin is used to trigger an ultrasonic burst (well above human hearing) and then.
System Clock, Crossbar and GPIO
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
System Clocks.
Parallel Ports, Power Supply and the Clock Oscillator Material to be covered  Parallel I/O ports  Interfacing external switches and LEDs  Clock Oscillator.
1 AVR Session 2 Master : Dr.jafari Authors: M.H Edrisi, hadi.edrisi yyyy aaaa hhhh oooo oooo.... cccc oooo mmmm.
16F877A. Timer 0 The Timer0 module timer/counter has the following features: –8-bit timer/counter –Readable and writable –8-bit software programmable.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
 Down-to-earth  Minimum number of hurdles  Able to get started quickly.
بسمه تعالي AVR Microcontrollers. The ATmega8 Basic Features -1.
RX Voltage Detection Circuit (LVD) and Power-On Reset (POR)
CHAPTER HARDWARE CONNECTION. Pin Description 8051 family members ◦ e.g., 8751, 89C51, 89C52, DS89C4x0) ◦ Have 40 pins dedicated for various functions.
MCS51 - lecture 6. Lecture 6 1/32 Extending MCS51 system Built-in peripherals MCS51 family.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Architecture and instruction set. Microcontroller Core Features:  Operating speed: DC - 20 MHz clock input DC ns instruction cycle Up to 8K x.
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose This course provides an introduction to the peripheral functions.
S4525A Peripherals & Enhanced FLASH 1 © 1999 Microchip Technology Incorporated. All Rights Reserved. S4525A Peripherals & Enhanced FLASH 1 Peripherals.
Features of the PIC18 microcontroller - 8-bit CPU - 2 MB program memory space (internal 32KB to 128KB) bytes to 1KB of data EEPROM - Up to 4096 bytes.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Components of a typical full-featured microcontroller.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
NAM S.B MDLAB. Electronic Engineering, Kangwon National University 1.
Criteria for choosing a microcontroller A microcontroller must meet the task at hand efficiency and cost effectively. Speed. What is highest speed of.
Special Features. Device Configuration bits Revision Device Configuration bits Revision On-chip Power-on Reset (POR) Revision On-chip Power-on Reset (POR)
TITLE: 555 Timer OM INSTITUTE OF TECHNOLOGY Subject: Analog Electronics ( ) Semester: 03 Prepared By:
Bootloaders Many embedded processors have flash memory. This allows us to alter a product even though it is in the users hands: -fix bugs -upgrade or enhance.
10- Lock Bits, Fuse Bits and Boot Loader. Boot Loader Support – Read-While-Write Self- Programming: The Boot Loader Support provides a real Read-While-Write.
USING TV REMOTE AS A CORDLESS MOUSE FOR THE COMPUTER
CORDLESS MOUSE FEATURES BY TV REMOTE USING PIC MICROCONTROLLER
16F877A.
Embedded Systems Programming
PIC CONTROLLED DYNAMIC TIME BASED CITY TRAFFIC SIGNAL
Bootloaders Many embedded processors have flash memory. This allows us to alter a product even though it is in the users hands: -fix bugs -upgrade or.
Networking of Multiple street junction signals for better traffic management Submitted by:
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
555 Timer EEE DEPARTMENT KUMPAVAT HARPAL( )
Refer to Chapter 5 in the reference book
DENSITY BASED TRAFFIC LIGHT TIMING CONTROL
Reset Sources and Watchdog Timer
SYNCHRONIZED TRAFFIC JUNCTION SIGNALING (GET GREEN SIGNAL ALL-THROUGH AT ANY STREET JUNCTION)-A NEW CONCEPT TO EASE TRAFFIC CONGESTION IN METROS Submitted.
Project Title EVM IN PIC Under the Guidance of Submitted by.
میکرو کنترلر های AVR مدرس: بهمن پور
The Arduino Microcontroller: Atmel AVR Atmega 328
Introduction to Microprocessors and Microcontrollers
8254 Timer and Counter (8254 IC).
Introduction to the Atmel AVR Butterfly
Jeremy Reed ATMEL AT24C512 2-wire Serial EPROM Jeremy Reed
Fuse Bits And Clock Sources
Important 8051 Features On chip oscillator 4K bytes ROM 128 bytes RAM
AVR – ATmega103(ATMEL) Architecture & Summary
8051 Micro Controller.
Snowman pcb design workshop – Breadboarding / Programming ATTiny85
Mark Bristow CENBD 452 Fall 2002
NS Training Hardware.
Presentation transcript:

ATtiny2313 Fuse Programming CS-423 Dick Steflik

Whats a Fuse Fuses are used to hold important configuration information for the MPU Not really a fuse, just a few really important bytes of memory  1 means unprogrammed, 0 means programmed  unlike a fuse they can be reprogrammed  on the ATtiny2313 there are 3 fuse bytes low byte (lbyte)‏ high byte (hbyte)‏ extended byte (ebyte)‏

Low Byte 7 (0) – CKDIV8 – Divide Clock by 8 6 (1) – CKOUT – Output clock on CKOUT pin 5 (1) – SUT1 – Select start-up time 4 (0) – SUT0 – Select start-up time 3 (0) – CKSEL3 – Select clock source 2 (1) – CKSEL2 – Select clock source 1 (0) – CKSEL1 – Select clock source 0 (0) – CKSEL0 – Select clock source

Note: Default Low Byte Default Low Byte value is 0x64  Divide clock by 8  Internal RC Oscillator (8 MHz)‏  This means default speed is 1 MHz

Select Start-up time Default value (1 0) results in Maximum start-up time

Clocking Options- CKSEL – External Clock 0010 – Internal RC Oscillator (4 Mhz)‏ 0100 – Internal RC Oscillator (8 Mhz)‏ 0110 – Watchdog Oscillator (128 KHz)‏ – External Chrystal/Ceramic Resonator 0001,0011,0101, Reserved

High Byte 7 (1) – DWEN – debugWIRE Enable 6 (1) – EESAVE – EEPROM is preserved during chip erase 5 (0) – SPIEN – SPI Enable 4 (1) – WDTON – Watchdog timer always on 3 (1) – BODLEVEL2 – brownout detector trig level 2 (1) – BODLEVEL1 – brownout detector trig level 1 (1) – BODLEVEL0 – brownout detector trig level 0 (1) – RSTDISBL – External Reset disable

Brownout Detection Trigger Level The ATtiny2313 has an On-chip Brown-out Detection circuit that monitors Vcc to fixed trigger levels Programmed by BODLEVEL 2..0 Fuses BOD disabled v v v

Extended Byte 7 (1) – not used 6 (1) – not used 5 (1) – not used 4 (1) – not used 3 (1) – not used 2 (1) – not used 1 (1) – not used 0 (1)– SELFPRGEN – Self programming Enable

Fuse Programming Can be done through the Studio GUI if you are using the Atmel programmer AVRDUDE & Parallel Port programmer  Use the -U option as follows: Avrdude -p Attiny2313 -c dapa -v -U lfuse:w:0xE4