bugAVR C Runtime Library - Bugs: bug #26755, boot.h and ATMega48 and missing...


bug #26755: boot.h and ATMega48 and missing SIGRD

Submitted by:  RaceMouse <racemouse>
Submitted on:  Mon 08 Jun 2009 05:17:32 AM UTC  
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Invalid Assigned to:  None
Percent Complete:  0% Open/Closed:  Closed
Release:  1.6.6 Fixed Release:  None

Add a New Comment (Rich Markup)

You are not logged in

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


Thu 17 Dec 2009 05:41:34 PM UTC, comment #1: 

The header files are based on the XML device files that are shipped with AVR Studio. The XML device file for the ATmega48 does not have a SIGRD bit for the SPMCSR register.

Eric Weddington <arcanum>
Project Administrator
Mon 08 Jun 2009 05:17:32 AM UTC, original submission:  

We tried to compile the boot_signature_byte_get() macro from avr/boot.h using a mega48. The compiler complained "error: 'SIGRD' undeclared (first use in this function)".

Datasheet says about the bit 5 in SPMCSR:
• Bit 5 – Res: Reserved Bit
This bit is a reserved bit in the ATmega48P/88P/168P/328P and always read as zero.

It can be worked around by manually defining SIGRD as 5 and therefore not a complete showstopper...

RaceMouse <racemouse>


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

Attach Files:

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 (Posted a comment)
  • -email is unavailable- added by racemouse (Submitted the item)



    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-12-17 arcanum Open/ClosedOpen => Closed
        StatusNone => Invalid

    Back to the top

    Powered by Savane 3.5