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

 
 

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

Submitted by:  CurtVM <curtvm>
Submitted on:  Fri 29 Feb 2008 04:19:12 PM UTC  
 
Category: HeaderSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: NoneFixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arcanum (Updated the item)
  • -unavailable- added by curtvm (Submitted the item)
  •  

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

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 17 Mar 2008 04:23:32 PM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
    Sat 08 Mar 2008 02:42:38 PM UTCarcanumCategoryNone=>Header

    Back to the top


    Powered by Savane 3.1-cleanup1