SlideShare a Scribd company logo
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

More Related Content

What's hot (20)

PPT
Embedded system design process
Rayees CK
 
PDF
computer system structure
HAMZA AHMED
 
PPT
Os introduction
Kanika Garg
 
PPT
Os introduction
Ravi Ramchandani
 
PPT
Installing driver
Online
 
PDF
operating system structure
HAMZA AHMED
 
DOC
Template 3
Icostyle
 
PDF
Operating Systems 1 (11/12) - Input / Output
Peter Tröger
 
DOC
Template 8
Icostyle
 
PPT
Embedded System-design technology
Aiswaryadevi Jaganmohan
 
PDF
Lec 2
mohamed ali
 
DOC
Final exam chapters 11 16
Icostyle
 
PPTX
Basics of embedded system design
K Senthil Kumar
 
PPT
Embedded system
mangal das
 
PPT
39245203 intro-es-iv
Embeddedbvp
 
PDF
Spike yuan server ras and uefi cper final
parth bera
 
PDF
Embedded system-Introduction to development cycle and development tool
Pantech ProLabs India Pvt Ltd
 
PPT
Ch1 1
Sumant Diwakar
 
PPTX
Io system
malarselvi mms
 
PDF
Measured boot for embedded devices
Dmitry Baryshkov
 
Embedded system design process
Rayees CK
 
computer system structure
HAMZA AHMED
 
Os introduction
Kanika Garg
 
Os introduction
Ravi Ramchandani
 
Installing driver
Online
 
operating system structure
HAMZA AHMED
 
Template 3
Icostyle
 
Operating Systems 1 (11/12) - Input / Output
Peter Tröger
 
Template 8
Icostyle
 
Embedded System-design technology
Aiswaryadevi Jaganmohan
 
Final exam chapters 11 16
Icostyle
 
Basics of embedded system design
K Senthil Kumar
 
Embedded system
mangal das
 
39245203 intro-es-iv
Embeddedbvp
 
Spike yuan server ras and uefi cper final
parth bera
 
Embedded system-Introduction to development cycle and development tool
Pantech ProLabs India Pvt Ltd
 
Io system
malarselvi mms
 
Measured boot for embedded devices
Dmitry Baryshkov
 

Viewers also liked (20)

PPTX
Sony presenttion !
Hetal Mistry
 
PDF
English兩岸服貿協議重新談判的方針和建議ok
ntuperc
 
PPTX
Rizwan khattak law of trust
Rizwan Khattak
 
PDF
Your Blissful Biz
Jeannie Sullivan
 
PPT
Асинхронные двигатели
irinaperkina
 
PPT
Потери мощности в машинах постоянного тока
irinaperkina
 
PPTX
Области применения асинхронных двигателей в промышленности
irinaperkina
 
PDF
Crisis and renewal 2014
Dr. Neil Tessler
 
PDF
No88 臺大雙月刊-鄭秀玲cloud
ntuperc
 
PPTX
My home my needs
johnson10014
 
PDF
Sociologia geral
patti_slip
 
PDF
Southern Voices - CANSA Workshop Brochure
Climate Action Network South Asia
 
PPTX
Manfaat sumber daya alam
dimaraihan
 
PPTX
Монтаж электрических двигателей
irinaperkina
 
PDF
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
ntuperc
 
PPT
Силовые трансформаторы
irinaperkina
 
PPTX
prinsip-prinsip umum belajar
UIN SALATIGA
 
PDF
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
ntuperc
 
PPT
Двигатели постоянного тока
irinaperkina
 
PDF
Letter
ntuperc
 
Sony presenttion !
Hetal Mistry
 
English兩岸服貿協議重新談判的方針和建議ok
ntuperc
 
Rizwan khattak law of trust
Rizwan Khattak
 
Your Blissful Biz
Jeannie Sullivan
 
Асинхронные двигатели
irinaperkina
 
Потери мощности в машинах постоянного тока
irinaperkina
 
Области применения асинхронных двигателей в промышленности
irinaperkina
 
Crisis and renewal 2014
Dr. Neil Tessler
 
No88 臺大雙月刊-鄭秀玲cloud
ntuperc
 
My home my needs
johnson10014
 
Sociologia geral
patti_slip
 
Southern Voices - CANSA Workshop Brochure
Climate Action Network South Asia
 
Manfaat sumber daya alam
dimaraihan
 
Монтаж электрических двигателей
irinaperkina
 
社會保險制之年金制度的財務運作 -台北大學財政系 黃世鑫教授
ntuperc
 
Силовые трансформаторы
irinaperkina
 
prinsip-prinsip umum belajar
UIN SALATIGA
 
臺灣勞保年金制度的總體經濟計量分析 -台大國發所 辛炳隆教授
ntuperc
 
Двигатели постоянного тока
irinaperkina
 
Letter
ntuperc
 
Ad

Similar to Introduction to Embedded Systems (20)

PPTX
Introduction to embedded System.pptx
Pratik Gohel
 
PDF
Embedded systems introduction
mohamed drahem
 
PDF
Unit 1 intro-embedded
Pavithra S
 
PPTX
Embedded Systems
Benjim Thomas Mathew
 
PDF
ERTS_Unit 1_PPT.pdf
VinothkumarUruman1
 
PPT
Embedded system Design
AJAL A J
 
PDF
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
PPTX
ESD unit 1.pptx
VamsiReddy171587
 
PPTX
UNIT 1.pptx
lalithamani sampath
 
PPTX
3.9-Software.pptx
20EUEE018DEEPAKM
 
PPTX
Microcontroller(18CS44) module 1
Swetha A
 
DOCX
edited doc
hari chandana
 
PPTX
Embedded systems 101 final
Khalid Elmeadawy
 
PDF
Summer training embedded system and its scope
Arshit Rai
 
PDF
typicales-210510062115.pdf
ssuser136534
 
PDF
Typical Embedded System
anand hd
 
PPTX
Embedded systems
Ashok Raj
 
PPTX
EMBEDDED AND REAL TIME SYSTEMS Unit-1_6703.pptx
SakthisivaE
 
PPT
Embeddedsystem
anshul parmar
 
Introduction to embedded System.pptx
Pratik Gohel
 
Embedded systems introduction
mohamed drahem
 
Unit 1 intro-embedded
Pavithra S
 
Embedded Systems
Benjim Thomas Mathew
 
ERTS_Unit 1_PPT.pdf
VinothkumarUruman1
 
Embedded system Design
AJAL A J
 
PILOT Session for Embedded Systems
Mohamed Al-Emam, PMP®, CAP®
 
ESD unit 1.pptx
VamsiReddy171587
 
UNIT 1.pptx
lalithamani sampath
 
3.9-Software.pptx
20EUEE018DEEPAKM
 
Microcontroller(18CS44) module 1
Swetha A
 
edited doc
hari chandana
 
Embedded systems 101 final
Khalid Elmeadawy
 
Summer training embedded system and its scope
Arshit Rai
 
typicales-210510062115.pdf
ssuser136534
 
Typical Embedded System
anand hd
 
Embedded systems
Ashok Raj
 
EMBEDDED AND REAL TIME SYSTEMS Unit-1_6703.pptx
SakthisivaE
 
Embeddedsystem
anshul parmar
 
Ad

Recently uploaded (20)

PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
PDF
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
PDF
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
PDF
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
PDF
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
PDF
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
PDF
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
PDF
Staying Human in a Machine- Accelerated World
Catalin Jora
 
PPTX
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PDF
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
PPT
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
PDF
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
PDF
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Book industry state of the nation 2025 - Tech Forum 2025
BookNet Canada
 
“Voice Interfaces on a Budget: Building Real-time Speech Recognition on Low-c...
Edge AI and Vision Alliance
 
SIZING YOUR AIR CONDITIONER---A PRACTICAL GUIDE.pdf
Muhammad Rizwan Akram
 
Transforming Utility Networks: Large-scale Data Migrations with FME
Safe Software
 
Peak of Data & AI Encore AI-Enhanced Workflows for the Real World
Safe Software
 
The 2025 InfraRed Report - Redpoint Ventures
Razin Mustafiz
 
Staying Human in a Machine- Accelerated World
Catalin Jora
 
AI Penetration Testing Essentials: A Cybersecurity Guide for 2025
defencerabbit Team
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Automating Feature Enrichment and Station Creation in Natural Gas Utility Net...
Safe Software
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
AI Agents in the Cloud: The Rise of Agentic Cloud Architecture
Lilly Gracia
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
NASA A Researcher’s Guide to International Space Station : Physical Sciences ...
Dr. PANKAJ DHUSSA
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
NLJUG Speaker academy 2025 - first session
Bert Jan Schrijver
 
Ericsson LTE presentation SEMINAR 2010.ppt
npat3
 
Go Concurrency Real-World Patterns, Pitfalls, and Playground Battles.pdf
Emily Achieng
 
Future-Proof or Fall Behind? 10 Tech Trends You Can’t Afford to Ignore in 2025
DIGITALCONFEX
 

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. [email protected] Copyright © 2012 Embedded Systems Committee