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: Larry Barello
Subject: Re: [avrdude-dev] Creating batch files for programming AVRs
Date: Thu, 17 Apr 2003 08:44:26 -0700

It would be nice if the fuse values could be specified on the command
line so that batch files could have human readable fuse settings for
the target processor.  The way it is done on the STK500 is very
convenient...

Perhaps the -i option could parse file names of the form "0xXX" as
byte values rather than file names?   Or, perhaps the unix notion of
stdin could be hijacked to read from the command line.  I.e.
avrdude -p ... -c .. -fr -m hfuse - 0xD9

If it is a file containing the fuse settings, it would be nice to make
them symbolic.  As it is I have to use STK500 to set my bits (I can't
seem to parse the data sheets...) find out what bytes it uses and then
copy that to my makefile for production.


----- Original Message -----
From: <address@hidden>
To: <address@hidden>
Sent: Thursday, April 17, 2003 8:28 AM
Subject: Re: [avrdude-dev] Creating batch files for programming AVRs


> > 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.
>
> Ok, that's what I assumed ;-) I thought there would be an easier way
with
> direct Byte values, e.g.
>         avrdude -p ... -c .... -m hfuse 0xd9 or something else
>
> or even better a file containing all fuse settings...
>
> Thanks
>
> Alexander
>
> --
>
>
> +++ GMX - Mail, Messaging & more  http://www.gmx.net +++
> Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!
>
>
>
> _______________________________________________
> avrdude-dev mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/avrdude-dev
>





reply via email to

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