EEPROM Destructive Testing
erco
Posts: 20,256
Some boys over in the PicAxe forum are betting on how many WRITE cycles an EEPROM can take before failing. Usually estimated at over a million, but one guy got his up to 14 million and quit. Now the debate is whether the guy's program has a bug, or whether running at 3.3V should last longer than 5V: http://www.picaxeforum.co.uk/showthread.php?24119-How-many-writes-can-a-24LC256-take-let-s-find-out-!/page4
Has anyone done any such testing on a Stamp or Prop? We can't let those Brits have all the fun, especially this close to July 4. Let the fireworks and magic smoke begin!
Has anyone done any such testing on a Stamp or Prop? We can't let those Brits have all the fun, especially this close to July 4. Let the fireworks and magic smoke begin!
Comments
I have not tried destroying a modern EEPROM but I've had no problems using them with modestly aggressive cycling.
The problem is that charges get trapped in the oxide layer so they can't be removed with a programming cycle. You could probably unroof the chip and expose it to UV light like in the "good old days" when there was no electrical erase cycle. You could probably take the device to your "friendly neighborhood" nuclear medicine facility and have them irradiate it at a high enough level to drain off those charges without damaging the lattice.
A test program really needs to erase cells to 1s, then try to program them to 0s in different patterns and see whether any of the bits won't change to 0. That's the failure pattern. The chip does the two phases automatically, so I don't know whether it's enough to just try to program bytes to 0 repeatedly or whether you'd want to write all 1s, then all 0s and see what happens. I'm sure others could suggest better tests.
I suggest looking up testing procedures and duplicating them as a standard test for all contestants.
Sal is doing test till failure on an SD with his simple logger. This could be run on the EEprom using the EEprom filesystem. I'm not able to do this test at the moment, but all the pieces are in place, anybody wants to, Sal will answer questions.
Quite the opposite so far: he is logging to the same file once per second. While each record data is written to a new location, the file header is rewritten each record. Hes past 160 MEG after two weeks with no errors, and the test will be left to run until the card fails or the card runs out of room. Its run another two weeks since then and still going strong.
By simply creating a new file when the day rolls over, it looks like a caard could last a good long time for logging.
http://www.picaxeforum.co.uk/showthread.php?24119-How-many-writes-can-a-24LC256-take-let-s-find-out-!&p=241337&viewfull=1#post241337