avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Fuses through programmer or through code?


From: Joerg Wunsch
Subject: Re: [avr-gcc-list] Fuses through programmer or through code?
Date: Fri, 17 Feb 2006 07:09:23 +0100 (MET)

Micah Carrick <address@hidden> wrote:

> ...  I understand that this fuse can be programmed using the
> programmer, however, I was wondering if it could also be done
> through code--that is, have the source code specify the fuses, not
> the programmer.

Well, technically, it must always be the programmer to set them.

We've been contemplating off and on a way to specify them inside the
source code, so you could e. g. say

FUSES(0xe1, 0x11, 0xff);

but so far, nobody has implemented such a scheme.  It would require
some minimal changes to the infrastructure (namely the linker scripts,
and avrdude to accept a single combined "fuse" memory space), and it
will be a lot of work to add symbolic names for each fuse to each
device's <avr/io.h> file.  Other than this, it's perfectly possible to
implement -- but not done yet.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]