BeRTOS
flash_avr.c File Reference

Self programming routines. More...

#include "flash_avr.h"
#include "cfg/cfg_emb_flash.h"
#include <cfg/macros.h>
#include <cfg/compiler.h>
#include <cfg/debug.h>
#include <cpu/irq.h>
#include <cfg/log.h>
#include <drv/wdt.h>
#include <drv/flash.h>
#include <io/kfile.h>
#include <io/kfile_block.h>
#include <io/kblock.h>
#include <avr/io.h>
#include <avr/boot.h>
#include <avr/pgmspace.h>
#include <string.h>

Go to the source code of this file.


Detailed Description

Self programming routines.

Author:
Francesco Sacchi <batt@develer.com>
Daniele Basile <asterix@develer.com>

This module implements a kfile-like access for Atmel avr internal flash. Internal flash writing access is controlled by BOOTSZ fuses, check datasheet for details.

Definition in file flash_avr.c.