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: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: InvalidPercent Complete: 0%
Assigned to: NoneOpen/Closed: Closed
Release: 1.6.6Fixed 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 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 (Posted a comment)
  • -unavailable- added by racemouse (Submitted the item)
  •  

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

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Dec 2009 05:41:34 PM UTCarcanumOpen/ClosedOpen=>Closed
      StatusNone=>Invalid

    Back to the top


    Powered by Savane 3.1-cleanup1