EEPROM life


Closed Thread
Results 1 to 6 of 6

Thread: EEPROM life

Hybrid View

  1. #1
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107

    Default EEPROM life

    I have to write often into on-chip EEPROM, and I need to guarantee a high MTBF. Microchip claims 1M hrs typical EEPROM Erase/Write cycles. My question is: What constitutes a WRITE cycle? I believe that even when I write one location, that a whole "block" is written. Does this mean that if I write 1M times to location 0, that I have also "worn out" addresses 0 - 63 (or whatever a block size is) as well?
    Charles Linquist

  2. #2
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    It is my understanding that DATA EEPROM is written to in byte size chunks.

    Program EEPROM on the other hand is made up of "blocks".

    I have looked for the info to back this up but can not find anything to really make it clear.

    Section 7.1 of DS33023A kind of says this.
    Dave
    Always wear safety glasses while programming.

  3. #3
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    What constitutes a WRITE cycle
    The completion of a successful write to the memory cell or block of cells.

    Flash Program Memory is erased/written in blocks of 32 words - or 64 bytes. So you have up to 100K writes to here before it gets into the failure range.

    Data EEPROM can be written in single bytes - with up to 1M writes 'per cell' before it gets near end-of-life.

    Just testing, i've pushed EEPROM memory beyond 5M writes, and it kept working just fine, but I wouldn't shoot anything like that out onto the market.....
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

  4. #4
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bruce View Post
    Flash Program Memory is erased/written in blocks of 32 words - or 64 bytes. So you have up to 100K writes to here before it gets into the failure range.
    Note that both of those parameters are device specific.


  5. #5
    Join Date
    Sep 2005
    Location
    Campbell, CA
    Posts
    1,107


    Did you find this post helpful? Yes | No

    Default

    Thanks guys!

    I, too have pushed EEPROM cells to over 2M WRITES, but my military customers are interested in MTBF. If I use the "approved" tables, the
    MTBF of my entire unit starts decreasing significantly if I have more
    than 100K WRITES.
    My plan was to write a word into two bytes, and when it overflowed,
    increment another EEEPROM cell (which tells me the byte offset) and shift the WRITE up one byte.
    That way, each cell would get 65536 + 256 WRITES.

    I was worried that if I just shifted up one byte each time I overflowed,
    I would actually be writing more times than I thought.
    Charles Linquist

  6. #6
    Join Date
    May 2007
    Posts
    604


    Did you find this post helpful? Yes | No

    Default

    Check out AN1095 from MC's website. Slightly different application (Emulating Data EEPROM for PIC18 and PIC24 Microcontrollers and dsPIC® Digital Signal Controllers) but there are some interesting techniques in it, eg. increasing Total Effective Endurance by a factor of 1,000.

Similar Threads

  1. Can't read sequential addresses in external EEPROM
    By tjkelly in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 18th February 2010, 14:46
  2. Problem with I2C EEPROM addressing
    By Atom058 in forum General
    Replies: 14
    Last Post: - 3rd November 2009, 03:17
  3. EEPROM life expectancy?
    By muddy0409 in forum General
    Replies: 3
    Last Post: - 1st May 2007, 12:44
  4. How to write/read strings EEPROM/LCD
    By g-hoot in forum mel PIC BASIC Pro
    Replies: 22
    Last Post: - 11th February 2007, 06:26
  5. word variable to 25lc640
    By TONIGALEA in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 6th July 2004, 19:59

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts