Professional Documents
Culture Documents
Multi dimensional
Hard V/s Software System
Characteristic Hard Real-time Soft Real-time
Response Time Hard-required Soft-desired
Peak-load Performance Predictable Degraded
Control of Pace Environment Computer
Safety Often Critical Non-critical
Size of Data Small/Medium Large
Redundancy Type Active Check-point recovery
Data integrity Short Term Long Term
Error Detection Autonomous User Assisted
Classification of Embedded System
Functional Requirement
The functional requirement are defined by the operations
that the embedded system need to perform, which are in
their turn determined by the services required by the
embedded system.
Temporal Requirement
This requirement induced by the fact that some tasks i.e.
parts of dedicated services, have deadlines, thus the system
has to deliver the services before deadline.
Thus, completion of task before deadline is critical in hard
real-time system and failure to do so can have
catastrophically results.
Where as, in case of soft real-time system the essential
tasks is to display and update, if they are not completed
before their deadline, then other non-essential task such as
connection establishment may be engross and reschedule.
Embedded System Requirement
Dependability Requirement
They are relate to the quality of the services the embedded system
delivers during an life time.
Application Specific
Hardware/Software Co design
Static Structure
Heterogeneous
Mass – Produced
Design Technologies
o Top – down design process; System Specification,
Behavioral specification, Register Transfer Specification,
Logic Specification.
o Three design technology are –
• Compilation / Synthesis - automates exploration &
insertion of implementation details for lower level
• Libraries / IP - incorporates pre-designed implementation
from lower to higher level
• Test /Verification – Ensures correct functionality at each
level, thus reducing costly iterations between levels.
Developing Embedded System – A tool introduction
Editors,
Assemblers,
Compliers,
Debuggers,
Simulators,
Emulator and
Flash / OTP programmers.
Micro controller Development Cycle
Developing Embedded System-A tools introduction
A Debugging Code
o A debugger is a piece of software to be tightly integrated
with the emulator that you use to validate your code.
o Common debugging features include the capability to
examine & modify the micro controller’s on-chip registers
data and program-memory executing at defined program
location by setting break point.
o An integrated development environment (IDE) puts all of
the previously discussed software components under one
common unified user interface, so that it becomes possible
to make a code change & modified.
Developing Embedded System-A tool introduction
Debugging Tools
o For debugging your code & testing you application there are
several tools are –
Simulators – try to model the behavior of micro controller
in system.
Micro controller starter kits – is bundle a hard ware board
and in-system programmer with some software
components to allow us for very basic emulation and
debugging function.
Emulator – is hard ware that ideally behave exactly like the
real micro controller chip with all its integrated
functionality.
Developing Embedded System-A tool introduction
Binary Logic
Two voltage can be represented as two digits 0 & 1.
Logic gate
y Full-
Sum Adder Carry
Half-adder using XOR & AND gate
x x1 Sum
Half-
Adder Carry
y y1 Full-
Adder Carry
Sum Carry
x2
Half-
Sum
Adder
Carry Full- Carry
y2 Adder
Sum
Full-adder Built from a Half -adder 3-Bit Adder using 3 Full-adder
Internal Organization of Computer - Bus
Address Bus
CPU
RAM ROM Printer Disk Monitor Keyboar
d
Data Bus
Read/writ
e
Control Bus
Choosing Micro Controller
ON – CHIP
ROM
for Program
INPUTS
COUNTER
Interrupt ON – CHIP ETC
code
RAM
Control Timer 0
Timer 1
CPU
Ports Port
8051
MS-DOS Assembler Linking
Edit
program
my file.lst
Digital Camera