URL:
  <http://savannah.nongnu.org/bugs/?26755>

                 Summary: boot.h and ATMega48 and missing SIGRD
                 Project: AVR C Runtime Library
            Submitted by: racemouse
            Submitted on: Mon 08 Jun 2009 05:17:32 GMT
                Category: Header
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.6.6
           Fixed Release: None

    _______________________________________________________

Details:

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





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?26755>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/



_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to