avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Creating batch files for programming AVRs


From: Brian Dean
Subject: Re: [avrdude-dev] Creating batch files for programming AVRs
Date: Thu, 17 Apr 2003 09:12:39 -0400
User-agent: Mutt/1.4.1i

On Thu, Apr 17, 2003 at 10:42:35AM +0200, address@hidden wrote:

> I've another question: How can I create a batchfile to programme all areas
> in a megaAVR in one go?
> 
> Erasing, programming flash and eeprom is no problem in a batch file, but how
> can I get access to the fuse bits outside the terminal mode?

As Joerg said, these occupy their own memory regions.  For now, you
could create a single byte file for each fuse byte to be programed and
then use the command line like this, for example:

        avrdude -p ... -c ... -f r -m hfuse -i hfuse.bin

Where hfuse.bin is a file 1 byte long that contains your fuse bit
settings that you want.

Repeat the above for the other fuse bits.

-Brian
-- 
Brian Dean
address@hidden
http://www.bsdhome.com/
http://www.bdmicro.com/




reply via email to

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