bugAVR C Runtime Library - Bugs: bug #22240, Add EEPROM Page Size to header...

 
 

bug #22240: Add EEPROM Page Size to header files

Submitted by:  Bob Paddock <bpaddock>
Submitted on:  Wed 06 Feb 2008 05:19:34 PM UTC  
 
Category: Feature RequestSeverity: 1 - Wish
Priority: 3 - LowItem Group: Header files
Status: FixedPercent Complete: 100%
Assigned to: Eric Weddington <arcanum>Open/Closed: Closed
Release: AnyFixed Release: 1.7.0

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 06 Feb 2008 05:19:34 PM UTC, original submission:

I would like to request the addition of the EEPROM Page Size
value to the header files, for the parts that have EEPROM.

The EEPROM Page Size value is located in the data sheet section
discussing Memory Programming.

Taking the AT90CAN64 as example, the EEPROM Page Size value is
eight, as found in Table 25-12.

The current iocan64.h file contains:

/* Constants */
#define SPM_PAGESIZE 256
#define RAMEND 0x10FF /* Last On-Chip SRAM Location */
#define XRAMEND 0xFFFF
#define E2END 0x07FF
#define FLASHEND 0xFFFF

I would like to see the following added:

#define E2PAGESIZE 8

Having this information in the header files will allow for
migration between parts of different sizes (All CANxx parts are
currently eight byte pages), as well as different AVR devices.

The reason for such a request is that if you need to save data in
the internal EEPROM, beyond the stated endurance for a byte,
listed in the data sheet as
"EEPROM (Endurance: 100,000 Write/Erase Cycles)", you need to
know how far to spread the bytes so that you can archive higher
endurance figures. For example if you need a byte, but for
200,000 cycles you need to use two pages, or 16 bytes in the
CAN64 part.

The factory has confirmed, via my FAE, that the listed Endurance
figures are on a page bases, and not a byte bases.

Bob Paddock <bpaddock>

 

(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 bpaddock (Submitted the item)
  •  

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

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 14 Aug 2008 12:50:14 AM UTCarcanumStatusNone=>Fixed
      Percent Complete0%=>100%
      Assigned toNone=>arcanum
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>1.7.0
    Mon 11 Aug 2008 03:00:24 AM UTCarcanumReleaseNone=>Any
    Mon 17 Mar 2008 04:30:03 PM UTCarcanumCategoryHeader=>Feature Request
      Severity3 - Normal=>1 - Wish
      Priority5 - Normal=>3 - Low

    Back to the top


    Powered by Savane 3.1-cleanup1