bugAVR C Runtime Library - Bugs: bug #22447, Summary of iom?8p.h header updates...

 
 

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

bug #22447: Summary of iom?8p.h header updates needed

Submitter:  CurtVM <curtvm>
Submitted:  Fri 29 Feb 2008 04:19:12 PM UTC
   
 
Category:  Header Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  arcanum
Percent Complete:  100% Open/Closed:  Closed
Release:  None Fixed Release:  None

Mon 17 Mar 2008 04:23:32 PM UTC, comment #1: 

All items fixed except: EEARH and EEAR is not added to iom48p.h because the datasheet explicitly says that these do not exist on that chip.

Eric Weddington <arcanum>
Group administrator
Fri 29 Feb 2008 04:19:12 PM UTC, original submission:  

Here is a summary of header changes needed for the 8p series-
(some have already been submitted previously)

I was looking at the headers in the recent update- avr-libc-bin-1.6-20080228
to determine what changes were still needed-

iom168p.h
change->  #define SPM_PAGESIZE 64
to----->  #define SPM_PAGESIZE 128

iom88p.h, iom168p.h,iom328p
change->  #define EEAR _SFR_IO8(0x21)
to----->  #define EEAR _SFR_IO16(0x21)

iom48p.h, iom88p.h, iom168p.h, iom328p.h
missing-
#define EEPROM_REG_LOCATIONS 1F2021

#define EIMSK   _SFR_IO8(0x1D)
#define INT0    0
#define INT1    1

iom88p.h, iom168p.h, iom328p.h
missing-
/*under #define MCUCR _SFR_IO8(0x35)*/
#define IVSEL   1
#define IVCE    0


'not sure' category-

iom48p.h
missing-
#define EEAR _SFR_IO16(0x21)
#define EEARH _SFR_IO8(0x22)
I think these may still be wanted in the header,
even though EEARH is unused in the 48p. I'm not
sure if it matters if EEAR8 is left in an unknown state,
but at least it would help in code compatability
when moving from the other x8 avr's to the '48 (for those
not using the libc eeprom routines)

CurtVM <curtvm>

 

(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 arcanum (Updated the item)
  • -email is unavailable- added by curtvm (Submitted the item)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-17 arcanum StatusNone Fixed
        Percent Complete0% 100%
        Assigned toNone arcanum
        Open/ClosedOpen Closed
    2008-03-08 arcanum CategoryNone Header

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code