[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] AVR EEPROM cell: Does 0xff mean it it is erased?
From: |
Joerg Wunsch |
Subject: |
Re: [avr-chat] AVR EEPROM cell: Does 0xff mean it it is erased? |
Date: |
Sun, 18 Oct 2009 14:55:33 +0200 (MET DST) |
"Heike C. Zimmerer" <address@hidden> wrote:
> can I safely assume that if an EEPROM cell contains 0xff, it doesn't
> need to be erased before writing to it?
Yes, you can. Programming flash or EEPROM cells always goes from '1'
to '0', so a cell containing all '1' is erased.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)