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)
|