avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #26188] Wrong or missing definition of SIGNATURE_X i


From: Andreas Vogt
Subject: [avr-libc-dev] [bug #26188] Wrong or missing definition of SIGNATURE_X in iom644.h and others
Date: Wed, 15 Apr 2009 16:10:08 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.8) Gecko/2009032609 Firefox/3.0.8 (.NET CLR 3.5.30729)

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

                 Summary: Wrong or missing definition of SIGNATURE_X in
iom644.h and others
                 Project: AVR C Runtime Library
            Submitted by: tico_avr
            Submitted on: Mi 15 Apr 2009 16:10:02 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.4
           Fixed Release: None

    _______________________________________________________

Details:

The file iom644.h contains the line:
#define SIGNATURE_2 0x09
This definition is true only for the ATmega644, but NOT for the ATmega644P.
The file io.h includes iom644.h for both MCUs, so, if you compile for
ATmega644P, the definition is wrong and should be 0x0a.
The files iom164.h and iom324.h do not contain any signature definitions.

The signatures for the ATmega164P (iom164.h) are (taken from ATMEL doku):
#define SIGNATURE_0 0x1e
#define SIGNATURE_1 0x94
#define SIGNATURE_2 0x0a

The signatures for the ATmega324P (iom324.h) are (taken from ATMEL doku):
#define SIGNATURE_0 0x1e
#define SIGNATURE_1 0x95
#define SIGNATURE_2 0x08





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]