EEPROM-Flash
Arduino playground : EEPROM-Flash
Hidden Powers - storing data in Flash and EEPROMThere are three types of memory in the atmega8:
Flash memory: it‘s a rewritable non-volatile memory. This means that its content will still be there if you turn off the power. It’s a bit like the hard disk on the arduino board. Your program is stored here. The ATmega8 on the Arduino board has 8 KB of Flash memory, with 1 KB taken up by the bootloader. This memory supports at least 10,000 writes.
RAM: it's like the ram in your computer.its content disappears when you turn of the power but it can be read and writter really fast. The ATmega8 has 1 KB of RAM.
EEPROM: it‘s an older technology to implement rewritable non-volatile memory. It’s normally used to store settings and other parametres. The ATmega8 has 512 bytes of EEPROM. This memory supports at least 100,000 writes.