Memories of MCU

Discussion in 'General Electronics Chat' started by aamirali, May 18, 2012.

  1. aamirali

    Thread Starter Member

    Feb 2, 2012
    1. What are different types of MCU memories.

    2. What I know are RAM (Data memory ) & ROM (code memory.)
    In code memory code is stored & also const variables defined in program.

    Is there any diff b/w ROM & flash.

    Heap memory allocated in RAM.
  2. MrChips


    Oct 2, 2009
    Most modern MCU implement three types of memory:

    1. Flash
    2. SRAM
    3. EEPROM
    Flash memory is a particular type of ROM (Read Only Memory). This is where your program code and static data is stored (burned in by the IDE (Integrated Development Environment) programmer).

    SRAM (Static Random Access Memory - a bit of a misnomer now) is where your program variables and data are stored.

    EEPROM (Electrically Erasable Programmable Read Only Memory) is where your application may chose to save user options/settings/data that must be retained even after power is removed and restored.