URL:
<http://savannah.nongnu.org/bugs/?21931>
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
_______________________________________________________
Details:
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:
<http://savannah.nongnu.org/bugs/?21931>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev