Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] Re: keypad and mega64

2004-04-16 by Brian Dean

Hi Chris,

On Fri, Apr 16, 2004 at 01:56:39AM -0000, chrisatwan2000 wrote:

> I checked my fuses with AVR Studio and the following fuses are set:
> 
> BOOTSZ=11
> BODLEVEL=1
> CKSEL=1111 SUT=11
> 
> Any ideas??

The above fuses are in the low fuse byte.  You want to look at the
"high" fuse byte - the JTAGEN bit is bit number 6.

In Atmel terminalogy, a fuse is "set" or "programmed" if it is '0'.
It is "unset" or "unprogrammed" if it is a "1".  However, I think in
AVR Studio, a check mark on the fuse setting sets it to a "0", i.e.,
programs the fuse.

Look at the high fuse byte, specifically bit number 6.  If it is a
zero, then the JTAG debugging interface is enabled.  If it is a one,
then it is disabled.  It is enabled by default, so unless you disabled
it, it is most likely still enabled.  If it is enabled, then that
would most likely explain the problems with your program not getting
the expected results when using PORTF.

For more info, the "Memory Programming" section of the ATmega128
datasheet.  The high fuse byte is described on page 292 in the version
I have.

-Brian
-- 
Brian Dean
http://www.bdmicro.com/

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.