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: anonymous
Subject: [avr-libc-dev] [bugs #11242] iomx8.h ATmega48 eeprom EEAR EEARH
Date: Tue, 07 Dec 2004 14:32:26 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)

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




/**************************************************************************/
[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: Die 07.12.2004 at 19:21

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


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]