[Top][All Lists]

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

[avr-libc-dev] [bug #21931] Wrong fuses defined for the ATMEGA88/168

From: Tim Bots
Subject: [avr-libc-dev] [bug #21931] Wrong fuses defined for the ATMEGA88/168
Date: Wed, 02 Jan 2008 12:10:19 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; nl; rv: Gecko/20071127 Firefox/


                 Summary: Wrong fuses defined for the ATMEGA88/168
                 Project: AVR C Runtime Library
            Submitted by: tim_bots
            Submitted on: Wednesday 01/02/2008 at 12:10
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



In the iom88.h and the iom168.h the extended fuse bytes are incorrect. The
fuse bytes defined are from the atmega48 (witch is in the same datasheet).

The current code:
/* Extended Fuse Byte */
#define SELFPRGEN ~_BV(0)  /* Self Programming Enable */
#define EFUSE_DEFAULT (0xFF)

and should be:
/* Extended Fuse Byte */
#define BOOTSZ1 ~_BV(2) /* Select boot size */
#define BOOTSZ0 ~_BV(1) /* Select boot size */
#define BOOTRST ~_BV(0) /* Select reset vector */
#define EFUSE_DEFAULT (0xF9)

Hope it's fixed in the next release (I didn't check the other header files)


Reply to this item at:


  Message sent via/by Savannah

reply via email to

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