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

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

[avr-libc-dev] [bugs #11242] iomx8.h ATmega48 eeprom EEAR EEARH


From: Eric Weddington
Subject: [avr-libc-dev] [bugs #11242] iomx8.h ATmega48 eeprom EEAR EEARH
Date: Tue, 21 Dec 2004 13:07:00 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

This mail is an automated notification from the bugs tracker
 of the project: AVR C Runtime Library.

/**************************************************************************/
[bugs #11242] Latest Modifications:

Changes by: 
                Eric Weddington <address@hidden>
'Date: 
                Tue 12/21/2004 at 17:52 (America/Denver)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | arcanum
              Status | Open                      | Closed







/**************************************************************************/
[bugs #11242] Full Item Snapshot:

URL: <http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11242>
Project: AVR C Runtime Library
Submitted by: 0
On: Tue 12/07/2004 at 19:21

Category:  Header
Severity:  5 - Average
Item Group:  None
Resolution:  Fixed
Privacy:  Public
Assigned to:  arcanum
Originator Email:  address@hidden,ch
Status:  Closed


Summary:  iomx8.h ATmega48 eeprom EEAR  EEARH 

Original Submission:  The header "iomx8.h" don't work for the eeprom of the 
ATmega48 because of:
 
#if defined (__AVR_ATmega88__) || defined (__AVR_ATmega168__)
#  define EEAR  _SFR_IO16 (0x21)
#  define EEARH _SFR_IO8 (0x22)
#endif

The ATmega48 has only 256 byte eeprom, but despite of this for programming or 
reading, one has to write a zero to EEARH or a uint16_t to EEAR...
 
Maybe this will be correctet in a newer version...












For detailed info, follow this link:
<http://savannah.nongnu.org/bugs/?func=detailitem&item_id=11242>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/







reply via email to

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