Just curious as to why do non volatile memories like EEPROM in an AVR have a write limit ?
Also is this limit per location/adress in the memory or on the memory as a whole ?
Just curious as to why do non volatile memories like EEPROM in an AVR have a write limit ?
Also is this limit per location/adress in the memory or on the memory as a whole ?
It is due to the process of how the memories work.
To write a value the threshold of the device is shifted by storing charge in a floating gate that lies between the control gate and the channel. The process of injecting and removing charge stresses the gate oxide to the point where it leaks , just ever so little. the problem is that this process is slightly damaging and the effect is accumulative.
The wear-out is roughly proportional to number of write/erase cycles with variation on a bit by bit basis.