Re: Non-volatile counter implementation




I would use a small, low cost micro (PIC maybe) and save the count in the
EEPROM. Single chip solution.

Thomas

Oh, I should have mentioned that we already have flash, RAM, etc.
available in our system so this is just a software question. Is there an
advantage of EEPROM over flash in terms of erase cycles?

Andrew



Here is a quote from Wikipedia:

"While RAM has no limitations on rewrites to memory, EEPROMs are limited in
that repeated write and erase cycles eventually damage the thin insulating
layer, a process called 'wear out'. Some early EEPROMs could only perform
about 100 erase-write cycles but new models specify 100,000 erase-write
cycles or more. Flash memory is cheaper than EEPROM but will wear out
faster, typically after 10,000 erase-write cycles. Another reason why EEPROM
is more effective for storing configuration data is that Flash memory has to
erase multiple memory locations at a time. Changing a single byte is only
possible by rewriting a whole block, which causes the flash memory to wear
out more quickly than one might otherwise expect."

Thomas


.



Relevant Pages

  • Re: Rechargeable 3v battery details for microcontroller (Cant lose data!)
    ... >>I'm too lazy to look up the spec. ... Don't all recent PICs have flash memory? ... > The problem is ensuring reliability - saving to internal EEPROM takes ... for hundreds of millions of cycles. ...
    (sci.electronics.design)
  • Re: A real question about EEPROM vs. Flash
    ... Flash is based on the effect of hot electrons and by nature it is a descructive effect, that is not the case with the EEPROM. ... says, Flash: 100,000 cycles, EEPROM: 1,000,000 cycles. ... have noticed that it tends to get used for program memory, ...
    (sci.electronics.design)
  • Re: A real question about EEPROM vs. Flash
    ... > says, Flash: 100,000 cycles, EEPROM: 1,000,000 cycles. ... Is flash cheaper than EEPROM? ... Betcha you can only do page or block erase for the Flash, ...
    (sci.electronics.design)
  • Re: A real question about EEPROM vs. Flash
    ... data sheet of the PIC18F6520/8520/6620/8620/6720/8720, and it says, Flash: 100,000 cycles, EEPROM: 1,000,000 cycles. ... Is flash cheaper than EEPROM? ...
    (sci.electronics.design)
  • Re: Flash and EEprom
    ... >> What is the difference between flash memory and eeprom? ... > As far as I know, with EEPROM you can erase/reprogramme individual bytes. ... > You can only erase/reprogramme Flash in banks of many bytes. ...
    (sci.electronics.design)