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

 
 

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

Submitted by:  Tim Bots <tim_bots>
Submitted on:  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:  Eric Weddington <arcanum>
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Add a New Comment (Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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.)

Attach Files:
   
   
Comment:
   

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.5