Re: Rechargeable 3v battery details for microcontroller (Can't lose data!)

From: Kevin (spamisannoying_at_sothisis.fake)
Date: 01/18/05


Date: Mon, 17 Jan 2005 23:36:24 -0400

On Mon, 17 Jan 2005 18:28:34 -0500, Mark Jones <abuse@127.0.0.1>
wrote:

> Hmmm... 10mS is not a long time at all... and the EEPROM has a
>1-million write cycle life... is that not good enough? If not, cycle
>through the EEPROM bytes as they are being written and it could last
>for hundreds of millions of cycles.

Well, I was thinking of the possibility of a power glitch or sag in
which the Vcc to the PIC fails while it is writing EEPROM. If this
happens, then the byte currently being written is now corrupt. Also
I'm guessing it probably isn't good for the EEPROM to have the power
fail while writing (I was thinking that the high voltage needed to
generate the erase voltage is generated by the on-chip charge pump
using Vcc. What happens if Vcc fluctuates or droops while writing?
Does this affect EEPROM reliability in some way or does it just
corrupt the EEPROM byte being written to?)

> Probably for quite awhile, but don't forget about internal
>resistances. The cap would probably go dead on its own accord long
>before a 99.2% sleeping PIC would kill it.

Will add some supercaps to the next parts order - I always wanted to
play around with them anyway ;-)

Kevin.



Relevant Pages

  • Re: Cryptoengines with usage accounting
    ... > There is a good reason to avoid such a feature with Smart Cards. ... EEPROM that had duty cycle in 10k writes to 30k write range. ... useage gives life cycle over forty years. ...
    (sci.crypt)
  • Re: EEPROM guarantees after power loss during a write
    ... David Brown writes: ... My only worry was getting atleast one good copy.In your whole ... For any possible algorithm, if the power fails during writing of data, ... Assuming your eeprom is initially filled with 0xff, ...
    (comp.arch.embedded)
  • Re: How to design non blocking device drivers?
    ... You have only one EEPROM, and one EEPROM can only do one write job at a time. ... But your requirement to complete writing excludes 3) and 1), and you explicitly excluded 2), which leaves you with no way to do the job. ... is called asynchronous operations. ...
    (comp.arch.embedded)
  • Re: EEPROM guarantees after power loss during a write
    ... My only worry was getting atleast one good copy.In your whole ... For any possible algorithm, if the power fails during writing of data, ... External serial eeproms generally have protection against this, but Atmel AVRs are known to be able to corrupt byte 0 of the eeprom if they get a reset during a write. ...
    (comp.arch.embedded)
  • Re: Writing to EEPROM
    ... I will be using internal EEprom - 512bytes. ... How many bytes will you be writing?. ... before the processor stops working (normally if the brownout is at ... How low can you get the power consumption ...
    (sci.electronics.design)