Yahoo Groups archive

AVR-Chat

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

Thread

Problem setting fuse bits of ATMega8535 AVR

Problem setting fuse bits of ATMega8535 AVR

2006-09-14 by suresh_16001

Hello Friends
              I am newbee in AVR's. I started AVR 2 months back. 
However setting fuse bit for clok setting is still problem for me. I 
already burn 7 avr trying to set it for 8MHz cystal.I am using Pony 
Prog software to program AVR and ISP similar to one available on Pony 
Prog website. I am using Assembly language for programming on AVR 
Studio interface. I am using Fuse and Lock bit tool of Pony prog 
software to write by bits on the controller.Initial setting was 
BOOTSZ1,BOOTSZ2,SUT0,CKSEL3,CKSEL2,CKSEL1 ALL THESE CHECKED.
WHAT I DID WAS BOOTSZ1,BOOTSZ2,SUT0,CKSEL3 CHECKED .Thanks in advance 
for your support.

Re: [AVR-Chat] Problem setting fuse bits of ATMega8535 AVR

2006-09-15 by David VanHorn

The way atmel did the fuses is a bit confusing, and that may be what's going
on.

One thing to check that I didn't see mentioned, is that CKOPT needs to be
changed.  The default state enables a low power "vittoz mode" oscillator
that may or may not run with a given crystal, or worse, will run just barely
enough amplitude to clock most of the chip, most of the time.

I don't have pony prog, so I can't directly help you on the fuse settings.

NOTE TO TOOL MAKERS:  PLEASE PLEASE PLEASE Use nomenclature that is exactly
the same as the chip data sheets!


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

Re: [AVR-Chat] Problem setting fuse bits of ATMega8535 AVR

2006-09-15 by Erich Ludwig

Hi,

I burned 3 Atmega to transistor heaven before I saw that "checked" in PonyProg means "programmed", 
and "programmed" in the AVR datasheet means "0" while "1" means "unprogrammed".

Erich
Show quoted textHide quoted text
  ----- Original Message ----- 
  From: suresh_16001 
  To: AVR-Chat@yahoogroups.com 
  Sent: Thursday, September 14, 2006 12:20 PM
  Subject: [AVR-Chat] Problem setting fuse bits of ATMega8535 AVR


  Hello Friends
  I am newbee in AVR's. I started AVR 2 months back. 
  However setting fuse bit for clok setting is still problem for me. I 
  already burn 7 avr trying to set it for 8MHz cystal.I am using Pony 
  Prog software to program AVR and ISP similar to one available on Pony 
  Prog website. I am using Assembly language for programming on AVR 
  Studio interface. I am using Fuse and Lock bit tool of Pony prog 
  software to write by bits on the controller.Initial setting was 
  BOOTSZ1,BOOTSZ2,SUT0,CKSEL3,CKSEL2,CKSEL1 ALL THESE CHECKED.
  WHAT I DID WAS BOOTSZ1,BOOTSZ2,SUT0,CKSEL3 CHECKED .Thanks in advance 
  for your support. 



   

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

Re: [AVR-Chat] Problem setting fuse bits of ATMega8535 AVR

2006-09-15 by David VanHorn

On 9/15/06, Erich Ludwig <erich_ludwig@gmx.de> wrote:
>
> Hi,
>
> I burned 3 Atmega to transistor heaven before I saw that "checked" in
> PonyProg means "programmed",
> and "programmed" in the AVR datasheet means "0" while "1" means
> "unprogrammed".


That's what I was referring to, and changing the names of the fuses.
I have no problem with something like this:

(x)  CKOPT  Vittoz mode enable

But in the description of the fuse, the data sheet name needs to be used.
The programmer software should also use the data sheet terminology,
"Programmed" should be setting the fuse bits to zero.
Saying "1/0", or "set/Cleared" really adds confusion.


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

Re: [AVR-Chat] Problem setting fuse bits of ATMega8535 AVR

2006-09-15 by Jeffrey Engel

--- suresh_16001 <suresh_16001@yahoo.com> wrote:

> Hello Friends
>               I am newbee in AVR's. I started AVR 2
> months back. 
> However setting fuse bit for clok setting is still
> problem for me. I 
> already burn 7 avr trying to set it for 8MHz
> cystal.I am using Pony 
> Prog software to program AVR and ISP similar to one
> available on Pony 
> Prog website. I am using Assembly language for
> programming on AVR 
> Studio interface. I am using Fuse and Lock bit tool
> of Pony prog 
> software to write by bits on the controller.Initial
> setting was 
> BOOTSZ1,BOOTSZ2,SUT0,CKSEL3,CKSEL2,CKSEL1 ALL THESE
> CHECKED.
> WHAT I DID WAS BOOTSZ1,BOOTSZ2,SUT0,CKSEL3 CHECKED
> .Thanks in advance 
> for your support. 

Suresh,

I had an issue similar to yours and found that Pony
Prog indicated bit status 'backward'.  i.e. what
intuitively should have been '1' was '0' and
vice-versa.

If you have any new AVRs left, try just reading the
fuses.  The AVR documentation has the 'as shipped'
settings in there somewhere and you can compare the
two.

Anyway, that's the way I remember it. . .

HTH,

Jeff Engel
Arlington, TX


Happiness is - positive intake manifold pressure.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

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.