bugAVR C Runtime Library - Bugs: bug #50501, eeprom_update_byte() can reduce...

 
 

bug #50501: eeprom_update_byte() can reduce wear more

Submitted by:  Eric Tang <e_l_tang>
Submitted on:  Thu 09 Mar 2017 05:04:53 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePercent Complete: 0%
Assigned to: NoneOpen/Closed: Open
Release: 2.0.0Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Thu 09 Mar 2017 08:12:19 AM UTC, comment #2:

I wouldn't recommend to do this unless explicitly allowed by datasheet or an Atmel insider approves it. Depending on the particular implementation of EEPROM, write distrubs may decrease read reliability. This is not something which can be qualified by "I tried and it worked for me".

Jan Waclawek <wek>
Thu 09 Mar 2017 05:12:53 AM UTC, comment #1:

This test should be performed in addition to the current test for equality, not in lieu of it.

Eric Tang <e_l_tang>
Thu 09 Mar 2017 05:04:53 AM UTC, original submission:

If the new value does not contain any 1 bits where the old value contains a 0 bit (ANDing the new value with the old value yields the new value), the cell does not have to be erased and can simply be overwritten with the new value.

Eric Tang <e_l_tang>

 

(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 wek (Posted a comment)
  • -unavailable- added by e_l_tang (Submitted the item)
  •  

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

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup1