1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems.

Slides:



Advertisements
Similar presentations
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Advertisements

Computer Systems/Operating Systems - Class 8
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Chapter 13 Embedded Systems
Chapter 13 Embedded Systems Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
ECE 526 – Network Processing Systems Design Software-based Protocol Processing Chapter 7: D. E. Comer.
Lecture 1: History of Operating System
Embedded Systems: Introduction. Course overview: Syllabus: text, references, grading, etc. Schedule: will be updated regularly; lectures, assignments.
Figure 2.8 Compiler phases Compiling. Figure 2.9 Object module Linking.
1 Soft Timers: Efficient Microsecond Software Timer Support For Network Processing Mohit Aron and Peter Druschel Rice University Presented By Jonathan.
1: Operating Systems Overview
OPERATING SYSTEM OVERVIEW
3.5 Interprocess Communication
Chapter 13 Embedded Systems
Multiprocessor and Real-Time Scheduling Chapter 10.
Figure 1.1 Interaction between applications and the operating system.
Real-Time Kernels and Operating Systems. Operating System: Software that coordinates multiple tasks in processor, including peripheral interfacing Types.
Mehmet Can Vuran, Instructor University of Nebraska-Lincoln Acknowledgement: Overheads adapted from those provided by the authors of the textbook.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
Chapter 13 Embedded Operating Systems Eighth Edition By William Stallings Operating Systems: Internals and Design Principles.
Copyright Arshi Khan1 System Programming Instructor Arshi Khan.
Operating System Overview
Operating System A program that controls the execution of application programs An interface between applications and hardware 1.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Eric Keller, Evan Green Princeton University PRESTO /22/08 Virtualizing the Data Plane Through Source Code Merging.
Windows NT and Real-Time? Reading: “Inside Microsoft Windows 2000”, (Solomon, Russinovich, Microsoft Programming Series) “Real-Time Systems and Microsoft.
Operating Systems ECE344 Ashvin Goel ECE University of Toronto OS-Related Hardware.
Chapter 10 Multiprocessor and Real-Time Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community.
Page 1 2P13 Week 9. Page 2 Table 9.2 Scheduling Criteria User Oriented, Performance Related Turnaround time This is the interval of time between the submission.
Multiprocessor and Real-Time Scheduling Chapter 10.
Chapter 101 Multiprocessor and Real- Time Scheduling Chapter 10.
REAL-TIME SOFTWARE SYSTEMS DEVELOPMENT Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
The Mach System Abraham Silberschatz, Peter Baer Galvin, Greg Gagne Presentation By: Agnimitra Roy.
Operating System Structure A key concept of operating systems is multiprogramming. –Goal of multiprogramming is to efficiently utilize all of the computing.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
The Performance of μ-Kernel-Based Systems H. Haertig, M. Hohmuth, J. Liedtke, S. Schoenberg, J. Wolter Presenter: Sunita Marathe.
Operating Systems 1 K. Salah Module 1.2: Fundamental Concepts Interrupts System Calls.
Outcome 1: Describe the structure and function of an operating system.
Concurrency, Processes, and System calls Benefits and issues of concurrency The basic concept of process System calls.
Real-Time Operating System Design
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Operating Systems Unit 2: – Process Context switch Interrupt Interprocess communication – Thread Thread models Operating Systems.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
C OMPUTER A RCHITECTURE Lecture 4 Engr. Hafiz Ali Hamza Gondal.
Embedded Real-Time Systems Processing interrupts Lecturer Department University.
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
An operating system for a large-scale computer that is used by many people at once is a very complex system. It contains many millions of lines of instructions.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Real-Time Operating Systems RTOS For Embedded systems.
CSCE451/851 Introduction to Operating Systems
Introduction to Operating Systems Concepts
Computer System Structures
Operating Systems Lecture 2.
Real Time Operating System
Real-time Software Design
Operating Systems : Overview
Chapter 15, Exploring the Digital Domain
Operating Systems Bina Ramamurthy CSE421 11/27/2018 B.Ramamurthy.
CS4101 嵌入式系統概論 RTOS Prof. Chung-Ta King Department of Computer Science
Operating Systems Lecture 2.
Introduction to Operating Systems
Threads Chapter 4.
Embedded Operating Systems
Multiprocessor and Real-Time Scheduling
Operating Systems Lecture 3.
CS703 - Advanced Operating Systems
Operating System Overview
Presentation transcript:

1 Chapter 13 Embedded Systems Embedded Systems Characteristics of Embedded Operating Systems

2 Embedded System A combination of hardware and software designed to perform a dedicated function Often, embedded systems are part of a larger system or product, –e.g., antilock braking system in a car Embedded systems are tightly coupled to their environment  imposes real-time constraints by the need to interact with the environment

3 Examples of Embedded Devices

4 Differences from typical computer A variety of interfaces –enable the system to measure, manipulate, and interact with the external environment –human interface may be as simple as a flashing light or as complicated as real-time robotic vision Use of a diagnostic port for diagnosing the system Use of special purpose hardware to increase performance or safety Fixed-function or application-specific software

5 Roadmap Embedded Systems Characteristics of Embedded Operating Systems

6 Characteristics of Embedded OS Using a general-purpose OS for an embedded system may not be possible –constraint of memory space –constraint of power consumption –real-time requirements Special-purpose OS designed for the embedded system environment is commonly used.

7 Characteristics of Embedded OS Real-time operation –correctness of computation depends, in part, on the time at which result is delivered Reactive operation –needs to consider worst-case conditions in execution in order to respond to external events that do not occur at predictable intervals

8 Characteristics of Embedded OS Configurability –supports flexible configuration so that only the functionality needed for a specific application and hardware suite is provided –e.g., allows to select only the necessary OS modules to load I/O device flexibility –handles devices by using special tasks instead of integrating their drives into the OS kernel

9 Characteristics of Embedded OS Streamlined protection mechanisms –requires limited protection because tested software can be assumed to be reliable –e.g., I/O instructions need not be privileged instructions that trap to OS  tasks can directly perform their own I/O –no use of an OS service call  avoid overhead for saving and restoring the task context

10 Characteristics of Embedded OS Direct use of interrupts –permits user process to use interrupts directly –no need to go through OS interrupt service routines –have efficient control over a variety of devices

11 Developing an Embedded OS Two general approaches –Take an existing OS and adapt it for embedded purposes –Design a purpose-built OS solely for embedded use

12 Adapting an Existing OS Examples include Windows, Linux –  familiar interfaces facilitate portability –  slower and less predictable than special purpose embedded OS –  not optimized for real-time and embedded applications  require considerable modification to achieve adequate performance optimizes for the average case rather than the worst case for scheduling assigns resources on demand ignores semantic information about an application

13 Adapting an Existing OS Need to add –real-time capability –streamlining operation –other specialized and necessary functionality for the given device

14 Purpose-Built Embedded OS Most OS are designed from the ground up for embedded applications Typical characteristics include: –Has thread switch (fast and lightweight) –Real time scheduling policy –Small size –Responds to external interrupts quickly (<10  s) –Minimizes intervals during which interrupts are disabled

15 Purpose-Built Embedded OS Typical characteristics include: –Provides fixed or variable sized partitions for memory management and the ability to lock code and data in memory –Provides special sequential files that can accumulate data at a fast rate

16 Purpose-Built Embedded OS To deal with timing constraints, the kernel: –provides bounded execution time for primitives –maintains a real-time clock –provides for special alarms and timeouts –supports real-time queuing disciplines, e.g., EDF (earliest deadline first) –provides primitives to delay processing and to suspend/resume execution