Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] avr programming

2012-01-22 by Jim Wagner

Even more important is to verify whether or not you can read the device signature bytes. 

If you cannot, there are several possible reasons:

1) Bad wiring
2) Bad programmer settings
3) Programmer set for too high clock rate compared to MCU clock. Programmer clock must be less than 1/4 the frequency of the MCU clock.
4) Previous fuse setting which no longer gives an operating clock for the MCU.

By far, the last is very common. The usual solution is to add a low frequency external oscillator to drive the X1 pin. That will provide a clock for all of the fuse error settings. Be sure to set the programmer clock to less than 1/4 the frequency of the external clock.

Jim Wagner
Oregon Research Electronics

On Jan 21, 2012, at 7:56 PM, Dave McLaughlin wrote:

> Can you post the fuse settings you are using?
> 
> Most of the time the reason an AVR does not work it because the fuse
> settings for the osc are wrong. My client had this very issue with a
> programmer he purchased.
> 
> Check your fuse settings:
> 
> Dave...
> 
> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
> Of Jim Wagner
> Sent: 22 January 2012 05:59
> To: AVR-Chat@yahoogroups.com
> Subject: Re: [AVR-Chat] avr programming
> 
> If its not "working", then it is very likely that you have NOT programmed
> it.
> 
> Jim
> On Jan 21, 2012, at 2:17 PM, sania safdar wrote:
> 
> > im nt using ISP with g540 i just have these two options for programing 
> > i hv programed atmega88 dip using g540 but its nt working
> > 
> > 
> > Best Regards
> > Sania Safdar
> 
> 



[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.