SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Lecture 1
MEMORY ORGANISATION IN EMBEDDED
SYSTEMS
Memory
1. Memory is an important component in an embedded system as it
stores all and any form of data depending upon its design
architecture.
2. For anyone to learn and have a deeper knowledge of the embedded
systems, it's important that one should first understand what the
memory of their hardware can actually offer or how one can design
the hardware for their application .
3. In data centers, they deal with Petabytes of memory. In personal
computers, they deal with mega->terabytes size of memory, But
when it comes to embedded systems ,it's usually from kiloBytes to
megaBytes of memory.
4. So, It is important that we understand,utilise and optimise this
small amount of memory efficiently in embedded systems.
Types of Memory
Lorem Ipsum
MEMORY
RAM - Volatile
memory
SRAM
DRAM
SDRAM
Register
PROM
EPROM
EEPROM
Flash
ROM - NonVolatile
memory
Volatile memory :
Loses data once the
power is turned off.
Non- volatile memory :
Retains data on losing
power.
Transformation of ROM
ROM is a non-volatile memory, meaning the data stored in ROM stays even after the power is
turned off, having said so ROM also has endurance issues that data cannot be written over and
over again, it has got limited number of write erase cycles before failure.
ROM PROM EEPROM
EPROM Flash
ROM and PROM are programmed only once by the manufacturer and remains unchanged.
EPROM are programmable multiple times and can be erased by exposing the memory to UV
(ultra-violet)light.
The next in the evolution comes the EEPROM and FLash which are electrically erasable and
programmable ROM but Flash comes with an endurance issue (10,000 - 1,00,000+ write erase
cycles)
RAM (Random access memory):
RAM is a volatile memory (Ram requires constant electrical power to store Data
and if the power is turned off then the data is erased.) and as the name suggests
allows access to any part of the memory given the address of that location.
1. In order for Data or program to run on a computer. First, It needs to be loaded into RAM.
2. So, RAM basically stores the data of your current running programs. For eg, if you have
opened your MS office document ,the MS word program will be copied to RAM and that’s
when we get the loading symbol in the front when the program gets copied in the background.
3. Once the program is loaded in the RAM, the CPU can now run the program and access the
data. The data that you keep feeding to your document will be saved to your RAM before you
SAVE it with the command File->Save As to your respective drive folder of ROM memory.
4. So, RAM is a very convenient type of memory to hold data that keeps changing continuously.
5. More space in RAM allows the user to use more applications simultaneously and efficiently.
Types Of RAM :
DRAM , SRAM, SDRAM
1. A DRAM uses a transistor - capacitor circuit to
hold a bit of data. Charged state is 1 bit and
discharged state is 0 bit.
2. While using capacitor, there may be leakage of
current in capacitor due to the little amount of
current that may be drawn by the adjacent
transistor or just due to the inner behaviour of the
capacitor itself.
3. So, the circuit needs to be refreshed with voltage
continuously and will not work without power.
4. The data transfer is slow compared to SRAM and
the cost is comparatively low.
SDRAM is a
synchronous DRAM
where the instructions are
synchronised with the
clock speed of the
microprocessor.
SRAM on the other hand works much faster than DRAM as it doesn’t have any
capacitor in its circuit and 2 cross coupled transistors i.e 4 transistors for storing
the charge and 2 transistors for access control. SRAM is much costlier and
works very fast.
Register memory
Registers are small memory that are present inside the processor itself. They
contain the data of operands and instructions of a program that CPU is
currently processing.
Since registers are inside the processor, the time required to fetch data is very
fast, but it cannot hold large data like RAM or ROM. It can hold only in bit
levels.
INTEL 8085 has popular 8-bit registers. ARM architecture has 32 bit registers.
Registers also hold the peripheral address in microcontroller.
So far, In the ppt we have learnt about the
volatile and non volatile memories of a
computer. To make the understanding
much better let us site an Analogy.
The core memory of a computer , ie the
ROM or HDD can be imagined to a library
, where numerous books on various topics
are stacked up neatly each one labelled.
The matrix of books arranged is the ROM.
The labels on each book can be imagined
as memory addresses of each byte.
Memory Analogy
And now consider yourself to be the CPU. Your
task is to look for data to prepare for a science
quiz. So, you have collected all the related
books and placed them on the table top, which
is the RAM. Now, More the table space, more
books can be accommodated. This helps in
fetching more data and saves time in going
back to the shelf searching for the book and
again coming back to the table.
This is analogous to having more RAM size,
when the program from the ROM is copied
entirely to the RAM , the processor need not go
back and forth to fetch data and instruction
from the ROM as everything is copied to RAM
and the execution is much faster.
When you start the process, you will start
reading the index of the book , memorize the
page number and go to the particular page
looking for information.
This is similar to saving the page number data
to the register memory and performing the next
task.
When you want to search the meaning of a
particular word. You memorize the word in
your head and take another book from the table
top to know the meaning of it.
This is similar to saving the address data in
register memory and looking for the data in that
address in RAM.
Once the work is complete, all the books on the
table will go back to the shelf and this is similar
to RAM data dissolving once the power is out.
And once you come out your memory will
eventually forget the trivial data of page number
and others. But some important data, like word-
meaning might stay in your head for a long time
then sync that to cache memory of the CPU.
Thank You
Hope you would have gained a good
knowledge about memory and a
overview of how it works inside the
computer

More Related Content

What's hot (20)

PDF
Unit II Arm 7 Introduction
Dr. Pankaj Zope
 
PDF
Memory interfacing of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
PDF
Communication protocols - Embedded Systems
Emertxe Information Technologies Pvt Ltd
 
PPT
Arithmetic & logical operations in 8051
Jay Patel
 
DOC
UNIT-I-RTOS and Concepts
Dr.YNM
 
PPTX
Digital signal processor architecture
komal mistry
 
PPTX
TMS320C6X Architecture
Shweta Tripathi
 
PPTX
2. block diagram and components of embedded system
Vikas Dongre
 
PPTX
Microcontroller presentation
xavierpaulino
 
PPT
Architecture of 8086 Microprocessor
Mustapha Fatty
 
PPSX
System on chip architectures
Dr. A. B. Shinde
 
PPTX
memory organi.pptx
prakashpacet
 
PPTX
Interrupts and types of interrupts
Muhammad Sheharyar Asif
 
PPT
Memory & I/O interfacing
deval patel
 
PPTX
Memory organization (Computer architecture)
Sandesh Jonchhe
 
PPT
Purpose of Embedded Systems
VijayKumar5738
 
PPTX
ARM Processors
Mathivanan Natarajan
 
DOCX
Programmable logic array
Huba Akhtar
 
PPSX
Lect 2 ARM processor architecture
Dr.YNM
 
Unit II Arm 7 Introduction
Dr. Pankaj Zope
 
Memory interfacing of microcontroller 8051
Nilesh Bhaskarrao Bahadure
 
Communication protocols - Embedded Systems
Emertxe Information Technologies Pvt Ltd
 
Arithmetic & logical operations in 8051
Jay Patel
 
UNIT-I-RTOS and Concepts
Dr.YNM
 
Digital signal processor architecture
komal mistry
 
TMS320C6X Architecture
Shweta Tripathi
 
2. block diagram and components of embedded system
Vikas Dongre
 
Microcontroller presentation
xavierpaulino
 
Architecture of 8086 Microprocessor
Mustapha Fatty
 
System on chip architectures
Dr. A. B. Shinde
 
memory organi.pptx
prakashpacet
 
Interrupts and types of interrupts
Muhammad Sheharyar Asif
 
Memory & I/O interfacing
deval patel
 
Memory organization (Computer architecture)
Sandesh Jonchhe
 
Purpose of Embedded Systems
VijayKumar5738
 
ARM Processors
Mathivanan Natarajan
 
Programmable logic array
Huba Akhtar
 
Lect 2 ARM processor architecture
Dr.YNM
 

Similar to Memory Organisation in embedded systems (20)

PDF
Basics_of_Semiconductor_Memories_Microprocessor_Microcontroller.pdf
drdebarshi1993
 
PPTX
Memory System
ImranulHasan6
 
PPTX
Comp App Lect 3.pptx
MehwishKanwal14
 
PPTX
Main Memory RAM and ROM
Archana Gopinath
 
DOCX
Memory managment
Shahbaz Khan
 
PPTX
Random Access Memory
rohitladdu
 
PPTX
Lec 6 memory
Protik Roy
 
PDF
Memory
Vijay Kumar
 
PDF
Computer Memory
Sweta Kumari Barnwal
 
PPTX
DPSD MEMORY DEVICES UNIT memory device 4.pptx
Meganath7
 
PPT
What is Computer Memory.ppt
Muhammad Naeem
 
PPTX
Computer memory and types of memory.pptx
dbmscse61
 
PPTX
Lecture 09 - Ch No. 05 Internal Memory.pptx
AdeelAsghar36
 
PPTX
TYPES OF COMPUTER MEMORIES
Shahbaz Baloch
 
PPTX
INTERNAL MEMORY OF A COMPUTER SYSTEM.pptx
RobertDanso
 
PPTX
Memory and storage (Jeric Bilita)
YoKim RiZon
 
PPTX
Memory & storage devices
Hamza Mughal
 
PPTX
RAM slide
MDShamimAlMamun4
 
PPT
memory classification
RamaPrabha24
 
Basics_of_Semiconductor_Memories_Microprocessor_Microcontroller.pdf
drdebarshi1993
 
Memory System
ImranulHasan6
 
Comp App Lect 3.pptx
MehwishKanwal14
 
Main Memory RAM and ROM
Archana Gopinath
 
Memory managment
Shahbaz Khan
 
Random Access Memory
rohitladdu
 
Lec 6 memory
Protik Roy
 
Memory
Vijay Kumar
 
Computer Memory
Sweta Kumari Barnwal
 
DPSD MEMORY DEVICES UNIT memory device 4.pptx
Meganath7
 
What is Computer Memory.ppt
Muhammad Naeem
 
Computer memory and types of memory.pptx
dbmscse61
 
Lecture 09 - Ch No. 05 Internal Memory.pptx
AdeelAsghar36
 
TYPES OF COMPUTER MEMORIES
Shahbaz Baloch
 
INTERNAL MEMORY OF A COMPUTER SYSTEM.pptx
RobertDanso
 
Memory and storage (Jeric Bilita)
YoKim RiZon
 
Memory & storage devices
Hamza Mughal
 
RAM slide
MDShamimAlMamun4
 
memory classification
RamaPrabha24
 
Ad

Recently uploaded (20)

PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
PPTX
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PPTX
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
PPTX
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PDF
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
PPTX
Thermal runway and thermal stability.pptx
godow93766
 
PDF
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PDF
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
PPTX
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
Design Thinking basics for Engineers.pdf
CMR University
 
Element 11. ELECTRICITY safety and hazards
merrandomohandas
 
Shinkawa Proposal to meet Vibration API670.pptx
AchmadBashori2
 
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
rafeeqshaik212002
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
GitOps_Without_K8s_Training simple one without k8s
DanialHabibi2
 
美国电子版毕业证南卡罗莱纳大学上州分校水印成绩单USC学费发票定做学位证书编号怎么查
Taqyea
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
Reasons for the succes of MENARD PRESSUREMETER.pdf
majdiamz
 
Thermal runway and thermal stability.pptx
godow93766
 
Pressure Measurement training for engineers and Technicians
AIESOLUTIONS
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
MAD Unit - 2 Activity and Fragment Management in Android (Diploma IT)
JappanMavani
 
Worm gear strength and wear calculation as per standard VB Bhandari Databook.
shahveer210504
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
VITEEE 2026 Exam Details , Important Dates
SonaliSingh127098
 
Ad

Memory Organisation in embedded systems

  • 1. Lecture 1 MEMORY ORGANISATION IN EMBEDDED SYSTEMS
  • 2. Memory 1. Memory is an important component in an embedded system as it stores all and any form of data depending upon its design architecture. 2. For anyone to learn and have a deeper knowledge of the embedded systems, it's important that one should first understand what the memory of their hardware can actually offer or how one can design the hardware for their application . 3. In data centers, they deal with Petabytes of memory. In personal computers, they deal with mega->terabytes size of memory, But when it comes to embedded systems ,it's usually from kiloBytes to megaBytes of memory. 4. So, It is important that we understand,utilise and optimise this small amount of memory efficiently in embedded systems.
  • 3. Types of Memory Lorem Ipsum MEMORY RAM - Volatile memory SRAM DRAM SDRAM Register PROM EPROM EEPROM Flash ROM - NonVolatile memory Volatile memory : Loses data once the power is turned off. Non- volatile memory : Retains data on losing power.
  • 4. Transformation of ROM ROM is a non-volatile memory, meaning the data stored in ROM stays even after the power is turned off, having said so ROM also has endurance issues that data cannot be written over and over again, it has got limited number of write erase cycles before failure. ROM PROM EEPROM EPROM Flash ROM and PROM are programmed only once by the manufacturer and remains unchanged. EPROM are programmable multiple times and can be erased by exposing the memory to UV (ultra-violet)light. The next in the evolution comes the EEPROM and FLash which are electrically erasable and programmable ROM but Flash comes with an endurance issue (10,000 - 1,00,000+ write erase cycles)
  • 5. RAM (Random access memory): RAM is a volatile memory (Ram requires constant electrical power to store Data and if the power is turned off then the data is erased.) and as the name suggests allows access to any part of the memory given the address of that location. 1. In order for Data or program to run on a computer. First, It needs to be loaded into RAM. 2. So, RAM basically stores the data of your current running programs. For eg, if you have opened your MS office document ,the MS word program will be copied to RAM and that’s when we get the loading symbol in the front when the program gets copied in the background. 3. Once the program is loaded in the RAM, the CPU can now run the program and access the data. The data that you keep feeding to your document will be saved to your RAM before you SAVE it with the command File->Save As to your respective drive folder of ROM memory. 4. So, RAM is a very convenient type of memory to hold data that keeps changing continuously. 5. More space in RAM allows the user to use more applications simultaneously and efficiently.
  • 6. Types Of RAM : DRAM , SRAM, SDRAM 1. A DRAM uses a transistor - capacitor circuit to hold a bit of data. Charged state is 1 bit and discharged state is 0 bit. 2. While using capacitor, there may be leakage of current in capacitor due to the little amount of current that may be drawn by the adjacent transistor or just due to the inner behaviour of the capacitor itself. 3. So, the circuit needs to be refreshed with voltage continuously and will not work without power. 4. The data transfer is slow compared to SRAM and the cost is comparatively low. SDRAM is a synchronous DRAM where the instructions are synchronised with the clock speed of the microprocessor.
  • 7. SRAM on the other hand works much faster than DRAM as it doesn’t have any capacitor in its circuit and 2 cross coupled transistors i.e 4 transistors for storing the charge and 2 transistors for access control. SRAM is much costlier and works very fast.
  • 8. Register memory Registers are small memory that are present inside the processor itself. They contain the data of operands and instructions of a program that CPU is currently processing. Since registers are inside the processor, the time required to fetch data is very fast, but it cannot hold large data like RAM or ROM. It can hold only in bit levels. INTEL 8085 has popular 8-bit registers. ARM architecture has 32 bit registers. Registers also hold the peripheral address in microcontroller.
  • 9. So far, In the ppt we have learnt about the volatile and non volatile memories of a computer. To make the understanding much better let us site an Analogy. The core memory of a computer , ie the ROM or HDD can be imagined to a library , where numerous books on various topics are stacked up neatly each one labelled. The matrix of books arranged is the ROM. The labels on each book can be imagined as memory addresses of each byte. Memory Analogy
  • 10. And now consider yourself to be the CPU. Your task is to look for data to prepare for a science quiz. So, you have collected all the related books and placed them on the table top, which is the RAM. Now, More the table space, more books can be accommodated. This helps in fetching more data and saves time in going back to the shelf searching for the book and again coming back to the table. This is analogous to having more RAM size, when the program from the ROM is copied entirely to the RAM , the processor need not go back and forth to fetch data and instruction from the ROM as everything is copied to RAM and the execution is much faster.
  • 11. When you start the process, you will start reading the index of the book , memorize the page number and go to the particular page looking for information. This is similar to saving the page number data to the register memory and performing the next task. When you want to search the meaning of a particular word. You memorize the word in your head and take another book from the table top to know the meaning of it. This is similar to saving the address data in register memory and looking for the data in that address in RAM. Once the work is complete, all the books on the table will go back to the shelf and this is similar to RAM data dissolving once the power is out. And once you come out your memory will eventually forget the trivial data of page number and others. But some important data, like word- meaning might stay in your head for a long time then sync that to cache memory of the CPU.
  • 12. Thank You Hope you would have gained a good knowledge about memory and a overview of how it works inside the computer