SlideShare une entreprise Scribd logo
1  sur  40
Télécharger pour lire hors ligne
Introduction
To
ES
Mohamed Abd Elhay

Copyright © 2012 Embedded Systems
Committee
Copyright © 2014 Embedded Systems
Committee
Copyright © 2014 Embedded Systems
Committee
 Embedded Systems
 Embedded Systems Applications
 Embedded Systems Types
 Memories

 Embedded system developing
 Embedded Systems Market in Egypt
Copyright © 2014 Embedded Systems
Committee
Copyright © 2014Embedded Systems
Committee
•Embedded system is a special purpose system designed to
perform one or a few dedicated
functions.
• Embedded systems are computing systems with tightly
coupled hardware and software integration.

Copyright © 2014 Embedded Systems
Committee
The Word “Embedded” reflects the fact that these systems are
usually an integral part of
a larger system, known as the embedding system.

“A computer built into a system and not seen by the user as
being a computer”
It is usually Embedded as a part of a complete device
including hardware and mechanical parts.

Copyright © 2014 Embedded Systems
Committee
Can Personal Computer be considered as an Embedded
System as it integrates hardware and software to
perform functions? Why?

NO
PC cannot be considered as an embedded system
because
1. It uses a General-Purpose Processor
2. The system is built independently from the software
runs on it.

Else ATM machine
Copyright © 2014 Embedded Systems
Committee
Communication:
Mobile Handsets
Switches and Routers
Image processing and Consumers:
Cameras
Mp3 and Mp4 players
PlayStation
Automotive:
Engine Management System
Claimant Control System
Appliances:
Microwave
Washing Machines
Copyright © 2014 Embedded Systems
Committee
1) Microprocessors.
2) Microcontrollers.
3) DSPs.

Copyright © 2012 Embedded Systems
Committee
o CPU = ALU + Registers + Control unit
o Microprocessor function is to fetch the instructions
from the memory then decode and execute them.

o Microprocessor alone is useless

Copyright © 2014 Embedded Systems
Committee
CPU design divide into three parts:

o The datapath
does all of the actual data processing

o A control unit
uses the programmer’s instructions to tell
the datapath what to do

o An instruction
set is the programmer’s interface to CPU
Copyright © 2014 Embedded Systems
Committee
Control Unit and Datapath

Control Unit
and

Datapath

Copyright © 2014 Embedded Systems
Committee
o The hardware part of the processor that
performs the processing operations.

o Contain from Three Parts:
Computations
Fast temporary storage
Large memory storage

ALU
Register file
RAM

Copyright © 2014 Embedded Systems
Committee
o programs with the data-path :
converts program instructions into control
signals for data-path.
Executes program instructions in the correct
sequence.

V
C
N
Z

Branch
Control

PC

ADRS
Instruction
RAM
OUT

Instruction Decoder
DA AA BA MB FS MD

Copyright © 2014 Embedded Systems
Committee

WR
• CPU = ALU + Registers + Control unit
Datapath

Control Unit
V
C
N
Z

D

W R
DA

PC
ADRS
Instruction
RAM

Register file

AA

Branch
Control

A

B

B A

constant
1
0
Mux B

MB

OUT

Instruction Decoder
DA AA B A

MB FS MD W R

FS
V
C
N
Z
MW

A

ADRS

B
ALU

MW

Copyright © 2014 Embedded Systems
Committee

Data RAM
OUT

G

0
1
Mux D

DATA

MD
Harvard arch.:
includes two memory units :
o
o

o

An instruction memory holds the program
A separate data memory is used for
computations
The advantage is that we can read an instruction
and load or store data in the same clock cycle

Von Neumann arch.:
includes one memory unit :
o

a single main memory that holds both program
instructions and data
Copyright © 2014 Embedded Systems
Committee
RISC

CISC

Reduced Instruction Set Computer

Complex Instruction Set Computer

optimize execution of instructions by
single instruction limiting capabilities

integrate several functionalities in one
instruction

The Compiler is simple as has wide verity of
The compiler or programmer
synthesizes complicated operations instructions to perform the complicate
operation
by combining several simple
instructions. (ex: divide operation)

Copyright © 2014 Embedded Systems
Committee
:
RISC

CISC

simple operations that can each
execute in a single cycle

the instructions are often take many cycles to
execute.

have a large general-purpose register
set.

dedicated registers for specific purposes

Any register can handle with ALU

dedicated registers specific for ALU operation

ALU can‟t deal with Memory directly

ALU can deal with memory directly

Due to Memory accesses are costly :

the core can operate at higher clock
frequencies.

and operate at lower clock frequencies

Separate load and store instructions
transfer data between the register bank
and external memory are needed to all
ALU operations

Separate load and store instructions transfer
data between the register bank and external
memory aren’t needed to all ALU
operations

Copyright
Helps to pipeline execution of instructions © 2014 Embedded Systems
Committee
:
• Microcontroller = CPU + Memory + Peripherals
•Designed for standalone operation.

Copyright © 2014 Embedded Systems
Committee
:
Microcontroller Main Components
Microcontroller has eight main components:
1. Central processing unit (CPU)

2. ROM
3. RAM
4. Input and Output (GPIO or DIO)

5. Timer
6. Interrupt circuitry
7. Buses

8. Watchdog
Copyright © 2014 Embedded Systems
Committee
• Like microcontrollers BUT Focus on very efficient execution of
arithmetic operations.
• DSP has :
o specialized arithmetic units,
o optimized design in the memory,
o Addressing and bus architectures with multiprocessing capability
that allow the DSP to perform complex calculations extremely fast
in real time.
• Used widely in digital signal processing in communications systems
such as Cell phones and Image and video processing.
• TI (Texas Instruments) has been the dominant player in the DSP market
for several years.
Copyright © 2014 Embedded Systems
Committee
Multi-core system on chip
Like mobile handset which has one chip contains:

o DSP processor
o Embedded processors like ARM

o Custom hardware for GSM
o Custom peripherals for board interface (keyboard,
touch screen, memory card interface)
Copyright © 2014Embedded Systems
Committee
1-Program Memory
MROM
•
•
•
•

Masked ROM
Programmed by the manufacturer.
The term „masked‟ comes from the manufacturing process
In case of a large-scale production, the price is very low.

PROM
•
•
•
•

Programmable rom
Also called One time programmable ROM
enables programmer to download a program into it one time only.
If an error is detected after downloading, the only thing you can do is
to download the correct program to another chip.
Copyright © 2014 Embedded Systems
Committee
1-Program Memory
UV EPROM
• UV Erasable Programmable ROM
• It enables data to be erased under strong ultraviolet light.
• After a few minutes it is possible to download a new program.

EEPROM
• ELECTRICALLY ERASABLE PROGRAMMABLE ROM
• can be erased by exposing it to an electrical charge

Flash Memory
•
•
•
•

Invented in the 80s in the laboratories of INTEL
Represented as the successor to the UV EPROM.
Can be written and cleared practically an unlimited number of times,
most microcontrollers are manufactured in flash technology.
Copyright © 2014 Embedded Systems
Committee
2-Data Memory
SRAM:
• Static random access memory
• uses multiple transistors, typically four to six, for each memory cell
• doesn't have a capacitor in each cell.

DRAM:
• Dynamic random access memory
• has memory cells with a paired transistor and capacitor requiring
constant refreshing.

Copyright © 2014 Embedded Systems
Committee
Trade off between HW and SW
For a certain application
o Which functional blocks should be performed in Hardware??

o Which functional blocks should be performed in software??

Copyright © 2014Embedded Systems
Committee
Software characteristics
o Highly configurable
o Shorter development cycle
o Easier in versions updates
o Cheaper

o Constrained with processor speed which may satisfy real time
application and may not
Copyright © 2014 Embedded Systems
Committee
Hardware characteristics
o Longer development cycle

o Customized for specific application
o Better performance in high speed real time application

Copyright © 2014 Embedded Systems
Committee
SYSTEM ON BOARD
Board

Copyright © 2014 Embedded Systems
Committee
SYSTEM ON CHIP
Keyboard
controller

LCD
controller

USB interface

CPU

Memories

Customized
hardware

ASIC Chip

Copyright © 2014 Embedded Systems
Committee
HW / SW Partitioning
• In complicated systems functional blocks could be:

o Level 1: External discrete hardware component on board.
o Level 2: Hardware integrated with CPU on chip (SoC).
o Level 3: Done by software running on CPU.

Copyright © 2014 Embedded Systems
Committee
“Those systems in which the correctness of the system
depends not only on the logical result of the computation, but
also on the time at which the results are produced”
Real Time Systems are a very fast systems?
Real-time means completing tasks within specified deadlines,
it is not defined or limited by a specific execution speed.

Copyright © 2014 Embedded Systems
Committee
Copyright © 2014 Embedded Systems
Committee
System Development Cycle
1. System Specification Analysis
2. System Design
3. Development

 Hardware Development
 Software Development
4. System Integration

5. System Validation

Copyright © 2014 Embedded Systems
Committee
Software Development Cycle
1-Software Specification
2-Software Design
3-Coding / Testing

4-Software Integration
5-Software Validation

Copyright © 2014 Embedded Systems
Committee
1- Assembly
a-Lowest level human readable
b-Platform specific.
c-Assembly has one-to-one corresponding machine language
d-Using compiler to convert High Level language to Assembly

2-C Language

Copyright © 2014 Embedded Systems
Committee
Copyright © 2014 Embedded Systems
Committee
References

• ESC Training Team

Copyright © 2014 Embedded Systems
Committee
info@escommittee.net

Copyright © 2012 Embedded Systems
Committee

Contenu connexe

Tendances

Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRayees CK
 
computer system structure
computer system structurecomputer system structure
computer system structureHAMZA AHMED
 
Installing driver
Installing driverInstalling driver
Installing driverOnline
 
operating system structure
operating system structureoperating system structure
operating system structureHAMZA AHMED
 
Template 3
Template 3Template 3
Template 3Icostyle
 
Operating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputOperating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputPeter Tröger
 
Template 8
Template 8Template 8
Template 8Icostyle
 
Final exam chapters 11 16
Final exam chapters 11 16Final exam chapters 11 16
Final exam chapters 11 16Icostyle
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system designK Senthil Kumar
 
Embedded system
Embedded systemEmbedded system
Embedded systemmangal das
 
39245203 intro-es-iv
39245203 intro-es-iv39245203 intro-es-iv
39245203 intro-es-ivEmbeddedbvp
 
Spike yuan server ras and uefi cper final
Spike yuan  server ras and uefi cper finalSpike yuan  server ras and uefi cper final
Spike yuan server ras and uefi cper finalparth bera
 
Embedded system-Introduction to development cycle and development tool
Embedded system-Introduction to development cycle and development  toolEmbedded system-Introduction to development cycle and development  tool
Embedded system-Introduction to development cycle and development toolPantech ProLabs India Pvt Ltd
 
Measured boot for embedded devices
Measured boot for embedded devicesMeasured boot for embedded devices
Measured boot for embedded devicesDmitry Baryshkov
 

Tendances (20)

Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
computer system structure
computer system structurecomputer system structure
computer system structure
 
Os introduction
Os introductionOs introduction
Os introduction
 
Os introduction
Os introductionOs introduction
Os introduction
 
Installing driver
Installing driverInstalling driver
Installing driver
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Template 3
Template 3Template 3
Template 3
 
Operating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / OutputOperating Systems 1 (11/12) - Input / Output
Operating Systems 1 (11/12) - Input / Output
 
Template 8
Template 8Template 8
Template 8
 
Embedded System-design technology
Embedded System-design technologyEmbedded System-design technology
Embedded System-design technology
 
Lec 2
Lec 2Lec 2
Lec 2
 
Final exam chapters 11 16
Final exam chapters 11 16Final exam chapters 11 16
Final exam chapters 11 16
 
Basics of embedded system design
Basics of embedded system designBasics of embedded system design
Basics of embedded system design
 
Embedded system
Embedded systemEmbedded system
Embedded system
 
39245203 intro-es-iv
39245203 intro-es-iv39245203 intro-es-iv
39245203 intro-es-iv
 
Spike yuan server ras and uefi cper final
Spike yuan  server ras and uefi cper finalSpike yuan  server ras and uefi cper final
Spike yuan server ras and uefi cper final
 
Embedded system-Introduction to development cycle and development tool
Embedded system-Introduction to development cycle and development  toolEmbedded system-Introduction to development cycle and development  tool
Embedded system-Introduction to development cycle and development tool
 
Ch1 1
Ch1 1Ch1 1
Ch1 1
 
Io system
Io systemIo system
Io system
 
Measured boot for embedded devices
Measured boot for embedded devicesMeasured boot for embedded devices
Measured boot for embedded devices
 

En vedette

Sony presenttion !
Sony presenttion ! Sony presenttion !
Sony presenttion ! Hetal Mistry
 
English兩岸服貿協議重新談判的方針和建議ok
English兩岸服貿協議重新談判的方針和建議okEnglish兩岸服貿協議重新談判的方針和建議ok
English兩岸服貿協議重新談判的方針和建議okntuperc
 
Rizwan khattak law of trust
Rizwan khattak law of trustRizwan khattak law of trust
Rizwan khattak law of trustRizwan Khattak
 
Асинхронные двигатели
Асинхронные двигателиАсинхронные двигатели
Асинхронные двигателиirinaperkina
 
Потери мощности в машинах постоянного тока
Потери мощности в машинах постоянного токаПотери мощности в машинах постоянного тока
Потери мощности в машинах постоянного токаirinaperkina
 
Области применения асинхронных двигателей в промышленности
Области применения асинхронных двигателей  в промышленностиОбласти применения асинхронных двигателей  в промышленности
Области применения асинхронных двигателей в промышленностиirinaperkina
 
No88 臺大雙月刊-鄭秀玲cloud
No88 臺大雙月刊-鄭秀玲cloudNo88 臺大雙月刊-鄭秀玲cloud
No88 臺大雙月刊-鄭秀玲cloudntuperc
 
Sociologia geral
Sociologia geralSociologia geral
Sociologia geralpatti_slip
 
Manfaat sumber daya alam
Manfaat sumber daya alamManfaat sumber daya alam
Manfaat sumber daya alamdimaraihan
 
Монтаж электрических двигателей
Монтаж электрических двигателейМонтаж электрических двигателей
Монтаж электрических двигателейirinaperkina
 
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授ntuperc
 
Силовые трансформаторы
Силовые трансформаторыСиловые трансформаторы
Силовые трансформаторыirinaperkina
 
prinsip-prinsip umum belajar
prinsip-prinsip umum belajarprinsip-prinsip umum belajar
prinsip-prinsip umum belajarUIN SALATIGA
 
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授ntuperc
 
Двигатели постоянного тока
Двигатели постоянного токаДвигатели постоянного тока
Двигатели постоянного токаirinaperkina
 

En vedette (20)

Sony presenttion !
Sony presenttion ! Sony presenttion !
Sony presenttion !
 
English兩岸服貿協議重新談判的方針和建議ok
English兩岸服貿協議重新談判的方針和建議okEnglish兩岸服貿協議重新談判的方針和建議ok
English兩岸服貿協議重新談判的方針和建議ok
 
Rizwan khattak law of trust
Rizwan khattak law of trustRizwan khattak law of trust
Rizwan khattak law of trust
 
Your Blissful Biz
Your Blissful BizYour Blissful Biz
Your Blissful Biz
 
Асинхронные двигатели
Асинхронные двигателиАсинхронные двигатели
Асинхронные двигатели
 
Потери мощности в машинах постоянного тока
Потери мощности в машинах постоянного токаПотери мощности в машинах постоянного тока
Потери мощности в машинах постоянного тока
 
Области применения асинхронных двигателей в промышленности
Области применения асинхронных двигателей  в промышленностиОбласти применения асинхронных двигателей  в промышленности
Области применения асинхронных двигателей в промышленности
 
Crisis and renewal 2014
Crisis and renewal 2014Crisis and renewal 2014
Crisis and renewal 2014
 
No88 臺大雙月刊-鄭秀玲cloud
No88 臺大雙月刊-鄭秀玲cloudNo88 臺大雙月刊-鄭秀玲cloud
No88 臺大雙月刊-鄭秀玲cloud
 
My home my needs
My home   my needsMy home   my needs
My home my needs
 
Sociologia geral
Sociologia geralSociologia geral
Sociologia geral
 
Southern Voices - CANSA Workshop Brochure
Southern Voices - CANSA Workshop Brochure Southern Voices - CANSA Workshop Brochure
Southern Voices - CANSA Workshop Brochure
 
Manfaat sumber daya alam
Manfaat sumber daya alamManfaat sumber daya alam
Manfaat sumber daya alam
 
Монтаж электрических двигателей
Монтаж электрических двигателейМонтаж электрических двигателей
Монтаж электрических двигателей
 
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
 
Силовые трансформаторы
Силовые трансформаторыСиловые трансформаторы
Силовые трансформаторы
 
prinsip-prinsip umum belajar
prinsip-prinsip umum belajarprinsip-prinsip umum belajar
prinsip-prinsip umum belajar
 
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
 
Двигатели постоянного тока
Двигатели постоянного токаДвигатели постоянного тока
Двигатели постоянного тока
 
Letter
LetterLetter
Letter
 

Similaire à Introduction to Embedded Systems

Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introductionmohamed drahem
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded SystemsWalaaMohamed
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded systemPankaj joshi
 
11 introduction to_embedded_systems [compatibility mode]
11 introduction to_embedded_systems [compatibility mode]11 introduction to_embedded_systems [compatibility mode]
11 introduction to_embedded_systems [compatibility mode]drmahmoudhassan
 
embeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfembeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfAshwin180668
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systemsApurva Zope
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systemskondalarao7
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajanabhimaha09
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajanAbhishek Mahajan
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajanAbhishek Mahajan
 
Project Report on Embedded Systems
Project Report on Embedded Systems Project Report on Embedded Systems
Project Report on Embedded Systems Suhani Singh
 
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
 
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxembeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxDrVikasMahor
 

Similaire à Introduction to Embedded Systems (20)

Embedded systems introduction
Embedded systems introductionEmbedded systems introduction
Embedded systems introduction
 
Day1
Day1Day1
Day1
 
Introduction to Embedded Systems
Introduction to Embedded SystemsIntroduction to Embedded Systems
Introduction to Embedded Systems
 
Ppt on embedded system
Ppt on embedded systemPpt on embedded system
Ppt on embedded system
 
11 introduction to_embedded_systems [compatibility mode]
11 introduction to_embedded_systems [compatibility mode]11 introduction to_embedded_systems [compatibility mode]
11 introduction to_embedded_systems [compatibility mode]
 
embeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdfembeddedsystems-100429081552-phpapp01.pdf
embeddedsystems-100429081552-phpapp01.pdf
 
UNIT-III ES.ppt
UNIT-III ES.pptUNIT-III ES.ppt
UNIT-III ES.ppt
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
EE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptxEE8691 – EMBEDDED SYSTEMS.pptx
EE8691 – EMBEDDED SYSTEMS.pptx
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajan
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajan
 
Embedded system by abhishek mahajan
Embedded system by abhishek mahajanEmbedded system by abhishek mahajan
Embedded system by abhishek mahajan
 
Project Report on Embedded Systems
Project Report on Embedded Systems Project Report on Embedded Systems
Project Report on Embedded Systems
 
Week 01.pdf
Week 01.pdfWeek 01.pdf
Week 01.pdf
 
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
 
Embedded Systems
Embedded SystemsEmbedded Systems
Embedded Systems
 
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptxembeddedsystemspresentation-140524063909-phpapp01-converted.pptx
embeddedsystemspresentation-140524063909-phpapp01-converted.pptx
 
Embedded system
Embedded systemEmbedded system
Embedded system
 

Dernier

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 3652toLead Limited
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Dernier (20)

Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
Tech-Forward - Achieving Business Readiness For Copilot in Microsoft 365
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

Introduction to Embedded Systems

  • 1. Introduction To ES Mohamed Abd Elhay Copyright © 2012 Embedded Systems Committee
  • 2. Copyright © 2014 Embedded Systems Committee
  • 3. Copyright © 2014 Embedded Systems Committee
  • 4.  Embedded Systems  Embedded Systems Applications  Embedded Systems Types  Memories  Embedded system developing  Embedded Systems Market in Egypt Copyright © 2014 Embedded Systems Committee
  • 5. Copyright © 2014Embedded Systems Committee
  • 6. •Embedded system is a special purpose system designed to perform one or a few dedicated functions. • Embedded systems are computing systems with tightly coupled hardware and software integration. Copyright © 2014 Embedded Systems Committee
  • 7. The Word “Embedded” reflects the fact that these systems are usually an integral part of a larger system, known as the embedding system. “A computer built into a system and not seen by the user as being a computer” It is usually Embedded as a part of a complete device including hardware and mechanical parts. Copyright © 2014 Embedded Systems Committee
  • 8. Can Personal Computer be considered as an Embedded System as it integrates hardware and software to perform functions? Why? NO PC cannot be considered as an embedded system because 1. It uses a General-Purpose Processor 2. The system is built independently from the software runs on it. Else ATM machine Copyright © 2014 Embedded Systems Committee
  • 9. Communication: Mobile Handsets Switches and Routers Image processing and Consumers: Cameras Mp3 and Mp4 players PlayStation Automotive: Engine Management System Claimant Control System Appliances: Microwave Washing Machines Copyright © 2014 Embedded Systems Committee
  • 10. 1) Microprocessors. 2) Microcontrollers. 3) DSPs. Copyright © 2012 Embedded Systems Committee
  • 11. o CPU = ALU + Registers + Control unit o Microprocessor function is to fetch the instructions from the memory then decode and execute them. o Microprocessor alone is useless Copyright © 2014 Embedded Systems Committee
  • 12. CPU design divide into three parts: o The datapath does all of the actual data processing o A control unit uses the programmer’s instructions to tell the datapath what to do o An instruction set is the programmer’s interface to CPU Copyright © 2014 Embedded Systems Committee
  • 13. Control Unit and Datapath Control Unit and Datapath Copyright © 2014 Embedded Systems Committee
  • 14. o The hardware part of the processor that performs the processing operations. o Contain from Three Parts: Computations Fast temporary storage Large memory storage ALU Register file RAM Copyright © 2014 Embedded Systems Committee
  • 15. o programs with the data-path : converts program instructions into control signals for data-path. Executes program instructions in the correct sequence. V C N Z Branch Control PC ADRS Instruction RAM OUT Instruction Decoder DA AA BA MB FS MD Copyright © 2014 Embedded Systems Committee WR
  • 16. • CPU = ALU + Registers + Control unit Datapath Control Unit V C N Z D W R DA PC ADRS Instruction RAM Register file AA Branch Control A B B A constant 1 0 Mux B MB OUT Instruction Decoder DA AA B A MB FS MD W R FS V C N Z MW A ADRS B ALU MW Copyright © 2014 Embedded Systems Committee Data RAM OUT G 0 1 Mux D DATA MD
  • 17. Harvard arch.: includes two memory units : o o o An instruction memory holds the program A separate data memory is used for computations The advantage is that we can read an instruction and load or store data in the same clock cycle Von Neumann arch.: includes one memory unit : o a single main memory that holds both program instructions and data Copyright © 2014 Embedded Systems Committee
  • 18. RISC CISC Reduced Instruction Set Computer Complex Instruction Set Computer optimize execution of instructions by single instruction limiting capabilities integrate several functionalities in one instruction The Compiler is simple as has wide verity of The compiler or programmer synthesizes complicated operations instructions to perform the complicate operation by combining several simple instructions. (ex: divide operation) Copyright © 2014 Embedded Systems Committee
  • 19. : RISC CISC simple operations that can each execute in a single cycle the instructions are often take many cycles to execute. have a large general-purpose register set. dedicated registers for specific purposes Any register can handle with ALU dedicated registers specific for ALU operation ALU can‟t deal with Memory directly ALU can deal with memory directly Due to Memory accesses are costly : the core can operate at higher clock frequencies. and operate at lower clock frequencies Separate load and store instructions transfer data between the register bank and external memory are needed to all ALU operations Separate load and store instructions transfer data between the register bank and external memory aren’t needed to all ALU operations Copyright Helps to pipeline execution of instructions © 2014 Embedded Systems Committee
  • 20. : • Microcontroller = CPU + Memory + Peripherals •Designed for standalone operation. Copyright © 2014 Embedded Systems Committee
  • 21. : Microcontroller Main Components Microcontroller has eight main components: 1. Central processing unit (CPU) 2. ROM 3. RAM 4. Input and Output (GPIO or DIO) 5. Timer 6. Interrupt circuitry 7. Buses 8. Watchdog Copyright © 2014 Embedded Systems Committee
  • 22. • Like microcontrollers BUT Focus on very efficient execution of arithmetic operations. • DSP has : o specialized arithmetic units, o optimized design in the memory, o Addressing and bus architectures with multiprocessing capability that allow the DSP to perform complex calculations extremely fast in real time. • Used widely in digital signal processing in communications systems such as Cell phones and Image and video processing. • TI (Texas Instruments) has been the dominant player in the DSP market for several years. Copyright © 2014 Embedded Systems Committee
  • 23. Multi-core system on chip Like mobile handset which has one chip contains: o DSP processor o Embedded processors like ARM o Custom hardware for GSM o Custom peripherals for board interface (keyboard, touch screen, memory card interface) Copyright © 2014Embedded Systems Committee
  • 24. 1-Program Memory MROM • • • • Masked ROM Programmed by the manufacturer. The term „masked‟ comes from the manufacturing process In case of a large-scale production, the price is very low. PROM • • • • Programmable rom Also called One time programmable ROM enables programmer to download a program into it one time only. If an error is detected after downloading, the only thing you can do is to download the correct program to another chip. Copyright © 2014 Embedded Systems Committee
  • 25. 1-Program Memory UV EPROM • UV Erasable Programmable ROM • It enables data to be erased under strong ultraviolet light. • After a few minutes it is possible to download a new program. EEPROM • ELECTRICALLY ERASABLE PROGRAMMABLE ROM • can be erased by exposing it to an electrical charge Flash Memory • • • • Invented in the 80s in the laboratories of INTEL Represented as the successor to the UV EPROM. Can be written and cleared practically an unlimited number of times, most microcontrollers are manufactured in flash technology. Copyright © 2014 Embedded Systems Committee
  • 26. 2-Data Memory SRAM: • Static random access memory • uses multiple transistors, typically four to six, for each memory cell • doesn't have a capacitor in each cell. DRAM: • Dynamic random access memory • has memory cells with a paired transistor and capacitor requiring constant refreshing. Copyright © 2014 Embedded Systems Committee
  • 27. Trade off between HW and SW For a certain application o Which functional blocks should be performed in Hardware?? o Which functional blocks should be performed in software?? Copyright © 2014Embedded Systems Committee
  • 28. Software characteristics o Highly configurable o Shorter development cycle o Easier in versions updates o Cheaper o Constrained with processor speed which may satisfy real time application and may not Copyright © 2014 Embedded Systems Committee
  • 29. Hardware characteristics o Longer development cycle o Customized for specific application o Better performance in high speed real time application Copyright © 2014 Embedded Systems Committee
  • 30. SYSTEM ON BOARD Board Copyright © 2014 Embedded Systems Committee
  • 31. SYSTEM ON CHIP Keyboard controller LCD controller USB interface CPU Memories Customized hardware ASIC Chip Copyright © 2014 Embedded Systems Committee
  • 32. HW / SW Partitioning • In complicated systems functional blocks could be: o Level 1: External discrete hardware component on board. o Level 2: Hardware integrated with CPU on chip (SoC). o Level 3: Done by software running on CPU. Copyright © 2014 Embedded Systems Committee
  • 33. “Those systems in which the correctness of the system depends not only on the logical result of the computation, but also on the time at which the results are produced” Real Time Systems are a very fast systems? Real-time means completing tasks within specified deadlines, it is not defined or limited by a specific execution speed. Copyright © 2014 Embedded Systems Committee
  • 34. Copyright © 2014 Embedded Systems Committee
  • 35. System Development Cycle 1. System Specification Analysis 2. System Design 3. Development  Hardware Development  Software Development 4. System Integration 5. System Validation Copyright © 2014 Embedded Systems Committee
  • 36. Software Development Cycle 1-Software Specification 2-Software Design 3-Coding / Testing 4-Software Integration 5-Software Validation Copyright © 2014 Embedded Systems Committee
  • 37. 1- Assembly a-Lowest level human readable b-Platform specific. c-Assembly has one-to-one corresponding machine language d-Using compiler to convert High Level language to Assembly 2-C Language Copyright © 2014 Embedded Systems Committee
  • 38. Copyright © 2014 Embedded Systems Committee
  • 39. References • ESC Training Team Copyright © 2014 Embedded Systems Committee
  • 40. info@escommittee.net Copyright © 2012 Embedded Systems Committee