AVR 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: |
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> |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
No changes have been made to this item
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".