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


You are not allowed to post comments on this tracker with your current authentication level.

bug #50501: eeprom_update_byte() can reduce wear more

Submitter:  Eric Tang <e_l_tang>
Submitted:  Thu 09 Mar 2017 05:04:53 AM UTC
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Release:  2.0.0 Fixed Release:  None

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

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wek (Posted a comment)
  • -email is unavailable- added by e_l_tang (Submitted the item)



    No changes have been made to this item

    Back to the top

    Powered by Savane 3.11