bugAVR C Runtime Library - Bugs: bug #26188, Wrong or missing definition of...

 
 

bug #26188: Wrong or missing definition of SIGNATURE_X in iom644.h and others

Submitted by:  Andreas Vogt <tico_avr>
Submitted on:  Wed 15 Apr 2009 04:10:02 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: 1.6.4Fixed Release: 1.6.4

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Wed 15 Apr 2009 04:10:02 PM UTC, original submission:

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

Andreas Vogt <tico_avr>

 

(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 (Updated the item)
  • -unavailable- added by tico_avr (Submitted the item)
  •  

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 25 Apr 2009 09:01:51 PM UTCarcanumAssigned toNone=>arcanum
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.6.4
    Sat 25 Apr 2009 09:01:50 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%

    Back to the top


    Powered by Savane 3.1-cleanup