Re: avrdude and fuse programming

Matt Everett <[email protected]> Fri, 16 May 2003 08:17:44 -0700 (PDT)
Newsgroups gmane.comp.hardware.avr.general
Message-ID <[email protected]>
Thanks for the info, Joerg.

BTW, is there anywhere that the terminal commands for
avrdude are documented?  Are the commands provided by
avrdude, or the avr itself?

Just curious...
-Matt

--- Joerg Wunsch <[email protected]> wrote:
> Matt Everett <[email protected]> wrote:
> 
> > Does anyone out there use avrdude and know how to
> properly program
> > fuses with it?  I can load my programs to my
> atmega32 just fine
> > (using a dt006 type programming cable), but my
> clock options are
> > stuck with the 1MHz internal oscillator until I
> can figure out how
> > to reprogram the fuse bits!
> 
> You program them as any other memory range.  The
> simplest method by
> now would be »terminal mode«:
> 
> avrdude ... -t
> avrdude> d lf
> 
> Should tell you 0xe1, which is the default for the
> fuse low byte.
> Setting this to 0xef should be for you, see the
> datasheet:
> 
> avrdude> w lf 0 0xef
> 
> avrdude> d hf
> 
> The fuse high byte, ought to be 0x99 by default. 
> Set it to 0x89 in
> order to set the CKOPT fuse (which is used for
> crystals > 1 MHz):
> 
> avrdude> w hf 0 0x89
> avrdude> q
> 
> -- 
> J"org Wunsch					       Unix support engineer
> [email protected]       
> http://www.interface-systems.de/~j/
> 
> _______________________________________________
> avr-chat mailing list
> [email protected]
> http://www.avr1.org/mailman/listinfo/avr-chat


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com