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

 
 

You are not allowed to post comments on this tracker with your current authentication level.

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

Submitter:  None
Submitted:  Mon 29 Jan 2007 04:20:26 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Header files
Status:  Fixed Assigned to:  None
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

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

Fixed in avr-libc 1.4.6 and HEAD.

Anatoly Sokolov <aesok>
Group 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.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aesok (Updated the item)
  •  

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-02-24 aesok StatusNone Fixed
        Assigned toaesok None
        Open/ClosedOpen Closed
    2007-02-20 aesok Assigned toNone aesok

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code