I suspect you might have set CKSEL to '0000' which selects external clock. Try to use a crystal oscillator or build you own and feed the clock to XTAL1 pin. An alternative is to use a AVR chip with CKOUT like ATmega48/88/168/165. William Lai MCU ProShop http://www.mcuproshop.com --- Ralph Hilton <ralph@ralphhilton.org> wrote: > On Tue, 19 Jul 2005 03:06:16 -0000 you wrote: > > >--- In AVR-Chat@yahoogroups.com, Ralph Hilton > <ralph@r...> wrote: > >> On Mon, 18 Jul 2005 18:21:09 -0000 you wrote: > >> > >> >Dear everybody! > >> >I have some problem with ATmega64.when I set its > Fuse_bits to use > >an > >> >external cristal(7.32 MHz)as system clock, it > goes wrong and I > >can't > >> >reprogram it through ISP any more.can anyone > help me? > >> >thanks! > >> > >> Which fuse bits are you setting exactly? Is your > xtal wired with 2 > >capacitors? > >> What are you programming with? > >> -- > >> Ralph Hilton > >> http://www.ralphhilton.org > >> C-Meter: http://www.cmeter.org > >> FZAOINT http://www.fzaoint.net > > > >I set cksel 3..0 and ckopt unprogramed(1), with two > 22pf capacitors. > >I'm writing my programs with codevision2.38 and > proram it with > >ponyprog. > > I had a lot of problems with Ponyprog. I suspect > that your problem wil go if you use an STK500 or > AVRISP with AVRstudio or the programmer built into > CVAVR. > -- > Ralph Hilton > http://www.ralphhilton.org > C-Meter: http://www.cmeter.org > FZAOINT http://www.fzaoint.net > ____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs
Message
Re: [AVR-Chat] Re:Re: Atmega64 external cristal
2005-07-19 by William LAI
Attachments
- No local attachments were found for this message.