SlideShare a Scribd company logo
Team Emertxe
Introduction to Embedded System (IES)
Pass on the ball
1)Let us get the ball rolling 
2)Introduce yourself
3)Expectations from this program
Course span-out
Introduction to Embedded System
Let us ponder…
● What do you understand as Embedded System?
● Name few examples of Embedded System from our daily usage
● How different they are from a general purpose system (GPS)?
● What difference can be there between multiple Embedded
Systems?
“Any Hardware System which is intended to do a specific
task can be called as an Embedded System”
ES - Examples
Examples – Automotive, Satellite communication,
Consumer electronics, Medical, Imaging, Robotics etc..
ES - Classifications
●
Embedded systems can be classified into four different
categories:
– Stand alone Embedded System – Performs a single and specific functionality
– Real time Embedded System – Provides real time guarantee in terms of response
and predictability
– Network appliances – High focus on packet processing
– Mobile devices – Hand held devices
●
Embedded systems – “Choice-points”
– Embedded Systems type and expectations drastically vary
– In order to meet customer needs specific “Choice-points” to be decided
– These are popularly known as “Design parameters”
ES – Choice points
● Let us take an example of Mobile Vs. Automotive Embedded device
● Try to compare various choice points
● For each choice made corresponding compromise factor to be considered
● Optimizing every other parameter is not a possible option
ES – Design metrics
● Time to Prototype
● Power
● Performance & Correctness
● Size
● NRE
● Maintainability & Flexibility
● Safety
● Unit Cost
● Time to Market
ES - Challenges
● Efficient Inputs/Outputs
● Embedding an OS   
● Code optimization
● Testing and debugging
Embedded System Components
ES - Components
CPU – μC | μP
● The “Brain” of the system
● Implementation can be:
– Universal
– Digital Signal Processors (DSP)
– System On a Chip (SoC)
● “On-the board” v/s “On-the-chip”
● ASIC/SoC tape-out process provides lot of advantages than
using Universal processors
● However it requires huge up-front investment (in terms of
millions!)
Memory
● Various types of memory exist with specific characteristics
● Based on Volatility, Write-ability, Cost and Speed - Parameters to
compare
● Higher level group/category is provided as follows:
Memory - compare!
Memory - Space
Components…
FPGA and ASIC – Taping out custom chips for optimization purpose
HW – Processors and Controllers
Evolution of processors
Micro processor v/s
Micro controller
ü
All separate components
ü
More flexible
ü
More design complexity
ü
All components in a single chip
ü
Less flexible
ü
Less design complexity
Choosing a Micro-
processor:
Choice points:
ü
Application
ü
Performance
ü
Price
ü
Availability
ü
Availability of Tools
ü
Special Capabilities
Classifications:
ü
Bit-depth
ü
Architecture
ü
Use based:
•
GPP – Proper & Micro controllers
•
ASP – DSP & ASIC
Von Neumann &
Harvard Architecture
Shared signals and memory for
code and data
Physically separate signals and
storage for code and data
RISC v/s CISC
RISC:
Advantages:
ü
Moved complexity from HW to SW
ü
Provided a single-chip solution
ü
Better usage of chip area
ü
Better speed
ü
Feasibility of pipe-lining
•
Single cycle execution stages
•
Uniform Instruction format
Disadvantages:
ü
Greater burden on SW
CISC:
Advantages:
ü
Moved complexity from SW to HW
ü
Compact code
ü
Ease of compiler design
ü
Easier to debug
Disadvantages:
ü
Increased design errors
ü
Longer design time
ü
Performance tuning unsuccessful
ü
High complexity
ü
Time to market increases
Interfacing
●
Processor has to
interface with memory
and various I/O devices
●
Bus protocols are used
for communication
●
Consisting of:
– Address bus
– Data bus
– Control lines:
● CS
● RD
● WR
Peripheral Interfacing
●
Processor has to
interface with memory
and various I/O devices
●
Bus protocols are used
for communication
●
Consisting of:
– Address bus
– Data bus
– Control lines:
● CS
● RD
● WR
HW Architecture
HW board with interfacing
SW – Development, Architecture, Environment
SW development
In Embedded Systems, SW and HW development happens in a combined
manner. SW development details and life cycle are covered in SDLC topic in
detail.
Architectures
● Super loop
●
Interrupt controlled
● Co-operative multi tasking
● Pre-emptive multi-tasking
● Micro and Monolithic Kernel
Dev Environment
● Embedded development environment is quite different and
relatively complex than application development
● The simple reason the embedded software developed in a ‘host’
machine and executed on a ‘target’ which makes the compilation
and debugging process quite challenging
● Popularly known as Integrated Development Environment (IDE), this
environment consist of the following key candidates:
– Editor – For scripting Embedded program
– Configuration
– Tool chain – Cross compiler, linker and associated tools
– Target download and debug environment – Installation and test
IDE – Pictorially…
Interrupts
Interrupt - Basics
●
An interrupt is a communication process set up in a microprocessor or
microcontroller in which:
– An internal or external device requests the MPU to stop the processing
– The MPU acknowledges the request
– Attends to the request
– Goes back to processing where it was interrupted
●
Interrupt sources
– External
– Timers
– Peripherals
●
Interrupt v/s Polling
– Loss of Events
– Response
– Power Management
Interrupts - Classification
Interrupts - Handling
Interrupt Service Routine
● Similar to a subroutine
● Attends to the request of an interrupting source
– Clears the interrupt flag
– Should save register contents that may be affected by the code in the ISR
– Must be terminated with the instruction RETFIE
● When an interrupt occurs, the MPU:
– Completes the instruction being executed
– Disables global interrupt enable
– Places the address from the program counter on the stack
● Return from interrupt
Interrupt Latency
● Latency is determined by:
– Instruction time (how long is the longest)
– How much of the context must be saved
– How much of the context must be restored
– The effort to implement priority scheme
– Time spend executing protected code
Thank You

More Related Content

What's hot (20)

PDF
C Programming - Refresher - Part I
Emertxe Information Technologies Pvt Ltd
 
PDF
Embedded Operating System - Linux
Emertxe Information Technologies Pvt Ltd
 
PDF
Intro to Embedded OS, RTOS and Communication Protocols
Emertxe Information Technologies Pvt Ltd
 
PDF
Linux-Internals-and-Networking
Emertxe Information Technologies Pvt Ltd
 
PDF
C Programming - Refresher - Part III
Emertxe Information Technologies Pvt Ltd
 
PDF
Linux Internals - Part I
Emertxe Information Technologies Pvt Ltd
 
PDF
Embedded C - Lecture 4
Mohamed Abdallah
 
PDF
Interrupts
Anil Kumar Pugalia
 
PPTX
AUTOSAR Memory Stcak (MemStack).
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
PDF
RTOS - Real Time Operating Systems
Emertxe Information Technologies Pvt Ltd
 
PPT
Basic Linux Internals
mukul bhardwaj
 
PDF
Kernel Module Programming
Saurabh Bangad
 
PPTX
Contiguous Memory Allocation-R.D.Sivakumar
Sivakumar R D .
 
PDF
BusyBox for Embedded Linux
Emertxe Information Technologies Pvt Ltd
 
PPTX
Embedded system.ppt
Radhika Puttewar
 
ODP
Linux Internals - Kernel/Core
Shay Cohen
 
PDF
Embedded linux network device driver development
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 
C Programming - Refresher - Part I
Emertxe Information Technologies Pvt Ltd
 
Embedded Operating System - Linux
Emertxe Information Technologies Pvt Ltd
 
Intro to Embedded OS, RTOS and Communication Protocols
Emertxe Information Technologies Pvt Ltd
 
Linux-Internals-and-Networking
Emertxe Information Technologies Pvt Ltd
 
C Programming - Refresher - Part III
Emertxe Information Technologies Pvt Ltd
 
Embedded C - Lecture 4
Mohamed Abdallah
 
Interrupts
Anil Kumar Pugalia
 
AUTOSAR Memory Stcak (MemStack).
Embitel Technologies - A VOLKSWAGEN GROUP COMPANY
 
RTOS - Real Time Operating Systems
Emertxe Information Technologies Pvt Ltd
 
Basic Linux Internals
mukul bhardwaj
 
Kernel Module Programming
Saurabh Bangad
 
Contiguous Memory Allocation-R.D.Sivakumar
Sivakumar R D .
 
BusyBox for Embedded Linux
Emertxe Information Technologies Pvt Ltd
 
Embedded system.ppt
Radhika Puttewar
 
Linux Internals - Kernel/Core
Shay Cohen
 
Embedded linux network device driver development
Amr Ali (ISTQB CTAL Full, CSM, ITIL Foundation)
 

Viewers also liked (19)

PPTX
Compiler in System Programming/Code Optimization techniques in System Program...
Janki Shah
 
PDF
Multiple Inheritance
adil raja
 
PPT
Protols used in bluetooth
Sonali Parab
 
PDF
I2C programming with C and Arduino
sato262
 
PDF
Embedded C - Optimization techniques
Emertxe Information Technologies Pvt Ltd
 
PPT
Arm processor
SHREEHARI WADAWADAGI
 
PPTX
Inheritance in OOPS
Ronak Chhajed
 
PDF
SPI Protocol
Anurag Tomar
 
PPTX
Serial Peripheral Interface
Anurag Tomar
 
PPTX
I2C Protocol
Abhijeet kapse
 
ODP
Arm developement
hirokiht
 
PDF
Object-Oriented Design: Multiple inheritance (C++ and C#)
Adair Dingle
 
PDF
I2C Bus (Inter-Integrated Circuit)
Varun Mahajan
 
PDF
Embedded C - Lecture 1
Mohamed Abdallah
 
PPTX
Serial peripheral interface
Abhijeet kapse
 
PPT
Serial Peripheral Interface(SPI)
Dhaval Kaneria
 
PPT
Code Optimization
guest9f8315
 
PPTX
Iot
Ankit Anand
 
Compiler in System Programming/Code Optimization techniques in System Program...
Janki Shah
 
Multiple Inheritance
adil raja
 
Protols used in bluetooth
Sonali Parab
 
I2C programming with C and Arduino
sato262
 
Embedded C - Optimization techniques
Emertxe Information Technologies Pvt Ltd
 
Arm processor
SHREEHARI WADAWADAGI
 
Inheritance in OOPS
Ronak Chhajed
 
SPI Protocol
Anurag Tomar
 
Serial Peripheral Interface
Anurag Tomar
 
I2C Protocol
Abhijeet kapse
 
Arm developement
hirokiht
 
Object-Oriented Design: Multiple inheritance (C++ and C#)
Adair Dingle
 
I2C Bus (Inter-Integrated Circuit)
Varun Mahajan
 
Embedded C - Lecture 1
Mohamed Abdallah
 
Serial peripheral interface
Abhijeet kapse
 
Serial Peripheral Interface(SPI)
Dhaval Kaneria
 
Code Optimization
guest9f8315
 
Ad

Similar to Introduction to Embedded System (20)

PPTX
1. An Introduction to Embed Systems_DRKG.pptx
KesavanGopal1
 
PDF
Embedded systems introduction
mohamed drahem
 
PPTX
UNIT I.pptx
SeshuSrinivas2
 
PDF
ES-Basics.pdf
Srisurya26
 
PPTX
UNIT I_Introduction.pptx
ssuser4ca1eb
 
PDF
Introduction to embedded computing and arm processors
Siva Kumar
 
PDF
Introduction to embedded system design
Mukesh Bansal
 
PDF
Modernização do Gerenciamento, Monitoramento e Provisionamento em Mainframes ...
Joao Galdino Mello de Souza
 
PPTX
Introduction to Embedded Systems
Sudhanshu Janwadkar
 
PPTX
Embedded system.pptx
Saransh Garg
 
PPTX
ESD unit 1.pptx
VamsiReddy171587
 
PDF
BEE 049- design of embedded system.pdf
abdisahirko
 
PDF
The Art of Applied Engineering - An Overview
UdayaShankarBK1
 
PDF
Module-1 Embedded computing.pdf
Sitamarhi Institute of Technology
 
PPTX
Lecture 1 Introduction.pptx
Orchestra2
 
PPTX
Introduction to Embedded Systems
Sandeep Reddy
 
PDF
es1-150721100817-lva1-app6891.pdf
Ashwin180668
 
PPTX
Embedded systems
Manju Nathan
 
PPTX
SYSTEM approach in system on chip architecture
SrinivasDon
 
PDF
mechatronics.pdf
ChamathKushan
 
1. An Introduction to Embed Systems_DRKG.pptx
KesavanGopal1
 
Embedded systems introduction
mohamed drahem
 
UNIT I.pptx
SeshuSrinivas2
 
ES-Basics.pdf
Srisurya26
 
UNIT I_Introduction.pptx
ssuser4ca1eb
 
Introduction to embedded computing and arm processors
Siva Kumar
 
Introduction to embedded system design
Mukesh Bansal
 
Modernização do Gerenciamento, Monitoramento e Provisionamento em Mainframes ...
Joao Galdino Mello de Souza
 
Introduction to Embedded Systems
Sudhanshu Janwadkar
 
Embedded system.pptx
Saransh Garg
 
ESD unit 1.pptx
VamsiReddy171587
 
BEE 049- design of embedded system.pdf
abdisahirko
 
The Art of Applied Engineering - An Overview
UdayaShankarBK1
 
Module-1 Embedded computing.pdf
Sitamarhi Institute of Technology
 
Lecture 1 Introduction.pptx
Orchestra2
 
Introduction to Embedded Systems
Sandeep Reddy
 
es1-150721100817-lva1-app6891.pdf
Ashwin180668
 
Embedded systems
Manju Nathan
 
SYSTEM approach in system on chip architecture
SrinivasDon
 
mechatronics.pdf
ChamathKushan
 
Ad

More from Emertxe Information Technologies Pvt Ltd (20)

Recently uploaded (20)

PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
The Future of Artificial Intelligence (AI)
Mukul
 
PPTX
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
introduction to computer hardware and sofeware
chauhanshraddha2007
 
PDF
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
PDF
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
PDF
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
PDF
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Market Insight : ETH Dominance Returns
CIFDAQ
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
The Future of Artificial Intelligence (AI)
Mukul
 
AI in Daily Life: How Artificial Intelligence Helps Us Every Day
vanshrpatil7
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Economic Impact of Data Centres to the Malaysian Economy
flintglobalapac
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
introduction to computer hardware and sofeware
chauhanshraddha2007
 
Peak of Data & AI Encore - Real-Time Insights & Scalable Editing with ArcGIS
Safe Software
 
A Strategic Analysis of the MVNO Wave in Emerging Markets.pdf
IPLOOK Networks
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Agile Chennai 18-19 July 2025 | Workshop - Enhancing Agile Collaboration with...
AgileNetwork
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
How ETL Control Logic Keeps Your Pipelines Safe and Reliable.pdf
Stryv Solutions Pvt. Ltd.
 
State-Dependent Conformal Perception Bounds for Neuro-Symbolic Verification
Ivan Ruchkin
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Market Insight : ETH Dominance Returns
CIFDAQ
 

Introduction to Embedded System

  • 1. Team Emertxe Introduction to Embedded System (IES)
  • 2. Pass on the ball 1)Let us get the ball rolling  2)Introduce yourself 3)Expectations from this program
  • 5. Let us ponder… ● What do you understand as Embedded System? ● Name few examples of Embedded System from our daily usage ● How different they are from a general purpose system (GPS)? ● What difference can be there between multiple Embedded Systems? “Any Hardware System which is intended to do a specific task can be called as an Embedded System”
  • 6. ES - Examples Examples – Automotive, Satellite communication, Consumer electronics, Medical, Imaging, Robotics etc..
  • 7. ES - Classifications ● Embedded systems can be classified into four different categories: – Stand alone Embedded System – Performs a single and specific functionality – Real time Embedded System – Provides real time guarantee in terms of response and predictability – Network appliances – High focus on packet processing – Mobile devices – Hand held devices ● Embedded systems – “Choice-points” – Embedded Systems type and expectations drastically vary – In order to meet customer needs specific “Choice-points” to be decided – These are popularly known as “Design parameters”
  • 8. ES – Choice points ● Let us take an example of Mobile Vs. Automotive Embedded device ● Try to compare various choice points ● For each choice made corresponding compromise factor to be considered ● Optimizing every other parameter is not a possible option
  • 9. ES – Design metrics ● Time to Prototype ● Power ● Performance & Correctness ● Size ● NRE ● Maintainability & Flexibility ● Safety ● Unit Cost ● Time to Market
  • 10. ES - Challenges ● Efficient Inputs/Outputs ● Embedding an OS    ● Code optimization ● Testing and debugging
  • 13. CPU – μC | μP ● The “Brain” of the system ● Implementation can be: – Universal – Digital Signal Processors (DSP) – System On a Chip (SoC) ● “On-the board” v/s “On-the-chip” ● ASIC/SoC tape-out process provides lot of advantages than using Universal processors ● However it requires huge up-front investment (in terms of millions!)
  • 14. Memory ● Various types of memory exist with specific characteristics ● Based on Volatility, Write-ability, Cost and Speed - Parameters to compare ● Higher level group/category is provided as follows:
  • 17. Components… FPGA and ASIC – Taping out custom chips for optimization purpose
  • 18. HW – Processors and Controllers
  • 20. Micro processor v/s Micro controller ü All separate components ü More flexible ü More design complexity ü All components in a single chip ü Less flexible ü Less design complexity
  • 21. Choosing a Micro- processor: Choice points: ü Application ü Performance ü Price ü Availability ü Availability of Tools ü Special Capabilities Classifications: ü Bit-depth ü Architecture ü Use based: • GPP – Proper & Micro controllers • ASP – DSP & ASIC
  • 22. Von Neumann & Harvard Architecture Shared signals and memory for code and data Physically separate signals and storage for code and data
  • 23. RISC v/s CISC RISC: Advantages: ü Moved complexity from HW to SW ü Provided a single-chip solution ü Better usage of chip area ü Better speed ü Feasibility of pipe-lining • Single cycle execution stages • Uniform Instruction format Disadvantages: ü Greater burden on SW CISC: Advantages: ü Moved complexity from SW to HW ü Compact code ü Ease of compiler design ü Easier to debug Disadvantages: ü Increased design errors ü Longer design time ü Performance tuning unsuccessful ü High complexity ü Time to market increases
  • 24. Interfacing ● Processor has to interface with memory and various I/O devices ● Bus protocols are used for communication ● Consisting of: – Address bus – Data bus – Control lines: ● CS ● RD ● WR
  • 25. Peripheral Interfacing ● Processor has to interface with memory and various I/O devices ● Bus protocols are used for communication ● Consisting of: – Address bus – Data bus – Control lines: ● CS ● RD ● WR
  • 26. HW Architecture HW board with interfacing
  • 27. SW – Development, Architecture, Environment
  • 28. SW development In Embedded Systems, SW and HW development happens in a combined manner. SW development details and life cycle are covered in SDLC topic in detail.
  • 29. Architectures ● Super loop ● Interrupt controlled ● Co-operative multi tasking ● Pre-emptive multi-tasking ● Micro and Monolithic Kernel
  • 30. Dev Environment ● Embedded development environment is quite different and relatively complex than application development ● The simple reason the embedded software developed in a ‘host’ machine and executed on a ‘target’ which makes the compilation and debugging process quite challenging ● Popularly known as Integrated Development Environment (IDE), this environment consist of the following key candidates: – Editor – For scripting Embedded program – Configuration – Tool chain – Cross compiler, linker and associated tools – Target download and debug environment – Installation and test
  • 33. Interrupt - Basics ● An interrupt is a communication process set up in a microprocessor or microcontroller in which: – An internal or external device requests the MPU to stop the processing – The MPU acknowledges the request – Attends to the request – Goes back to processing where it was interrupted ● Interrupt sources – External – Timers – Peripherals ● Interrupt v/s Polling – Loss of Events – Response – Power Management
  • 36. Interrupt Service Routine ● Similar to a subroutine ● Attends to the request of an interrupting source – Clears the interrupt flag – Should save register contents that may be affected by the code in the ISR – Must be terminated with the instruction RETFIE ● When an interrupt occurs, the MPU: – Completes the instruction being executed – Disables global interrupt enable – Places the address from the program counter on the stack ● Return from interrupt
  • 37. Interrupt Latency ● Latency is determined by: – Instruction time (how long is the longest) – How much of the context must be saved – How much of the context must be restored – The effort to implement priority scheme – Time spend executing protected code