So has anyone here...
Moderators: adafruit_support_bill, adafruit
Please be positive and constructive with your questions and comments.
-
- Posts: 373
- Joined: Tue Mar 06, 2007 11:51 pm
So has anyone here...
...programmed an AVR so many times that the flash/EEPROM ran out of stable rewrite cycles?
-
- Posts: 240
- Joined: Sat Sep 01, 2007 12:56 pm
Re: So has anyone here...
No.
Not yet...
But I have been thinking of the possibility. I have one x0xb0x that is my testbench that I reprogram all the time when testing stuff. It must have been flashed at least 100 times, probably a lot more.
Not yet...
But I have been thinking of the possibility. I have one x0xb0x that is my testbench that I reprogram all the time when testing stuff. It must have been flashed at least 100 times, probably a lot more.
-
- Posts: 440
- Joined: Sun Aug 31, 2008 11:09 pm
Re: So has anyone here...
This is more of a x0xb0x question, but it's so strongly related to this thread, that I'll ask here.
When you power up the x0xb0x, it remembers the tempo from last time. How often does it save the tempo to EEPROM (or the AVR's flash) and would that significantly decrease the life span of the chip?
When you power up the x0xb0x, it remembers the tempo from last time. How often does it save the tempo to EEPROM (or the AVR's flash) and would that significantly decrease the life span of the chip?
-
- Posts: 440
- Joined: Sun Aug 31, 2008 11:09 pm
Re: So has anyone here...
Well, yes, but I meant more specifically. It is saved on every click of the encoder or once every 30 seconds or what?
-
- Posts: 12151
- Joined: Thu Apr 06, 2006 4:21 pm
Re: So has anyone here...
every time the encoder is moved. i think eeprom has something like 10k or 100k rewrite cycles. im not too worried about it, at worst the tempo will be wrong when you start up
-
- Posts: 1119
- Joined: Wed Jun 13, 2007 9:17 am
Re: So has anyone here...
I know that before I knew about write/rewrite cycle limits, I wrote a piece of software that rewrote an EEPROM variable *every time* the program looped (and it was a pretty darn tight loop). I have since changed that, but I'm still using that chip, no problems.
- darus67
- Posts: 246
- Joined: Wed Sep 26, 2007 10:25 pm
Re: So has anyone here...
I know from real life experience that it is possible to burn out flash memory.
I was involved in the testing and debugging of a product that had embedded linux running
from a flash memory system. We found out the hard way that if we turned the event logging
all the way up, it would overwrite the log files often enough that after a number of weeks
the flash memory would start failing. Fortunately, we were using CF memory cards, so it
wasn't a huge deal to replace the flash.
I was involved in the testing and debugging of a product that had embedded linux running
from a flash memory system. We found out the hard way that if we turned the event logging
all the way up, it would overwrite the log files often enough that after a number of weeks
the flash memory would start failing. Fortunately, we were using CF memory cards, so it
wasn't a huge deal to replace the flash.
Please be positive and constructive with your questions and comments.