SlideShare a Scribd company logo
1 of 47
C L A S S : E E E
S E M / Y E A R : 6 T H / I I I
F A C U L T Y I N - C H A R G E : M S . R O C K F E L L E R
EE8691 – EMBEDDED SYSTEMS
UNIT - 1
 1.1 Embedded system
 1.2 Build Process for Embedded System
 1.3 Processor Embedded In to a System
 1.4 Structural Units in Embedded System
 1.5 Design Process
 1.6 Processor Selection for an Embedded system
 1.7Memory Devices
 1.8 Processor and Memory organization
 1.9 Direct Memory Access (DMA)
 1.10 Memory Management methods
 1.11Timer and Counting devices
 1.12 Watchdog Timer
 1.13 Real time Clock
 1.14 In-circuit Emulator
 1.15 ROM emulators, On-chip debugging - Applications
1.1 An Embedded System
 Microprocessor – more powerful and more important
component of all computing device
 Discussion – Basic microprocessor function and how its
involved in embedded system.
 Embedded System - Any device that includes
programmable computer but it is not itself intended to be
a general purpose computer.
 1.1.1 System – A system is a way of working, organizing
or doing one or many tasks according to a fixed plan,
program or set of rules.
 It is also arrangement of many components and work
together according to the plan or program.
1.1 An Embedded System
 Examples for system:
 1.Time – display system
 2. Automatic clothes washing system
 3. Telephone answering machine system
 4. Elevator controller system etc
 Example 1: Watch
 Time-display system
 It has hardware parts, needles and battery with dial,
chassis and strap.
 Continuously update the time for every second.
1.1 An Embedded System
 Example 2 : Washing Machine
 Automatic cloths washing system
 Hardware parts: status display panel, switch and dial
for user defined programming, a motor to rotate or
spin its power supply and control unit, inner water
level sensor, a solenoid valve for letting water in and
draining water out.
1.1 An Embedded System
 Example 2 : Washing Machine
1.1 An Embedded System
 1.1.2 Embedded System
 A computer is a system which has collection of
components used to execute a task according to a
program or commands given to it. It has following
component,
 1. Microprocessor
 2. A large memory comprising the following kind
 Input units like keyboard, mouse, digitizer etc..,
 Output units like video, monitor, printer etc..,
 Networking units like Ethernet card, front end processor-
based driver etc.
 I/O units like a modem, fax cum modem etc..,
1.1 An Embedded System
 1.1.2 Embedded System
1.1 An Embedded System
 RTOS – Real time Operating system
 Supervises the application software and provide a mechanism
to the processor run a process as per the scheduling and do
the context-switch between the various process
 Defines the way the system works
 Organizes the access resources in a sequence of the series of
task of the system.
 It schedules their working and executin by following a plan to
control the latencies and to meet the deadlines.
 Latency – waiting period between running codes of a task.
 RTOS sets rules during execution of the application software
and a small scale embedded system may not need an RTOS.
1.1 An Embedded System
 RTOS – Real time Operating system
 An Embedded system has software designed to keep
in view of three constraints.
 1. Available system memory
 2. Available processor speed
1.1 An Embedded System
 1.1.3 Classification of Embedded System
 Embedded system can be classified into three tyoes
 1. Small-scale embedded system
 2. Medium-scale embedded system
 3.Sophesticated embedded system
1.1 An Embedded System
 1.1.3 Classification of Embedded System
 1. Small-scale Embedded System
 These systems are designed with single 8 bit r 16 bit
microcontroller and it has little hardware and software
complexities.
 The main programming tool for developing these kinds
of system are an editor, assembler and cross assembler,
specific to the microcontroller or processor used
 C language is mainly used for developing these systems
 The software used in those system must be fit within the
memory available and keep in view the need to limit
power dissipation when system is running continuously.
1.1 An Embedded System
 1.1.3 Classification of Embedded System
 2. Medium – scale Embedded System
 Designed with a single 16 or 32 bit microcontrollers r
DSPs or RISC
 The system have bith hardware and software
complexities for complex software design the following
programming tools are used
 RTOS
 Source code engineering tool
 Simulator
 Debugger
 Integrated Development Environment (IDE)
1.1 An Embedded System
 1.1.3 Classification of Embedded System
 3. Sophisticated Embedded System
 It has more hardware and software complexities and may
need scalable processors or configurable processors and
programmable logic arrays
 They are used for cutting edge applications that need
Hardware and software co-design and integration in the
final system, however they are constrained by the
processing speeds available in their hardware units.
 Certain software functions are implemented in the
hardware to obtain additional speeds by saving time.
 Development ttols may not be readily available.
1.1 An Embedded System
 1.1.4 Skills required for an Embedded Designer
 Develop using available tools within given
specification, cost and time frame.
 Small-scale embedded designer – Understanding of
microcontroller with basic knowledge of computer
architecture
 Medium scale embedded designer – C programming,
RTOS programming.
 Sophisticated embedded system designer – team is
need to co-design and solve high level complexities
of hardware ans software design.
1.2 Build Process for Embedded System
 Building Embedded System can be focused into two
technical perspective such as
 1. Software perspective
 2. Hardware perspective
1.2 Build Process for Embedded System
 1.2.1 Software Perspective
 The following steps occur when the system starts
 1. Processor begins executing at the Reset Vector.
The Initial Program Loader (IPL) locates the OS
image and transfers control to the startup program
in the image.
 2.Startup program configures the system and
transfer control to microkernel and process manger
1.2 Build Process for Embedded System
 1.2.1 Software Perspective
 Role of Initial Program Loader (IPL)
 First step – Load OS image – done by a program called IPL
 IPL’s initial task – minimally configure the hardware to create
an environment that will allow the startup program and
consequently the microkernel to run.
 The task includes the follwing steps
 Start execution from the Reset Vector.
 Configure the memory controller
 Configure Clocks
 Set up a stack to allow the IPL Library perform OS verification
and setup.
1.2 Build Process for Embedded System
 1.2.1 Software Perspective
 Role of Initial Program Loader (IPL)
 Types of IPL
 1. Warm-start IPL (involved by ROM)
 2. Cold-start IPL (CPU and hardware)
 Role of startup program
 Second step – performed by software to configure the processor and
hardware, detect system resource and start the OS.
 This is done by startup program.
 Startup’s Responsibilities
 Copy and decompress the image
 Configure Hardware
 Determine system configuration
 Start the kernel.
1.2 Build Process for Embedded System
 1.2.2 Hardware Perspective
 Components from the system
 Processor
 Source of initialization and configuration info
 Storage media
 Input devices
 Choice of processor
 ARM
 MIPS
 Power PC
 SH – 4
 X86
1.2 Build Process for Embedded System
 1.2.2 Hardware Perspective
 Source of initialization and Configuration
 When processor starts or restarts, t must be able to execute
instructions.
 This is accomplished by having some kind of non volatile
storage media placed at the processor’s reset vector.
 Choice of file system
 Additional decision to make regarding the system storage
capabilities
 None
 Read-only
 Read/write non persistent
 Read/write persistent
Purpose of Embedded System
 Each Embedded Systems is designed to serve the
purpose of any one or a combination of the following
tasks.
 Data Collection/Storage/Representation
 Data Communication o Data (Signal) Processing
 Monitoring
 Control
 Application Specific User Interface
Purpose of Embedded System
Data Collection/Storage/Representation
 Performs acquisition of data from the external world.
 The collected data can be either analog or digital
 Data collection is usually done for storage, analysis,
manipulation and transmission
 The collected data may be stored directly in the system or may
be transmitted to some other systems or it may be processed
by the system or it may be deleted instantly after giving a
meaningful representation
Purpose of Embedded System
Data Communication
 Embedded Data communication systems are deployed in
applications ranging from complex satellite communication
systems to simple home networking systems
 Embedded Data communication systems are dedicated for
data communication
 The data communication can happen through a wired interface
(like Ethernet, RS-232C/USB/IEEE1394 etc) or wireless
interface (like Wi-Fi, GSM,/GPRS, Bluetooth, ZigBee etc)
 Network hubs, Routers, switches, Modems etc are typical
examples for dedicated data transmission embedded systems
Purpose of Embedded System
Data (Signal) Processing
• Embedded systems with Signal processing functionalities are
employed in applications demanding signal processing like
Speech coding, synthesis, audio video codec, transmission
applications etc
• Computational intensive systems
• Employs Digital Signal Processors (DSPs)
Purpose of Embedded System
Monitoring
• Embedded systems coming under
this category are specifically
designed for monitoring purpose
• They are used for determining
the state of some variables using
input sensors
Purpose of Embedded System
Control
• Embedded systems with control functionalities are used for
imposing control over some variables according to the changes
in input variables
• Embedded system with control functionality contains both
sensors and actuators
• Sensors are connected to the input port for capturing the
changes in environmental variable or measuring variable
• The actuators connected to the output port are controlled
according to the changes in input variable to put an impact on
the controlling variable to bring the controlled variable to the
specified range
Design Process of Embedded Systems
Design Process of Embedded Systems
 At each level of abstraction, we must:
 – analyze the design to determine characteristics of
the current state of the design;
 – refine the design to add detail.
Design Process of Embedded Systems
Requirements
Plain language description of what the user wants and
expects to get.
 May be developed in several ways:
– talking directly to customers;
– talking to marketing representatives;
– providing prototypes to users for comment.
Design Process of Embedded Systems
Requirements
 Functional requirements:
– output as a function of input.
 Non-functional requirements:
– time required to compute output;
– size, weight, etc.;
– power consumption;
– reliability; – etc.
Design Process of Embedded Systems
Specification
 A more precise description of the system:
– should not imply a particular architecture;
– provides input to the architecture design
process.
 May include functional and non-functional elements.
 May be executable or may be in mathematical form
for proofs.
Design Process of Embedded Systems
Architecture Design
 What major components go satisfying the
specification?
Hardware components:
– CPUs, peripherals, etc.
Software components:
– major programs and their operations.
Must take into account functional and nonfunctional
specifications.
Design Process of Embedded Systems
Architecture Design (Example)
GPS moving map
Design Process of Embedded Systems
Design of hardware and software components
 Must spend time architecting the system before you
start coding.
 Some components are ready-made, some can be
modified from existing designs, others must be
designed from scratch.
Design Process of Embedded Systems
System Integration
 Put together the components.
– Many bugs appear only at this stage.
 Have a plan for integrating components to uncover
bugs quickly, test as much functionality as early as
possible.
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
M
LE
ore
M
m I
O
psu
R
mY
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 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.
RAM
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.

More Related Content

What's hot

Real Time Systems
Real Time SystemsReal Time Systems
Real Time SystemsDeepak John
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systemsleo3004
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRayees CK
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systemsPradeep Kumar TS
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systemsmahalakshmimalini
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notesShikha Sharma
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded SystemZakaria Gomaa
 
Embedded system design challenges
Embedded system design challenges Embedded system design challenges
Embedded system design challenges Aditya Kamble
 
Hardware Software Codesign
Hardware Software CodesignHardware Software Codesign
Hardware Software Codesigndestruck
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMprakrutijsh
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsHariharan Ganesan
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system designK Senthil Kumar
 

What's hot (20)

Task assignment and scheduling
Task assignment and schedulingTask assignment and scheduling
Task assignment and scheduling
 
Hardware-Software Codesign
Hardware-Software CodesignHardware-Software Codesign
Hardware-Software Codesign
 
Rtos by shibu
Rtos by shibuRtos by shibu
Rtos by shibu
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
 
Real Time Systems
Real Time SystemsReal Time Systems
Real Time Systems
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Embedded system introduction
Embedded system introductionEmbedded system introduction
Embedded system introduction
 
Design of embedded systems
Design of embedded systemsDesign of embedded systems
Design of embedded systems
 
RTOS Basic Concepts
RTOS Basic ConceptsRTOS Basic Concepts
RTOS Basic Concepts
 
Design challenges in embedded systems
Design challenges in embedded systemsDesign challenges in embedded systems
Design challenges in embedded systems
 
Embedded systems notes
Embedded systems notesEmbedded systems notes
Embedded systems notes
 
Introduction to Embedded System
Introduction to Embedded SystemIntroduction to Embedded System
Introduction to Embedded System
 
Embedded system design challenges
Embedded system design challenges Embedded system design challenges
Embedded system design challenges
 
Unit 3 mpmc
Unit 3 mpmcUnit 3 mpmc
Unit 3 mpmc
 
Hardware Software Codesign
Hardware Software CodesignHardware Software Codesign
Hardware Software Codesign
 
REAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEMREAL TIME OPERATING SYSTEM
REAL TIME OPERATING SYSTEM
 
Real Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systemsReal Time Operating system (RTOS) - Embedded systems
Real Time Operating system (RTOS) - Embedded systems
 
Embedded system.ppt
Embedded system.pptEmbedded system.ppt
Embedded system.ppt
 
Embedded systems basics
Embedded systems basicsEmbedded systems basics
Embedded systems basics
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system design
 

Similar to EE8691 – EMBEDDED SYSTEMS.pptx

Embedded system notes
Embedded system notesEmbedded system notes
Embedded system notesTARUN KUMAR
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfabdisahirko
 
Fundamentals of Internet of Things (IoT)
Fundamentals of Internet of Things (IoT)Fundamentals of Internet of Things (IoT)
Fundamentals of Internet of Things (IoT)ChandrakantDivate1
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded systemajitsaraf123
 
Embedded Systems Implementation and Applications
Embedded Systems Implementation and ApplicationsEmbedded Systems Implementation and Applications
Embedded Systems Implementation and ApplicationsKaushik Padmanabhan
 
Unit 1 intro-embedded
Unit 1 intro-embeddedUnit 1 intro-embedded
Unit 1 intro-embeddedPavithra S
 
Ise iv-computer organization [10 cs46]-notes new
Ise iv-computer  organization [10 cs46]-notes newIse iv-computer  organization [10 cs46]-notes new
Ise iv-computer organization [10 cs46]-notes newdilshad begum
 
introduction to embedded system presentation
introduction to embedded system presentationintroduction to embedded system presentation
introduction to embedded system presentationAmr Rashed
 
A Study Of Real-Time Embedded Software Systems And Real-Time Operating Systems
A Study Of Real-Time Embedded Software Systems And Real-Time Operating SystemsA Study Of Real-Time Embedded Software Systems And Real-Time Operating Systems
A Study Of Real-Time Embedded Software Systems And Real-Time Operating SystemsRick Vogel
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded Systemrmkceteee
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded systemPankaj joshi
 

Similar to EE8691 – EMBEDDED SYSTEMS.pptx (20)

dhamo
dhamodhamo
dhamo
 
Embedded system notes
Embedded system notesEmbedded system notes
Embedded system notes
 
BEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdfBEE 049- design of embedded system.pdf
BEE 049- design of embedded system.pdf
 
Fundamentals of Internet of Things (IoT)
Fundamentals of Internet of Things (IoT)Fundamentals of Internet of Things (IoT)
Fundamentals of Internet of Things (IoT)
 
Unit 1 - Introduction
Unit 1 - IntroductionUnit 1 - Introduction
Unit 1 - Introduction
 
Introduction to embedded system
Introduction to embedded systemIntroduction to embedded system
Introduction to embedded system
 
Embedded Systems Implementation and Applications
Embedded Systems Implementation and ApplicationsEmbedded Systems Implementation and Applications
Embedded Systems Implementation and Applications
 
Unit 1 intro-embedded
Unit 1 intro-embeddedUnit 1 intro-embedded
Unit 1 intro-embedded
 
Arduino
Arduino Arduino
Arduino
 
Ise iv-computer organization [10 cs46]-notes new
Ise iv-computer  organization [10 cs46]-notes newIse iv-computer  organization [10 cs46]-notes new
Ise iv-computer organization [10 cs46]-notes new
 
introduction to embedded system presentation
introduction to embedded system presentationintroduction to embedded system presentation
introduction to embedded system presentation
 
mechatronics.pdf
mechatronics.pdfmechatronics.pdf
mechatronics.pdf
 
A Study Of Real-Time Embedded Software Systems And Real-Time Operating Systems
A Study Of Real-Time Embedded Software Systems And Real-Time Operating SystemsA Study Of Real-Time Embedded Software Systems And Real-Time Operating Systems
A Study Of Real-Time Embedded Software Systems And Real-Time Operating Systems
 
EE6602 Embedded System
EE6602 Embedded SystemEE6602 Embedded System
EE6602 Embedded System
 
Embedded systems_upded1.ppt
Embedded systems_upded1.pptEmbedded systems_upded1.ppt
Embedded systems_upded1.ppt
 
ESD unit 1.pptx
ESD unit 1.pptxESD unit 1.pptx
ESD unit 1.pptx
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded system
 
COMPUTER COMPONENTS
COMPUTER COMPONENTSCOMPUTER COMPONENTS
COMPUTER COMPONENTS
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
EC8791-U5-PPT.pptx
EC8791-U5-PPT.pptxEC8791-U5-PPT.pptx
EC8791-U5-PPT.pptx
 

More from RockFellerSinghRusse

More from RockFellerSinghRusse (12)

2015-lachs-panel_6-1-jasani.ppt
2015-lachs-panel_6-1-jasani.ppt2015-lachs-panel_6-1-jasani.ppt
2015-lachs-panel_6-1-jasani.ppt
 
quiz-150926123857-lva1-app6892 (1).pptx
quiz-150926123857-lva1-app6892 (1).pptxquiz-150926123857-lva1-app6892 (1).pptx
quiz-150926123857-lva1-app6892 (1).pptx
 
EC8094 – SATELLITE COMMUNICATION.pptx
EC8094 – SATELLITE COMMUNICATION.pptxEC8094 – SATELLITE COMMUNICATION.pptx
EC8094 – SATELLITE COMMUNICATION.pptx
 
logic_families_lecture.ppt
logic_families_lecture.pptlogic_families_lecture.ppt
logic_families_lecture.ppt
 
Lesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.pptLesson_8_2--Asynchronous_Counters1.ppt
Lesson_8_2--Asynchronous_Counters1.ppt
 
PARITY_GENERATOR_AND_CHECKER_PPT.pptx
PARITY_GENERATOR_AND_CHECKER_PPT.pptxPARITY_GENERATOR_AND_CHECKER_PPT.pptx
PARITY_GENERATOR_AND_CHECKER_PPT.pptx
 
FF and Latches.ppt
FF and Latches.pptFF and Latches.ppt
FF and Latches.ppt
 
1.ppt
1.ppt1.ppt
1.ppt
 
lecture4signals-181130200508.pptx
lecture4signals-181130200508.pptxlecture4signals-181130200508.pptx
lecture4signals-181130200508.pptx
 
01 - Slides.ppt
01 - Slides.ppt01 - Slides.ppt
01 - Slides.ppt
 
EC8702 – Unit 1.pptx
EC8702 – Unit 1.pptxEC8702 – Unit 1.pptx
EC8702 – Unit 1.pptx
 
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
IMPLEMENTATION OF WBSS IN LOW SNR.pptxIMPLEMENTATION OF WBSS IN LOW SNR.pptx
IMPLEMENTATION OF WBSS IN LOW SNR.pptx
 

Recently uploaded

Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257subhasishdas79
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxMustafa Ahmed
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesChandrakantDivate1
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network DevicesChandrakantDivate1
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiessarkmank1
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)ChandrakantDivate1
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdfKamal Acharya
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptAfnanAhmad53
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.Kamal Acharya
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxpritamlangde
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdfKamal Acharya
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxhublikarsn
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptxJIT KUMAR GUPTA
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxNANDHAKUMARA10
 
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...manju garg
 

Recently uploaded (20)

Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257Memory Interfacing of 8086 with DMA 8257
Memory Interfacing of 8086 with DMA 8257
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Worksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptxWorksharing and 3D Modeling with Revit.pptx
Worksharing and 3D Modeling with Revit.pptx
 
Computer Graphics Introduction To Curves
Computer Graphics Introduction To CurvesComputer Graphics Introduction To Curves
Computer Graphics Introduction To Curves
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
Computer Networks Basics of Network Devices
Computer Networks  Basics of Network DevicesComputer Networks  Basics of Network Devices
Computer Networks Basics of Network Devices
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)Introduction to Artificial Intelligence ( AI)
Introduction to Artificial Intelligence ( AI)
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Employee leave management system project.
Employee leave management system project.Employee leave management system project.
Employee leave management system project.
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
Hospital management system project report.pdf
Hospital management system project report.pdfHospital management system project report.pdf
Hospital management system project report.pdf
 
Introduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptxIntroduction to Robotics in Mechanical Engineering.pptx
Introduction to Robotics in Mechanical Engineering.pptx
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
👉 Yavatmal Call Girls Service Just Call 🍑👄6378878445 🍑👄 Top Class Call Girl S...
 

EE8691 – EMBEDDED SYSTEMS.pptx

  • 1. C L A S S : E E E S E M / Y E A R : 6 T H / I I I F A C U L T Y I N - C H A R G E : M S . R O C K F E L L E R EE8691 – EMBEDDED SYSTEMS
  • 2. UNIT - 1  1.1 Embedded system  1.2 Build Process for Embedded System  1.3 Processor Embedded In to a System  1.4 Structural Units in Embedded System  1.5 Design Process  1.6 Processor Selection for an Embedded system  1.7Memory Devices  1.8 Processor and Memory organization  1.9 Direct Memory Access (DMA)  1.10 Memory Management methods  1.11Timer and Counting devices  1.12 Watchdog Timer  1.13 Real time Clock  1.14 In-circuit Emulator  1.15 ROM emulators, On-chip debugging - Applications
  • 3. 1.1 An Embedded System  Microprocessor – more powerful and more important component of all computing device  Discussion – Basic microprocessor function and how its involved in embedded system.  Embedded System - Any device that includes programmable computer but it is not itself intended to be a general purpose computer.  1.1.1 System – A system is a way of working, organizing or doing one or many tasks according to a fixed plan, program or set of rules.  It is also arrangement of many components and work together according to the plan or program.
  • 4. 1.1 An Embedded System  Examples for system:  1.Time – display system  2. Automatic clothes washing system  3. Telephone answering machine system  4. Elevator controller system etc  Example 1: Watch  Time-display system  It has hardware parts, needles and battery with dial, chassis and strap.  Continuously update the time for every second.
  • 5. 1.1 An Embedded System  Example 2 : Washing Machine  Automatic cloths washing system  Hardware parts: status display panel, switch and dial for user defined programming, a motor to rotate or spin its power supply and control unit, inner water level sensor, a solenoid valve for letting water in and draining water out.
  • 6. 1.1 An Embedded System  Example 2 : Washing Machine
  • 7. 1.1 An Embedded System  1.1.2 Embedded System  A computer is a system which has collection of components used to execute a task according to a program or commands given to it. It has following component,  1. Microprocessor  2. A large memory comprising the following kind  Input units like keyboard, mouse, digitizer etc..,  Output units like video, monitor, printer etc..,  Networking units like Ethernet card, front end processor- based driver etc.  I/O units like a modem, fax cum modem etc..,
  • 8. 1.1 An Embedded System  1.1.2 Embedded System
  • 9. 1.1 An Embedded System  RTOS – Real time Operating system  Supervises the application software and provide a mechanism to the processor run a process as per the scheduling and do the context-switch between the various process  Defines the way the system works  Organizes the access resources in a sequence of the series of task of the system.  It schedules their working and executin by following a plan to control the latencies and to meet the deadlines.  Latency – waiting period between running codes of a task.  RTOS sets rules during execution of the application software and a small scale embedded system may not need an RTOS.
  • 10. 1.1 An Embedded System  RTOS – Real time Operating system  An Embedded system has software designed to keep in view of three constraints.  1. Available system memory  2. Available processor speed
  • 11. 1.1 An Embedded System  1.1.3 Classification of Embedded System  Embedded system can be classified into three tyoes  1. Small-scale embedded system  2. Medium-scale embedded system  3.Sophesticated embedded system
  • 12. 1.1 An Embedded System  1.1.3 Classification of Embedded System  1. Small-scale Embedded System  These systems are designed with single 8 bit r 16 bit microcontroller and it has little hardware and software complexities.  The main programming tool for developing these kinds of system are an editor, assembler and cross assembler, specific to the microcontroller or processor used  C language is mainly used for developing these systems  The software used in those system must be fit within the memory available and keep in view the need to limit power dissipation when system is running continuously.
  • 13. 1.1 An Embedded System  1.1.3 Classification of Embedded System  2. Medium – scale Embedded System  Designed with a single 16 or 32 bit microcontrollers r DSPs or RISC  The system have bith hardware and software complexities for complex software design the following programming tools are used  RTOS  Source code engineering tool  Simulator  Debugger  Integrated Development Environment (IDE)
  • 14. 1.1 An Embedded System  1.1.3 Classification of Embedded System  3. Sophisticated Embedded System  It has more hardware and software complexities and may need scalable processors or configurable processors and programmable logic arrays  They are used for cutting edge applications that need Hardware and software co-design and integration in the final system, however they are constrained by the processing speeds available in their hardware units.  Certain software functions are implemented in the hardware to obtain additional speeds by saving time.  Development ttols may not be readily available.
  • 15. 1.1 An Embedded System  1.1.4 Skills required for an Embedded Designer  Develop using available tools within given specification, cost and time frame.  Small-scale embedded designer – Understanding of microcontroller with basic knowledge of computer architecture  Medium scale embedded designer – C programming, RTOS programming.  Sophisticated embedded system designer – team is need to co-design and solve high level complexities of hardware ans software design.
  • 16. 1.2 Build Process for Embedded System  Building Embedded System can be focused into two technical perspective such as  1. Software perspective  2. Hardware perspective
  • 17. 1.2 Build Process for Embedded System  1.2.1 Software Perspective  The following steps occur when the system starts  1. Processor begins executing at the Reset Vector. The Initial Program Loader (IPL) locates the OS image and transfers control to the startup program in the image.  2.Startup program configures the system and transfer control to microkernel and process manger
  • 18. 1.2 Build Process for Embedded System  1.2.1 Software Perspective  Role of Initial Program Loader (IPL)  First step – Load OS image – done by a program called IPL  IPL’s initial task – minimally configure the hardware to create an environment that will allow the startup program and consequently the microkernel to run.  The task includes the follwing steps  Start execution from the Reset Vector.  Configure the memory controller  Configure Clocks  Set up a stack to allow the IPL Library perform OS verification and setup.
  • 19. 1.2 Build Process for Embedded System  1.2.1 Software Perspective  Role of Initial Program Loader (IPL)  Types of IPL  1. Warm-start IPL (involved by ROM)  2. Cold-start IPL (CPU and hardware)  Role of startup program  Second step – performed by software to configure the processor and hardware, detect system resource and start the OS.  This is done by startup program.  Startup’s Responsibilities  Copy and decompress the image  Configure Hardware  Determine system configuration  Start the kernel.
  • 20. 1.2 Build Process for Embedded System  1.2.2 Hardware Perspective  Components from the system  Processor  Source of initialization and configuration info  Storage media  Input devices  Choice of processor  ARM  MIPS  Power PC  SH – 4  X86
  • 21. 1.2 Build Process for Embedded System  1.2.2 Hardware Perspective  Source of initialization and Configuration  When processor starts or restarts, t must be able to execute instructions.  This is accomplished by having some kind of non volatile storage media placed at the processor’s reset vector.  Choice of file system  Additional decision to make regarding the system storage capabilities  None  Read-only  Read/write non persistent  Read/write persistent
  • 22. Purpose of Embedded System  Each Embedded Systems is designed to serve the purpose of any one or a combination of the following tasks.  Data Collection/Storage/Representation  Data Communication o Data (Signal) Processing  Monitoring  Control  Application Specific User Interface
  • 23. Purpose of Embedded System Data Collection/Storage/Representation  Performs acquisition of data from the external world.  The collected data can be either analog or digital  Data collection is usually done for storage, analysis, manipulation and transmission  The collected data may be stored directly in the system or may be transmitted to some other systems or it may be processed by the system or it may be deleted instantly after giving a meaningful representation
  • 24. Purpose of Embedded System Data Communication  Embedded Data communication systems are deployed in applications ranging from complex satellite communication systems to simple home networking systems  Embedded Data communication systems are dedicated for data communication  The data communication can happen through a wired interface (like Ethernet, RS-232C/USB/IEEE1394 etc) or wireless interface (like Wi-Fi, GSM,/GPRS, Bluetooth, ZigBee etc)  Network hubs, Routers, switches, Modems etc are typical examples for dedicated data transmission embedded systems
  • 25. Purpose of Embedded System Data (Signal) Processing • Embedded systems with Signal processing functionalities are employed in applications demanding signal processing like Speech coding, synthesis, audio video codec, transmission applications etc • Computational intensive systems • Employs Digital Signal Processors (DSPs)
  • 26. Purpose of Embedded System Monitoring • Embedded systems coming under this category are specifically designed for monitoring purpose • They are used for determining the state of some variables using input sensors
  • 27. Purpose of Embedded System Control • Embedded systems with control functionalities are used for imposing control over some variables according to the changes in input variables • Embedded system with control functionality contains both sensors and actuators • Sensors are connected to the input port for capturing the changes in environmental variable or measuring variable • The actuators connected to the output port are controlled according to the changes in input variable to put an impact on the controlling variable to bring the controlled variable to the specified range
  • 28. Design Process of Embedded Systems
  • 29. Design Process of Embedded Systems  At each level of abstraction, we must:  – analyze the design to determine characteristics of the current state of the design;  – refine the design to add detail.
  • 30. Design Process of Embedded Systems Requirements Plain language description of what the user wants and expects to get.  May be developed in several ways: – talking directly to customers; – talking to marketing representatives; – providing prototypes to users for comment.
  • 31. Design Process of Embedded Systems Requirements  Functional requirements: – output as a function of input.  Non-functional requirements: – time required to compute output; – size, weight, etc.; – power consumption; – reliability; – etc.
  • 32. Design Process of Embedded Systems Specification  A more precise description of the system: – should not imply a particular architecture; – provides input to the architecture design process.  May include functional and non-functional elements.  May be executable or may be in mathematical form for proofs.
  • 33. Design Process of Embedded Systems Architecture Design  What major components go satisfying the specification? Hardware components: – CPUs, peripherals, etc. Software components: – major programs and their operations. Must take into account functional and nonfunctional specifications.
  • 34. Design Process of Embedded Systems Architecture Design (Example) GPS moving map
  • 35. Design Process of Embedded Systems Design of hardware and software components  Must spend time architecting the system before you start coding.  Some components are ready-made, some can be modified from existing designs, others must be designed from scratch.
  • 36. Design Process of Embedded Systems System Integration  Put together the components. – Many bugs appear only at this stage.  Have a plan for integrating components to uncover bugs quickly, test as much functionality as early as possible.
  • 38. 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.
  • 39. Types of Memory M LE ore M m I O psu R mY 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.
  • 40. 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 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)
  • 41. 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. RAM
  • 42. 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.
  • 43. 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.
  • 44. 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.
  • 45. 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
  • 46. 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.
  • 47. 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.