Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
n
i
r
e
e
n
i
g
d
e
n
d
E
d
s
e
b
m
e
m
t
s
E
y
o
S
t
A
h
c
a
n
o
g
r
i
p
s
p
e
A
D
s
m
e
t
s
y
S
In This Section
#include <16f876a.h>
#use delay (clock=20000000)
#byte PORTB=6
main()
{
set_tris_b(0);
portb=255;
//decimal
delay_ms(1000);
portb=0x55;
//hexadecimal
approaching embedded
systems architecture design from a
systems engineering point of view,
several models can be applied to
describe the cycle of embedded
system design.
Most of these models are based upon
one or some combination of the
following
models:
four
development
development models:
four development
models:
1.The big-bang model
2.The code-and-fix
model
3.The waterfall
model
4.The spiral model
big-bang model
The
no
planning
is essentially
or
Big-Bang Model
Developer
Developer
Developer
delivers result.
Developer
code-and-fix model
The code-and-fix model, in which
no formal processes
are in place before the start of
development.
waterfall model
The waterfall model,
in which there is a
process for developing
a system in steps,
where results of one
Waterfall Model
The waterfall model is a sequential
design process, in which progress is
seen as flowing steadily downwards
(like a waterfall) through the phases of
Conception, Initiation, Analysis, Design,
Construction, Testing,
Production/Implementation, and
Maintenance.
Requirements
Design
Implementation
Test
Adjustments made to immediately previous phase
based on issues with successive phase.
spiral model
The spiral model, in which
there is a process for
developing a system in steps,
and
throughout the various steps,
feedback
is obtained and
incorporated back into the
process.
Embedded Systems
Design and Development
Lifecycle Model
Lifecycle Model
Lifecycle Model
General ABC features are the characteristics of a device that the various
influence types require.
Step 4
Deriving the Hardware and Software from the Requirements
Understanding and applying the requirements to derive feasible hardware
and/or software solutions for a particular design can be accomplished
through:
1.Defining a set of scenarios that outlines each of the requirements.
2. Outlining tactics for each of the scenarios that can be used to bring
about the desired system response.
3. Using the tactics as the blueprint for what functionality is needed in
the device, and then deriving a list of specific hardware and/or software
elements that contain this functionality.
The 4+1 model states that a system architect should create five
concurrent structures per architecture at the very least, and each
structure should represent a different viewpoint of the system.
What is literally meant by 4+1 is that four of the structures are
responsible for capturing the various requirements of the system. The fifth
structure is used to validate the other four, insuring that there are no
contentions between the structures and that all structures describe the
exact same embedded device, from their various viewpoints .
Microprocessors:
General-purpose microprocessor
CPU
GeneralPurpose
Microprocessor
Data Bus
RAM
ROM
I/O
Port
Address Bus
General-Purpose Microprocessor System
Timer
Serial
COM
Port
Microcontroller :
A smaller
computer
On-chip RAM, ROM, I/O ports...
Example Motorolas 6811, Intels 8051, Zilogs Z8 and PIC 16X
CPU
I/O
Port
RAM ROM
Serial
Timer COM
Port
A single chip
Microcontroller
Microprocessor
Microcontroller
History of microcontroller
The first microcontroller TMS1000 was introduced
TYPES OF
MICROCONTROLLERS
Microcontrollers can be classified on:the basis of internal
bus width, architecture, memory and instruction set as 4bit,8-bit,16-bit and 32-bit microcontrollers.
60
TYPES OF
MICROCONTROLLERS :
16-bit Microcontrollers : The internal bus width of 16-bit
MICROCONTROLLER
DEVELOPMENT TOOLS
1. Editor : An Editor is a program which allows us to create a
MICROCONTROLLER
DEVELOPMENT TOOLS
3.Compiler : A compiler is a program which converts the
64