Escolar Documentos
Profissional Documentos
Cultura Documentos
Table of Contents
Definition of embedded system Embedded System components Examples of embedded system Classification of embedded system Characteristics of an embedded system Comparison: General purpose and Embedded system Blocks of microprocessor Blocks of microcontroller Von-Neumann and Harvard architecture RISC and CISC instruction set Memory Peripherals Challenges in Embedded System design Classical design methodology Software development models
Tessolve Training Development Institute 2
Definition of embedded system A microprocessor based system that is embedded as a subsystem, in a larger system
Embedded system Inputs
Sub System #1
Interconnects
Tessolve Training Development Institute 3
Sensors
Processor or ASIC
D/A conversion
Actuators
Diagnostic port
External environment
Real-time
Must compute certain results in real-time
10
11
Embedded System
Not programmable by end user Designed only for specific application Limited memory Suitable for realizing real-time requirements Compact
12
Blocks of microprocessor
Microprocessor
Memory Bus
Data Cache Bus Interface Unit Control Unit Instruction Decoder Arithmetic & Logic Unit Registers Floating Point Unit Registers
13
RAM I/O
System Bus
Instruction Cache
Instruction Decoder
This unit receives the programming instructions and decodes them into a form that is understandable by the processing units, i.e. the ALU or FPU Then, it passes on the decoded instruction to the ALU or FPU
14
Control Unit
The brain of the uP Manages the whole uP tasks include fetching instructions & data, storing data, managing input/output devices
Tessolve Training Development Institute 16
Blocks of microcontroller
Microcontroller
Memory Bus RAM
Data Cache Control Unit Instruction Decoder Arithmetic & Logic Unit Registers
microprocessor
FLASH
I/O
Instruction Cache
Tessolve Training Development Institute 17
Communicate with "outside world", e.g. Screen Keyboard Storage devices ...
18
19
20
Memory access
r/w: selects read or write enable: read or write only when asserted multiport: multiple accesses to different locations simultaneously
enable A0 Ak-1
Qn-1
Tessolve Training Development Institute
Q0
21
22
Middle range
processor writes to memory, but slower e.g., FLASH, EEPROM
Lower range
special equipment, programmer, must be used to write to memory e.g., EPROM, OTP ROM
Low end
bits stored only during fabrication e.g., Mask-programmed ROM
Tessolve Training Development Institute 23
Middle range
holds bits days, months, or years after memorys power source turned off e.g., NVRAM
Lower range
holds bits as long as power supplied to memory e.g., SRAM
Low end
begins to lose bits almost immediately after written e.g., DRAM
Tessolve Training Development Institute 24
Memory Hierarchy
Small, expensive , fast memory stores copy of likely accessed Access time parts of larger memory increases
Processor
Registers
Large, inexpensive, slow memory stores entire program and cost data increases
Cache
Main memory
Disk
Tape
25
Peripherals
Flash memory RAM Serial ports WDT Timer ADC DAC Sensors Actuators RTC I/O devices
Tessolve Training Development Institute
26
Concurrent systems
System and environment run concurrently
Real-time systems
not only rt. outputs but at rt. time imagine a delay of few minutes in pacemaker system
27
Testing
28
29
30
31
32