Professional Documents
Culture Documents
Introduction To Embedded Systems
Introduction To Embedded Systems
to
Embedded Systems
SYLLABUS
UNIT NO. CONTENTS REFERENCE WEIGTHAGE
SOURCES
INTRODUCTION OF EMBEDDED
SYSTEM
DESIGN CHALLENGES
APPLICATION OF EMBEDDED
SYSTEMS
HARDWARE ACHITECTURE
SOFTWARE ARCHITECTURE
I/O DEVICES
CONTEXT SWITCHING
DEVICE DRIVERS
UNIT NO. CONTENTS REFERENCE WEIGTHAGE
SOURCES
ARM PROCESSOR ARCHITECTURE
AND PROGRAMMING:
ARM ORGANIZATION
EXCEPTION HANDLING
NOMENCLATURE, CORE
EXTENTIONS
INTRODUCTION TO ARM
INSTRUCTION SET
PROTOCOLS:
BLUETOOTH
IV GPRS
MODBUS CAN
I2C
USB
UNIT NO. CONTENTS REFERENCE WEIGTHAGE
SOURCES
REAL TIME OPERATING CONCEPTS:
SEMAPHORES
V MAILBOX
MESSAGE QUEUES
PIPES
EVENTS
TIMERS
MEMORY MANAGEMENT
INTRODUCTION OF EMBEDDED SYSTEM
“An Embedded System can be defined as a computing device that does a specific focused job”.
Basic architecture:
Application Software
Operating System
Hardware
Application Software
Some Examples:
THE PROCESS OF EMBEDDED SYSTEM DEVELOPMENT
“The goal of every designer should be to develop a quality product”.
Requirements
Embedded System
Engineering development projects can
be divided into two
categories :
Design 1. Product development
involving 2. Turnkey project
Hardware- execution
Software
Partitioning 1.Product development:
Product development
based on marketing
department’s input
Hardware Software which also requires a
Design Design detailed study of
features of the existing
competing products , in
order to launch your
Hardware- own product.
Software
Integration 2. Turnkey project
and Testing execution:
Developing an
embedded system
based on the
Operation and requirements given by
Maintenance the client.
key project execution:
: To develop a handheld data terminal for use by field personal.
h projects need to convert this problem definition into a detailed
irement document
Validated System
Problem Requirements Engineering Process Requirement
definition Specification
Document
Requirements Requirements Requirements
Analysis Specification Validation
Requirements Analysis
Document System
E.g.: preparation Requirement
1.Inputs to the system
2.Outputs to the system Specification
SRS
3.Processing done by the
system along with timing
restrictions
4.Input supply voltage Details of all non-functional Requirements:
5.Communication interfaces Details of
Reliability: (MTBF: Mean Time Between Failures)
to be provided all
Delivery Time :(Time to market: using readily
functional
6.Size of embedded system available devices & technology)
requiremen
7. Operating environment Implementation requirements: User defined H/W
ts
(such as temperature and & / S/W
humidity Standard: Sticking to international standards
Safety : Following FCC for radio power emission,
8.Standards to be followed. Electromagnetic interference (EMI) regulation etc…
Security: Data to be encrypted, user name
Requirements Validation
1. Non-Recurring Engineering cost (NRE cost): The one-time monetary cost of designing
the system.
2. Unit cost: The monetary cost of manufacturing each copy of the system, excluding NRE
cost.
3. Size: The physical space required by the system, often measured in bytes for software and
gates or transistors for hardware.
4. Performance: The execution time or throughput of the system.
5. Power: The amount of power consumed by the system.
6. Flexibility: The ability to change the functionality of the system without incurring heavy
NRE cost. Software is typically considered very flexible.
7. Time-to-prototype: The time needed to build a working version of the system.
8. Time-to-market: The time required to develop a system to the point that it can be released
and sold to customers.
9. Maintainability: The ability to modify the system after its initial release.
10. Correctness: The correctness of system’s functionalities which may be verified during
designing of the system and inserting test circuitry to check that manufacturing was correct.
11. Safety: The system at any point does not cause any harm to the environment.
Time (months)
Lifetime Lifetime
= 22% = 50%
• Costs:
– Unit cost: the monetary cost of manufacturing each copy of the system,
excluding NRE cost
– NRE cost (Non-Recurring Engineering cost): The one-time monetary cost of
designing the system
– total cost = NRE cost + unit cost x No. of units
– per-product cost = total cost / No. of units
= (NRE cost / No. of units) + unit cost
• Example
– NRE=Rs.20,000 , unit=Rs.1,000
– For 10 units
– total cost = Rs.20000 + 10xRs.1000 = Rs. 30,000
– per-product cost = Rs.30,000/10 = Rs.3000
Amortizing NRE cost over the units results in an additional Rs.2,000 per unit
NRE and unit cost metrics
• The larger the volume, the lower the per product cost,
(since the NRE cost can be distributed over more products.)
– Technology A: NRE=$2,000, unit=$100
– Technology B: NRE=$30,000, unit=$30
– Technology C: NRE=$100,000, unit=$2
$200,000 $200
A A
B B
$160,000 $160
C C
total c ost (x1000)
$80,000 $80
$40,000 $40
$0 $0
0 800 1600 2400 0 800 1600 2400
Number of units (volume) Number of units (volume)
Recent Trends:
Related to ICs: IC transistor capacity has doubled roughly every 18 months for the
standards, languages and frameworks has improved designer productivity over the
1. Processor Power: there are now various powerful 8-bit, 16-bit, 32-bit and 64-bit
segments.
2. Memory: The cost of memory chips is reducing as a result embedded system can be
3. Operating System : A variety of operating systems are available which can be ported
onto the embedded system. Advantage of an operating system is that the software
development will be very fast and maintaining the code is very easy.
4.Communication interfaces an networking capability: By availability of low cost
is done in high level languages such as C,C++ Java, Python and so on.
Functional Commun-
Sensors LCD LEDs
Keypad ication
Interface
ADC
ROM
CPU
DAC RAM
Power
Supply Clock Chip Watchdog Timer & Debug
Unit Circuitry Select Reset Circuitry Port
Central Processing Unit
1. General Purpose Processors (GPP)
2. Digital Signal Processor (DSP)
General Purpose
ALU
Registers
Address Bus
Address Bus
Memory
CPU Data Bus (Instruction &
Data)
Harvard Architecture
Program Memory Data Memory
Address Bus Address Bus
Super-Harvard Architecture
Program Memory
Data Memory
Address Bus
Address Bus
Program
Memory
(Instruction & CPU Data Memory
Secondary
Data) Instruction
Cache Data Memory
Program Memory
Data Bus Data Bus