Your SlideShare is downloading. ×
0
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Rtos By Avanish Agarwal
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Rtos By Avanish Agarwal

4,066

Published on

Real time operating system …

Real time operating system
file download is not available if anyone wants detailed explanation then contact on my mail address

Published in: Technology, Business
1 Comment
5 Likes
Statistics
Notes
No Downloads
Views
Total Views
4,066
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
1
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Real Time Operating Systems (RTOS) Presented By Mr. Avanish Agarwal Mr. Makesh Iyer V.P.M’s Polytechnic College, Thane TECHNOPHILLIA 2009 25th & 26th Feb.
  • 2. Moving Ahead..
    • What is a real-time OS?
    • OS Types
    • OS Basics
    • RTOS Basics
    • Real-time Example
    • Summary
    • References
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 3. What is a Real-time OS?
    • A RTOS (Real-Time Operating System)
      • Is an Operating Systems with the necessary features to support a Real-Time System
      • What is a Real-Time System?
        • A system where correctness depends not only on the correctness of the logical result of the computation, but also on the result delivery time
        • A system that responds in a timely, predictable way to unpredictable external stimuli arrivals
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 4. Why RTOS?? TECHNOPHILLIA 2009 25th & 26th Feb.
  • 5. Types of Real Time Systems
    • Based on the consequences during system failure:
    • Hard Real time Systems
      • Failure to respond to any single event is considered as complete system failure
    • Soft Real Time Systems
      • The consequences during system failure are not hazardous (matter of life and death). Failure to respond to any event only degrades the performance but not considered as system failure.
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 6. OS Basics
    • “An OS is a system program that provides an interface between application programs and the computer system (hardware)”
      • Primary Functions
        • Provide a system that is convenient to use
        • Organize efficient and correct us of system resources
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 7.
    • RTOS Basics
    • Central Purpose of a RTOS
      • Scheduling of the CPU
        • Applications are structured as a set of processes
          • At least 3 states are needed to allow the CPU to schedule
          • Ready – waiting to run (in ready list)
          • Running – process (thread or task) is utilizing the processor to execute instructions
          • Blocked – waiting for resources (I/O, memory, critical section, etc.)
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 8. RTOS Basics Running Ready Blocked Dispatch Block Timer Run out Wakeup Process States & Transitions or Basic Kernel TECHNOPHILLIA 2009 25th & 26th Feb.
  • 9. Interrupts
    • Some events can’t wait for next loop iteration e.g.
      • Communication channels
      • Transient events
    • A solution: Cyclic executive plus interrupt routines
    • Interrupt: Environmental event that demands attention
      • Example: “byte arrived” interrupt on serial channel
    • Interrupt routine: Piece of code executed in response to an interrupt
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 10. Handling Interrupts TECHNOPHILLIA 2009 25th & 26th Feb. 1. Normal program execution 2. Interrupt occurs 3. Processor state saved 4. Interrupt routine runs 5. Interrupt routine terminates 6. Processor state restored 7. Normal program execution resumes
  • 11. Real-time Example
    • A device which we generally use
    • is iPod
    • It has to play the songs without
    • Any input combining with memory
    • i.e. flash memory
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 12. Flow Chart of iPod TECHNOPHILLIA 2009 25th & 26th Feb. Power ON State ROM code invoke Booting Play Song/ Video Display Photos Configure Device RTOS Kernel ( Scheduler + Interrupt handler ) USB connect ISR Store Songs, Videos And Terminate USB USER Input ISR IPod Acts as storage device (Slave Mode)
  • 13. Interrupts in iPod
    • Main Interrupts are
    • USB Interrupt
    • User Interrupt
    • USB Interrupt-
    • Occurs when USB connection found
    • User Interrupt-
    • Occurs when user gives command in foreground
    • or background
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 14. RTOS Application Areas TECHNOPHILLIA 2009 25th & 26th Feb.
    • Examples of Real-Time Systems
    • Microwave ovens.
    • Medical monitoring systems.
    • Car control systems: ABS systems and engine control.
    • Air craft systems.
    • Chemical factory control system.
    • Polled loop system
    • Nuclear power plant control systems .
  • 15. Summary
    • A RTOS should be predictable regardless of the system load and size of queues/lists
    • RTOS should always support pre-emptive priority scheduling
    • The memory model utilized is very important to the performance and predictability of your RT system
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 16. References
    • What Makes A Good RTOS, RTOS Evaluation Program, Real-Time Magazine , Version 2.0, 28 February 2000.
    • VxWorks Guide, WindRiver Systems.
    • Embedded Systems- Architecture, Programming & Design Second Edition by Raj Kamal ( McGraw Hill Companies)
    • Unix Concept & Programming by Murugan Sethuranman
    • OSEK/VDX-Operating System. Version 2.2.2, July 2004.
    • 8051 RTOS Guide
    • RTOS Evolution Project Issue 1.1 Doc. DSE-RTOS-EVE-001b
    • Embedded Real-time Systems Programming by Sriram V. Iyer, Pankaj Gupta
    TECHNOPHILLIA 2009 25th & 26th Feb.
  • 17. Thank You!! TECHNOPHILLIA 2009 25th & 26th Feb.

×