On Apr 27, 2008, at 10:14 AM, Graham Davies wrote: > If you have data that you need to preserve when power goes away, a > good > place for it is EEPROM. Reading and writing EEPROM is fairly > complicated, but there is existing software to help. If you have more > data of this sort than will fit in EEPROM, then you can try storing it > in Flash along with the program, but this is really quite difficult. IIRC FLASH is EEPROM arranged for faster bulk writes in sectors while classic EEPROM is writable at the byte or word level, or sometimes at the bit level. In the AVR the only storage available in program space is FLASH. The only storage available in variable space is SRAM. EEPROM has to be accessed indirectly through CPU registers. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad.
Message
Re: [AVR-Chat] Re: Question about types of uController memory
2008-04-27 by David Kelly
Attachments
- No local attachments were found for this message.