bugAVR C Runtime Library - Bugs: bug #21931, Wrong fuses defined for the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #21931: Wrong fuses defined for the ATMEGA88/168

Submitter:  Tim Bots <tim_bots>
Submitted:  Wed 02 Jan 2008 12:10:18 PM UTC
   
 
Category:  Header Severity:  5 - Blocker
Priority:  7 - High Item Group:  Header files
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Wed 02 Jan 2008 12:26:49 PM UTC, comment #1: 

Update:

The iom88p.h and the iom168p.h have the same bug.

Tim Bots <tim_bots>
Wed 02 Jan 2008 12:10:18 PM UTC, original submission:  

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)

Tim Bots <tim_bots>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arcanum (Updated the item)
  • -email is unavailable- added by tim_bots (Submitted the item)
  •  

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-01-06 arcanum StatusNone Fixed
        Percent Complete0% 100%
        Open/ClosedOpen Closed
    2008-01-02 arcanum Severity3 - Normal 5 - Blocker
        Priority5 - Normal 7 - High
        Assigned toNone arcanum

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code