Forums

Re: EEPROM reason of starvation MSP430?

Started by Claus Krause October 23, 2003
Hello Mike,

you are writing to EEPROM once every 3 seconds? This means you write 20 
times every minute or in other words 28800 times per day! EEPROM-cells 
do not work for invinite count of write-cycles. Depending on device you 
will kill a EEPROM-cell by writing it to often (max. count of write 
cycles vary from 50k to 10m on most common devices).
If you have to write often then change EEPROM-cell to write into also 
every 3 seconds (like a ring buffer). So you can extend life of EEPROM 
nearly linear.


Regards,
Claus



mike wrote:
> Hi
> 
> I has written a program which uses EEPROM once for 3 seconds. Device worked
> when testing not more two days. After hung. As soon as i ceased to use
> built-in EEPROM all work. Can reason of starvation be EEPROM? Someone was
> pushed with similar problems?
> 
>                 Mike_M
> 
> 
> 
> 
> 
> .
> 
>  
> 
> ">http://docs.yahoo.com/info/terms/ 
> 
> 
> 


Beginning Microcontrollers with the MSP430

Also, Mike says "built-in eeprom" so he may actually be referring
to
information memory?  If this is the case then in addition to the write
limitation, if he's using a lithium cell in his design constant writes
would quickly depelete it and voltage would soon begin to droop below 2.7v
on writes.

--Bruce


> Hello Mike,
>
> you are writing to EEPROM once every 3 seconds? This means you write 20
> times every minute or in other words 28800 times per day! EEPROM-cells
> do not work for invinite count of write-cycles. Depending on device you
> will kill a EEPROM-cell by writing it to often (max. count of write
> cycles vary from 50k to 10m on most common devices).
> If you have to write often then change EEPROM-cell to write into also
> every 3 seconds (like a ring buffer). So you can extend life of EEPROM
> nearly linear.
>
>
> Regards,
> Claus
>
>
>
> mike wrote:
> > Hi
> >
> > I has written a program which uses EEPROM once for 3 seconds.
> Device worked
> > when testing not more two days. After hung. As soon as i ceased to use
> > built-in EEPROM all work. Can reason of starvation be EEPROM?
> Someone was
> > pushed with similar problems?
> >
> >                 Mike_M




Bruce Cannon wrote:

> Also, Mike says "built-in eeprom" so he
may actually be referring to
> information memory?  If this is the case then in addition to the write
> limitation, if he's using a lithium cell in his design constant writes
> would quickly depelete it and voltage would soon begin to droop below 2.7v
> on writes.
> 
> --Bruce

I've heard of brewers droop, now we suffer from Lithium droop, Buggah!

Al

> 
> 
> 
>>Hello Mike,
>>
>>you are writing to EEPROM once every 3 seconds? This means you write 20
>>times every minute or in other words 28800 times per day! EEPROM-cells
>>do not work for invinite count of write-cycles. Depending on device you
>>will kill a EEPROM-cell by writing it to often (max. count of write
>>cycles vary from 50k to 10m on most common devices).
>>If you have to write often then change EEPROM-cell to write into also
>>every 3 seconds (like a ring buffer). So you can extend life of EEPROM
>>nearly linear.
>>
>>
>>Regards,
>>Claus
>>
>>
>>
>>mike wrote:
>>
>>>Hi
>>>
>>>I has written a program which uses EEPROM once for 3 seconds.
>>
>>Device worked
>>
>>>when testing not more two days. After hung. As soon as i ceased to
use
>>>built-in EEPROM all work. Can reason of starvation be EEPROM?
>>
>>Someone was
>>
>>>pushed with similar problems?
>>>
>>>                Mike_M
> 
> 
> 
> 
> 
> .
> 
>  
> 
> ">http://docs.yahoo.com/info/terms/ 
> 
> 
>