avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] avrdude setting internal osc


From: Ormund Williams
Subject: Re: [avr-chat] avrdude setting internal osc
Date: Wed, 16 Jan 2008 21:07:56 -0500

On Wed, 2008-01-16 at 15:47 -0600, Dean Hall wrote:
. . .
> I had a working ATmega8 system running with an internal oscillator at  
> the default rate of 1 MHz.  My customer wants to run at 8 MHz, so I  
> used avrdude to set the fuse bits like this:
> 
> $ avrdude -p atmega8 -P /dev/cu.KeySerial1 -c stk500v2 -V -t
> avrdude> write lfuse 0 0xE8
>  >>> write lfuse 0 0xE8
                     ^^^^
You've set the chip to use an external oscillator

> I have tried setting the bit clock by adding this to the command  
> line, "-B 1.0" on up to "-B 4.0" with no luck.  I have tried chip  
> erase "-e" with no luck.  Is there a way for me to re-establish comms  
> with the ATmega8?  Resetting the fuses to defaults would be nice.
> 
The ISP feature needs the oscillator running, avrdude cant do any thing
without that.  What you need is an external frequency source connected
to PB6(XTAL1), I once used an audo signal generator running at 10KHz and
"-B 1000".

__
Ormund







reply via email to

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