Re: Writing to EEPROM




"Nick" <aniket_gokhale@xxxxxxxxx> wrote in message
news:1139817947.665101.310250@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
Details what i missed:
I will be using internal EEprom - 512bytes. I will be writing to the
EEprom in Byte - Byte mode. During start up in main routine i will be
checking the POF power on flag. Jump to EEprom save routine will be
from 002bh (Brown out Interrupt).
Key questions at this point. How many bytes will you be writing?. At the
moment 'brownout' is detected, how much further can the voltage drop
before the processor stops working (normally if the brownout is at [say]
4.2v, and the processor is rated to run to 3v, you have something just
over a volt of available drop)?. How low can you get the power consumption
during this time - can you turn off all peripherals?. Given these figures,
how much capacitance must be present on the supply rail to ensure that all
the writes will complete before the power fails?. Remember that the code
in the brownout interrupt, should, once the write is complete, sit and if
the power _does not_ fail within a period of time, then check if the
voltage is good (clear the interrupt flag, and test if it comes on again),
return to the program.

Best Wishes



.



Relevant Pages

  • 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: Encrypting Harddisk?
    ... > motherboards eeprom. ... Any service interruption in the webcam coverage, motion, power interruption, ... If you want to get wacko about it, use the really *old* aluminum disk packs ... the disk, finely spraying the case with finely powdered, fresh, ...
    (comp.os.linux.security)
  • Re: Encrypting Harddisk?
    ... > motherboards eeprom. ... Any service interruption in the webcam coverage, motion, power interruption, ... If you want to get wacko about it, use the really *old* aluminum disk packs ... the disk, finely spraying the case with finely powdered, fresh, ...
    (comp.os.linux.security)
  • Re: EEPROM guarantees after power loss during a write
    ... wild - but what about the EEPROM internal state machine? ... comparing with known checksum). ...   mark copy 1 invalid ... On power up both copy valid flags would be checked, ...
    (comp.arch.embedded)
  • Re: Temperature Control -- PID -- Heater
    ... Setpoint is a constant 405degF. ... >Saving the iterm in eeprom would shorten the eeprom's life. ... >can live with a zeroe'ed out iterm after a quick power failure. ... Alternative thought some form of delayed power off for quick power ...
    (comp.arch.embedded)

Loading