Memories of MCU

Thread Starter

aamirali

Joined Feb 2, 2012
412
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.
 

MrChips

Joined Oct 2, 2009
30,824
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.
 
Top