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/ _______________________________________________ AVR-libc-dev mailing list AVR-libc-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-libc-dev