Go to GlobalSpec.com Home
Alert   Product Alerts
Keep current on the latest products, new suppliers, and technical articles of interest to you. (See Topics)

AVR109: Self Programming

From Atmel Corporation
 

 

This application note describes how an AVR with the Store Program Memory (SPM) instruction can be configured for Self-programming. The sample application communicates via the UART with a PC running the AVR Open Source Programmer (AVROSP) from Application note AVR911. This enables Flash and EEPROM programming without the need for an external programmer. The code is also compatible with AVRProg (only for devices supported by AVRProg).

A Boot Loader program is placed inside the Boot Section of the Flash memory. This program handles communication with the host PC, and facilitates programming of both Flash and EEPROM. Once programmed, different levels of protection can be individually applied to both the boot and application portion of the Flash memory. The AVR thus offers a unique flexibility, allowing the user extensive degrees of memory protection.


Products & Services
Smart card chips contain a microprocessor and/or memory. They are embedded in smart cards; portable devices that resemble credit cards but are used in applications such as banking and health care. Search by Specification | Learn more about Smart Card Chips
Digital signal processors (DSPs) are specialized microprocessors designed specifically for digital signal processing, usually in real-time. DSPs can also be used to perform general-purpose computations, but are not optimized for this function. Search by Specification | Learn more about Digital Signal Processors (DSP)
Microcontrollers (MCU) are complete computer systems on a chip. They combine an arithmetic logic unit (ALU), memory, timer/counters, serial port, input/output (I/O) ports and a clock oscillator. Search by Specification | Learn more about Microcontrollers (MCU)
Microprocessor chips (MPU) are silicon devices that serve as the central processing unit (CPU) in computers. They contain thousands of electronic components and use a collection of machine instructions to perform mathematical operations and move data from one memory location to another. Search by Specification | Learn more about Microprocessor Chips (MPU)

Product Announcements
Data I/O Corporation - ImageWriter-300 Modular In-System Programmer
ImageWriter-300 is a modular in-system programmer that provides fast, reliable programming of flash microcontrollers and serial memory devices already mounted on the circuit board... (read more)
Atmel Corporation - Atmel's AVR ONE! High-End Development Tool Improve
AVR® ONE! high-end debugger for AVR® and AVR32 microcontrollers. Atmel is committed to offer quality development tools at an affordable price. (read more)
GE Fanuc Intelligent Platforms - Intelligent High-Performance Packet Processor
The WANic™ 56511 is an intelligent, high performance Packet Processor based on the OCTEON™ Plus multi-core processor. Ideal for IP communications networks, the WANic packet processor can... (read more)
Data I/O Corporation - Flash Media Duplication (FLX-FMD) System
Whether you use flash memory cards or other flash-based memory or microcontroller devices, Data I/O's Flash Media Duplication (FLX-FMD) System is a versatile, one-stop solution that satisfies all... (read more)
Atmel Corporation - AVR-based 2.4 GHz Wireless Evaluation Kit
AVR® RZ Raven evaluation kit provides designers a unique ready-to-use development platform in the rapidly growing low power wireless market for the 2.4GHz ISM frequency band available worldwide. (read more)
Data I/O Corporation - FlashPAK II™ Networked Programming System
The FlashPAK II™ Networked Programming System supports the latest high-density Flash memory, NAND Flash, Microcontroller and EEPROM devices at maximum programming speeds and highest quality per... (read more)
Duncan Instruments Canada, Ltd. - New High Speed Device Programmer
SUPERPRO 5000 is an ultra-high speed standalone universal device programmer with a 144 pin universal pin driver. Large (48000) device support and ultra-high speed (11.3sec for 64MB NOR FLASH)... (read more)
Atmel Corporation - AVR MCUs Combine USB, Battery Charging and Analog
New AVR® microcontrollers combine USB controller and high performance analog features. The ATmega16U4 and ATmega32U4 reduce system cost in battery powered devices such as gaming accessories. (read more)

Topics of Interest
A.9 In-system Programming the AVR AT90S8535 The internal flash and EEPROM memory of many of the AVR microcontrollers can be programmed "in system", without removing the circuit from its socket,... (Read More)
This application note describes how to implement a KEELOQ stand-alone programmer using a Microchip PIC16F84A microcontroller. The PIC16F84A is a FLASH microcontroller with 64 bytes of internal EEPROM... (Read More)
AN1094 Bootloader for dsPIC30F/33F and PIC24F/24H Devices SYSTEM CONCEPT Author: Leonard Elevich and Veena Kudva Microchip Technology, Inc. The bootloader target application is located in the... (Read More)
The Flash memory on all Silicon Labs MCU devices is readable and writable from application code. This capability allows user software to store values to the Flash such as calibration constants or... (Read More)
The third-generation Flash microcontrollers from Atmel are now available. These microcontrollers offer self-programming Flash. The microcontroller can write to its own program memory when running code... (Read More)