SlideShare a Scribd company logo
Unit 9 Embedded application
Lesson 27 Choosing a Real-Time
Operating System
2023/8/26 2
Lesson 27 Choosing a Real-Time
Operating System
• Backgrounds
• Text tour
• Language in use
– Vocabulary
2023/8/26 3
• Terminology
– Debugger
A debugger or debugging tool is a computer
program that is used to test and debug other
programs (the "target" program).
Backgrounds
Stack
• In computer science, a stack is an abstract data type that
serves as a collection of elements, with two principal
operations:
 push, which adds an element to the collection
 pop, which removes the most recently added element that
was not yet removed.
2023/8/26 4
2023/8/26 5
– Source code
In computing, source code is any collection of computer
instructions, possibly with comments, written using a human-
readable programming language, usually as plain text. The source
code of a program is specially designed to facilitate the work of
computer programmers, who specify the actions to be performed
by a computer mostly by writing source code.
– The source code is often transformed by an assembler or compiler
into binary machine code understood by the computer.
Backgrounds
Integrated development tool
• An integrated development environment (IDE) is a
software application that provides comprehensive facilities
to computer programmers for software development. An
IDE normally consists of a source code editor, build
automation tools and a debugger.
2023/8/26 6
2023/8/26 7
- Interrupt latency
In computing, interrupt latency is the time that passes from
when an interrupt is generated to when the source of the
interrupt is serviced.
For many operating systems, devices are serviced/operated as soon as
the device's interrupt handler/ISR is executed.
Backgrounds
2023/8/26 8
Text tour
• Outline
– Introduction (para.1, 2)
– Characteristics of an RTOS (para.3-8)
– Selection process (para.9-12)
2023/8/26 9
Introduction
• The term "real time" means the computer problem for which a late
answer is as bad as a wrong one.
• A real-time system has been described as one which "controls an
environment by receiving data, processing them and returning the
results sufficiently quickly to affect the environment at that time".
• The term "real-time" is also used in simulation to mean that the
simulation's clock runs at the same speed as a real clock and in process
control and enterprise systems to mean "without significant delay".
• Designers of real-time embedded systems spends large portion of time
• Worst-case performance
A. Command & Interrupt signal
B. Interrupt latency
C. Triggering the Breaking Mechanism
2023/8/26 10
2023/8/26 11
Characteristics of an RTOS
• To earn the distinctive title " RTOS ", an operating system
should…
– be deterministic (calculable i.e. vendors must publish
datasheets)
– have guaranteed worst-case interrupt latency
– have guaranteed context-switch times (i.e. the amount of
time required to perform a context switch.)
**context switch is the process of storing and restoring the
state of a process or thread so that execution can be resumed
from the same point at a later time.
2023/8/26 12
2023/8/26 13
Selection process
• A wide variety of OSs are available to suit most projects
and pocketbooks.
– at the lower end
• a basic preemptive(automatic) scheduler
• a few other key system calls
– at the higher end
• the basic scheduler
• a lot of functionality
2023/8/26 14
2023/8/26 15
Selection process
• It can be difficult to decide
– Try putting your processor, real-time performance and
budgetary requirements first.
– Then contact the vendors for more detailed technical
information.
• Decision based on compatibility with choice of
cross-compiler, debugger and other development
tools.
• Decide what additional features are most important
for your project.
2023/8/26 16
• Vocabulary
– Suffice execution source
Language in use
2023/8/26 17
Vocabulary
2023/8/26 18
Suffice in dictionary
• To meet present needs or requirements; be sufficient:
– These rations will suffice until next week.
• To be equal to a specified task; be capable:
– No words will suffice to convey my grief.
2023/8/26 19
Suffice in text
• Average or expected-case analysis simply will not
suffice.
2023/8/26 20
Suffice in use
• suffice for
• suffice it to say that...
2023/8/26 21
Execution in dictionary
• The act of executing something.
• The state of being executed.
• The manner, style or result of performance:
– The plan was sound; its execution, faulty.
• The act or an instance of putting to death or being put to
death as a lawful penalty.
2023/8/26 22
Execution in text
• An operating system is said to be deterministic if the
worst-case execution time of each of its system calls is
calculable.
2023/8/26 23
Execution in use
• program execution
• step execution
• execution of contract
2023/8/26 24
Source in dictionary
• The point at which something springs into being or from
which it derives or is obtained.
• The point of origin, such as a spring, of a stream or river.
• One that causes, creates, or initiates; a maker.
2023/8/26 25
Source in text
• Those at the lower end of the spectrum offer just a basic
preemptive scheduler and a few other key system calls.
These operating systems are usually inexpensive, come
with source code that you can modify, and do not require
payment of any royalties.
2023/8/26 26
Source in use
• capital source
• constant flow source
• constant voltage source
• noise source
Thank You
2023/8/26 27

More Related Content

PPT
Lesson 27 Choosing a Real-Time Operating System (Lecture 8).ppt
PPTX
Software and Hardware Tools for Microprocessors
PPTX
Embedded system-1 is a first note for fourth year students
PDF
Autosar Basics hand book_v1
PPTX
Real-Time Systems Intro.pptx
PDF
Lecture for the day three in jj3 ppt.pdf
PPT
Vedic Calculator
PPT
Architecture presentation 4
Lesson 27 Choosing a Real-Time Operating System (Lecture 8).ppt
Software and Hardware Tools for Microprocessors
Embedded system-1 is a first note for fourth year students
Autosar Basics hand book_v1
Real-Time Systems Intro.pptx
Lecture for the day three in jj3 ppt.pdf
Vedic Calculator
Architecture presentation 4

Similar to Lesson 27 Choosing a Real-Time Operating System.ppt (20)

PDF
Multicore_Architecture Book.pdf
PPSX
Research Scope in Parallel Computing And Parallel Programming
PPTX
Factors influencing the success of computer architecture
PPTX
HOW TO PHYSICALLY DESIGN A COMPUTER BASED INFORMATION SYSTEM
PDF
Linux-Based Data Acquisition and Processing On Palmtop Computer
PDF
Linux-Based Data Acquisition and Processing On Palmtop Computer
PPTX
Software Requirement And Specification.pptx
PDF
IGCSE & O Level Computer Workbook for P2 by Inqilab Patel
PDF
Real time operating systems
PPT
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
PDF
Streaming Analytics Unit 1 notes for engineers
DOCX
Computers in management
PPTX
3Audit Software & Tools.pptx
PPTX
Software for embedded systems complete
PDF
Parallel Computing - Lec 6
PPT
Cost effort.ppt
PDF
Continuous Performance Testing
PDF
Parallex - The Supercomputer
PPTX
PCSG_Computer_Science_Unit_1_Lecture_2.pptx
PDF
PARKING ALLOTMENT SYSTEM PROJECT REPORT REPORT.
Multicore_Architecture Book.pdf
Research Scope in Parallel Computing And Parallel Programming
Factors influencing the success of computer architecture
HOW TO PHYSICALLY DESIGN A COMPUTER BASED INFORMATION SYSTEM
Linux-Based Data Acquisition and Processing On Palmtop Computer
Linux-Based Data Acquisition and Processing On Palmtop Computer
Software Requirement And Specification.pptx
IGCSE & O Level Computer Workbook for P2 by Inqilab Patel
Real time operating systems
FAULT TOLERANCE OF RESOURCES IN COMPUTATIONAL GRIDS
Streaming Analytics Unit 1 notes for engineers
Computers in management
3Audit Software & Tools.pptx
Software for embedded systems complete
Parallel Computing - Lec 6
Cost effort.ppt
Continuous Performance Testing
Parallex - The Supercomputer
PCSG_Computer_Science_Unit_1_Lecture_2.pptx
PARKING ALLOTMENT SYSTEM PROJECT REPORT REPORT.
Ad

More from MdRayhanTanvir (20)

PPT
Lesson 15 VHDL Electronic Engineering.pptx
PPT
Lesson 16 Basic Concepts of DSP Electronic Engineering
PPT
Lesson 17 Digital signal processors.pptx
PPT
Lesson 18 Comparison of DSP and ASP.pptx
PPT
Lesson 19 High Fidelity Audio Electronic Engineering
PPT
Lesson 21 Third-Generation Mobile Phones Digital Voice and Data.ppt
PPT
Lesson 29 Oscilloscopes Electronic Engineering
PPT
Lesson 30 Logic Analyzers Electronic Engineering
PPTX
Lecture #1 Introduction to Automatic Control.pptx
PPTX
Lecture #1 Overview of Switched Mode Power Supply.pptx
PPT
Lesson 28 Electronic Signal Sources.ppt
PPT
Lesson 30 Logic Analyzers Logic Analyzers.ppt
PPT
Lesson 17 Digital signal processors (Lecture 9).ppt
PPT
Lesson 12 Personal computer system (Lecture 6).ppt
PPT
Lesson 13 Overview of modern digital system design (Lecture 7).ppt
PPT
Lesson 14 Electronic design with FPGAs (Lecture 7).ppt
PPT
Lesson 15 ery High-Speed Integrated Circuit Hardware Description LanguageVHDL...
PPT
Lesson 16 Basic Concepts of DSP (Lecture 8).ppt
PPT
Lesson 17 Digital signal processors (Lecture 4).ppt
PPT
Lesson 22 Digital Image fundamentals (Lecture 5).ppt
Lesson 15 VHDL Electronic Engineering.pptx
Lesson 16 Basic Concepts of DSP Electronic Engineering
Lesson 17 Digital signal processors.pptx
Lesson 18 Comparison of DSP and ASP.pptx
Lesson 19 High Fidelity Audio Electronic Engineering
Lesson 21 Third-Generation Mobile Phones Digital Voice and Data.ppt
Lesson 29 Oscilloscopes Electronic Engineering
Lesson 30 Logic Analyzers Electronic Engineering
Lecture #1 Introduction to Automatic Control.pptx
Lecture #1 Overview of Switched Mode Power Supply.pptx
Lesson 28 Electronic Signal Sources.ppt
Lesson 30 Logic Analyzers Logic Analyzers.ppt
Lesson 17 Digital signal processors (Lecture 9).ppt
Lesson 12 Personal computer system (Lecture 6).ppt
Lesson 13 Overview of modern digital system design (Lecture 7).ppt
Lesson 14 Electronic design with FPGAs (Lecture 7).ppt
Lesson 15 ery High-Speed Integrated Circuit Hardware Description LanguageVHDL...
Lesson 16 Basic Concepts of DSP (Lecture 8).ppt
Lesson 17 Digital signal processors (Lecture 4).ppt
Lesson 22 Digital Image fundamentals (Lecture 5).ppt
Ad

Recently uploaded (20)

PPTX
Fundamentals of Mechanical Engineering.pptx
PDF
August 2025 - Top 10 Read Articles in Network Security & Its Applications
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
Software Engineering and software moduleing
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPT
Occupational Health and Safety Management System
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PPTX
Artificial Intelligence
PPTX
Module 8- Technological and Communication Skills.pptx
PDF
Soil Improvement Techniques Note - Rabbi
PDF
Visual Aids for Exploratory Data Analysis.pdf
PPTX
Current and future trends in Computer Vision.pptx
PDF
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
PPTX
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
Exploratory_Data_Analysis_Fundamentals.pdf
Fundamentals of Mechanical Engineering.pptx
August 2025 - Top 10 Read Articles in Network Security & Its Applications
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Software Engineering and software moduleing
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
Occupational Health and Safety Management System
Nature of X-rays, X- Ray Equipment, Fluoroscopy
Accra-Kumasi Expressway - Prefeasibility Report Volume 1 of 7.11.2018.pdf
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Artificial Intelligence
Module 8- Technological and Communication Skills.pptx
Soil Improvement Techniques Note - Rabbi
Visual Aids for Exploratory Data Analysis.pdf
Current and future trends in Computer Vision.pptx
null (2) bgfbg bfgb bfgb fbfg bfbgf b.pdf
CURRICULAM DESIGN engineering FOR CSE 2025.pptx
R24 SURVEYING LAB MANUAL for civil enggi
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
Exploratory_Data_Analysis_Fundamentals.pdf

Lesson 27 Choosing a Real-Time Operating System.ppt

  • 1. Unit 9 Embedded application Lesson 27 Choosing a Real-Time Operating System
  • 2. 2023/8/26 2 Lesson 27 Choosing a Real-Time Operating System • Backgrounds • Text tour • Language in use – Vocabulary
  • 3. 2023/8/26 3 • Terminology – Debugger A debugger or debugging tool is a computer program that is used to test and debug other programs (the "target" program). Backgrounds
  • 4. Stack • In computer science, a stack is an abstract data type that serves as a collection of elements, with two principal operations:  push, which adds an element to the collection  pop, which removes the most recently added element that was not yet removed. 2023/8/26 4
  • 5. 2023/8/26 5 – Source code In computing, source code is any collection of computer instructions, possibly with comments, written using a human- readable programming language, usually as plain text. The source code of a program is specially designed to facilitate the work of computer programmers, who specify the actions to be performed by a computer mostly by writing source code. – The source code is often transformed by an assembler or compiler into binary machine code understood by the computer. Backgrounds
  • 6. Integrated development tool • An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger. 2023/8/26 6
  • 7. 2023/8/26 7 - Interrupt latency In computing, interrupt latency is the time that passes from when an interrupt is generated to when the source of the interrupt is serviced. For many operating systems, devices are serviced/operated as soon as the device's interrupt handler/ISR is executed. Backgrounds
  • 8. 2023/8/26 8 Text tour • Outline – Introduction (para.1, 2) – Characteristics of an RTOS (para.3-8) – Selection process (para.9-12)
  • 9. 2023/8/26 9 Introduction • The term "real time" means the computer problem for which a late answer is as bad as a wrong one. • A real-time system has been described as one which "controls an environment by receiving data, processing them and returning the results sufficiently quickly to affect the environment at that time". • The term "real-time" is also used in simulation to mean that the simulation's clock runs at the same speed as a real clock and in process control and enterprise systems to mean "without significant delay". • Designers of real-time embedded systems spends large portion of time • Worst-case performance A. Command & Interrupt signal B. Interrupt latency C. Triggering the Breaking Mechanism
  • 11. 2023/8/26 11 Characteristics of an RTOS • To earn the distinctive title " RTOS ", an operating system should… – be deterministic (calculable i.e. vendors must publish datasheets) – have guaranteed worst-case interrupt latency – have guaranteed context-switch times (i.e. the amount of time required to perform a context switch.) **context switch is the process of storing and restoring the state of a process or thread so that execution can be resumed from the same point at a later time.
  • 13. 2023/8/26 13 Selection process • A wide variety of OSs are available to suit most projects and pocketbooks. – at the lower end • a basic preemptive(automatic) scheduler • a few other key system calls – at the higher end • the basic scheduler • a lot of functionality
  • 15. 2023/8/26 15 Selection process • It can be difficult to decide – Try putting your processor, real-time performance and budgetary requirements first. – Then contact the vendors for more detailed technical information. • Decision based on compatibility with choice of cross-compiler, debugger and other development tools. • Decide what additional features are most important for your project.
  • 16. 2023/8/26 16 • Vocabulary – Suffice execution source Language in use
  • 18. 2023/8/26 18 Suffice in dictionary • To meet present needs or requirements; be sufficient: – These rations will suffice until next week. • To be equal to a specified task; be capable: – No words will suffice to convey my grief.
  • 19. 2023/8/26 19 Suffice in text • Average or expected-case analysis simply will not suffice.
  • 20. 2023/8/26 20 Suffice in use • suffice for • suffice it to say that...
  • 21. 2023/8/26 21 Execution in dictionary • The act of executing something. • The state of being executed. • The manner, style or result of performance: – The plan was sound; its execution, faulty. • The act or an instance of putting to death or being put to death as a lawful penalty.
  • 22. 2023/8/26 22 Execution in text • An operating system is said to be deterministic if the worst-case execution time of each of its system calls is calculable.
  • 23. 2023/8/26 23 Execution in use • program execution • step execution • execution of contract
  • 24. 2023/8/26 24 Source in dictionary • The point at which something springs into being or from which it derives or is obtained. • The point of origin, such as a spring, of a stream or river. • One that causes, creates, or initiates; a maker.
  • 25. 2023/8/26 25 Source in text • Those at the lower end of the spectrum offer just a basic preemptive scheduler and a few other key system calls. These operating systems are usually inexpensive, come with source code that you can modify, and do not require payment of any royalties.
  • 26. 2023/8/26 26 Source in use • capital source • constant flow source • constant voltage source • noise source