Module 2 - Relevant Tools, Standards, and Engineering Constraints
Module 2 - Relevant Tools, Standards, and Engineering Constraints
Standalone Real
Network Mobile Medium
embedded Time Small
Application Embedded Scale Sophisticated
system E.S. Scale
System E.S. E.S.
E.S.
Block Diagram of an Embedded System
SOFTWARE
Memory
4. Write software
❑ It will produce an output file that contains a binary image that can be loaded into the
target ROM.
❑ You will have to provide information about the memory on the target board as input to
the locator.
❑ The locator uses this information to assign physical memory addresses to each of the
code and data sections.
Linker and Locator
Real-Time Operating System (RTOS)
❑ Real-time Operating System (RTOS)
▪ an operating system that guarantees to perform certain operation (task)
within a specified time constraint
❑ Examples are:
▪ Flash magic
▪ Philips flash utility
Embedded
System
▪ Win pic
▪ Tiny bootloader
Simulator
❑ piece of Hardware/Software that simulates another system
❑ tests the program on the development processor(the
processor on which we are working)
❑ When the program crashes, the debugger shows the actual position in the original
code, if it is a source-level debugger.
❑ Programming language
▪ Programmed in the C language rather than the Java language (resulting in
smaller and faster code, so less expensive MCU)
▪ Some performance-critical code may be in assembly language (a lower level
language)
Impact of Constraints
❑ Operating system
▪ Typically no OS, but instead simple scheduler (or even just interrupts + main
code (foreground/background system)
▪ If OS is used, likely to be a lean RTOS
Characteristics &
Quality Attributes of
Embedded Systems
Characteristics based on Dependability /
Operational Quality Attributes of Embedded
Systems
❑ Throughput: It deals with the efficiency of a system. It can be defined as the rate
of production or operation of a defined process over a stated period of time.
❑ Reliability: R(t) = probability of system working correctly provided that it was
working at t=0
❑ Maintainability: M(d) = probability of system working correctly d time units
after error occurred.
❑ Availability: probability of system working at time, t
❑ Safety: no harm to be caused
❑ Security: confidential and authentic communication
Characteristics of Embedded Systems-
Efficiency
1. Application and domain specific
2. Reactive and Real-time / Run-time
3. Operates in harsh environments
4. Distributed
5. Small size and Weight
6. Energy / Power concerns
7. Cost
8. Code-size (especially for systems on a chip)
Application and Domain Specific
❑ has certain functions to perform and they are developed in such a
manner to do the intended functions only
❑ cannot be used for any other purpose
❑ Example:
▪ The embedded control units of the microwave oven cannot be replaced with AC’S
embedded control unit because the embedded control units of microwave
oven and AC are specifically designed to perform certain specific tasks.
Reactive and Real Time
❑ Any changes in the real world are captured by the sensors or
input devices in real time.
❑ Control algorithm (inside the unit) reacts in a designed manner
to bring the controlled output variables to the desired level
❑ Example
▪ Embedded system which are mission critical like flight control
systems, Antilock Brake Systems (ABS), etc. are Real Time systems.
Operates in Harsh Environment
❑ The design should consider the operating conditions of the area where
the system is going to be implemented.
❑ Proper shock absorption techniques should be provided to systems
which are going to be commissioned in places subject to high shock.
❑ Example:
▪ If the system needs to be deployed in a high temperature zone, then all the
components used in the system should be of high temperature grade.
Distributed
❑ It means that embedded systems may be a part of a larger
system.
❑ Examples:
▪ Automatic vending machine. It contains a card reader, a vending unit etc.
Each of them are independent embedded units but they work together to
perform the overall vending function.
Small Size and Weight
❑ Product aesthetics (size, weight, shape, style, etc.) is an important
factor in choosing a product.
❑ It is convenient to handle a compact device than a bulky
product.
❑ In embedded domain, compactness is a significant deciding
factor.
Power Concerns
❑ Power management is another important factor that needs to be
considered in designing embedded systems.