bugAVR C Runtime Library - Bugs: bug #11242, iomx8.h ATmega48 eeprom EEAR EEARH

 
 

bug #11242: iomx8.h ATmega48 eeprom EEAR EEARH

Submitted by:  None
Submitted on:  Tue 07 Dec 2004 07:21:49 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Eric Weddington <arcanum>Originator 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.

 

Tue 07 Dec 2004 07:21:49 PM UTC, 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...

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

 

CC list is empty

 

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

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 21 Dec 2004 05:52:40 PM UTCarcanumStatusNone=>Fixed
  Assigned toNone=>arcanum
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1