bugAVR C Runtime Library - Bugs: bug #18903, ATmega644 register definitions for...

 
 

bug #18903: ATmega644 register definitions for SPI and PRR (datasheet vs. iom*.h)

Submitted by:  None
Submitted on:  Mon 29 Jan 2007 04:20:26 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: NoneOriginator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 24 Feb 2007 02:04:43 PM UTC, comment #1:

Fixed in avr-libc 1.4.6 and HEAD.

Anatoly Sokolov <aesok>
Project Administrator
Mon 29 Jan 2007 04:20:26 PM UTC, original submission:

The ATmega644 datasheet (2593K–AVR–01/07) lists the SPI registers as SPCR, SPSR and SPDR. The io-"header" iomxx4.h included by iom644.h uses the the datasheet-names with an additional 0 (null) (also for the bit-labels). Same for the Power-Reduction-Register: Datasheet: PRR but ioxx4.h: PRR0. Not a big problem for those who know the backgroud but might a problem for beginners and in code which should be portable between different avr-"Toolchains". Seems to be the same mismatch between datasheet for ATmega164p/324p/644p (10/06) and iomxx4.h.

Martin Thomas

Anonymous

 

(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 aesok (Updated the item)
  •  

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

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 24 Feb 2007 02:04:43 PM UTCaesokStatusNone=>Fixed
      Assigned toaesok=>None
      Open/ClosedOpen=>Closed
    Tue 20 Feb 2007 10:14:36 PM UTCaesokAssigned toNone=>aesok

    Back to the top


    Powered by Savane 3.1-cleanup1