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: HeaderSeverity: 5 - Blocker
Priority: 7 - HighItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Jan 2008 07:17:29 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Open/ClosedOpen=>Closed
    Wed 02 Jan 2008 08:06:00 PM UTCarcanumSeverity3 - Normal=>5 - Blocker
      Priority5 - Normal=>7 - High
      Assigned toNone=>arcanum

    Back to the top


    Powered by Savane 3.1-cleanup1