REAL-TIME SYSTEMS
(PROFESSIONAL ELECTIVE – V)
B.Tech. IV Year II Sem. L T P C
Course Code: CS852PE 3 0 0 3
Prerequisite: Computer Organization and Operating System
Course Objectives:
To provide broad understanding of the requirements of Real Time Operating Systems.
To make the student understand, applications of these Real Time features using case
studies.
Course Outcomes:
Be able to explain real-time concepts such as preemptive multitasking, task priorities,
priority inversions, mutual exclusion, context switching, and synchronization,
interrupt
latency and response time, and semaphores.
Able describe how a real-time operating system kernel is implemented.
Able explain how tasks are managed.
Explain how the real-time operating system implements time management.
Discuss how tasks can communicate using semaphores, mailboxes, and queues.
Be able to implement a real-time system on an embedded processor.
Be able to work with real time operating systems like RT Linux, Vx Works, MicroC
/OSII, Tiny OS
UNIT – I: Introduction
Introduction to UNIX/LINUX, Overview of Commands, File I/O, (open, create, close, lseek,
read, write), Process Control (fork, vfork, exit, wait, waitpid, exec).
UNIT - II: Real Time Operating Systems
Brief History of OS, Defining RTOS, The Scheduler, Objects, Services, Characteristics of
RTOS, defining a Task, asks States and Scheduling, Task Operations, Structure,
Synchronization, Communication and Concurrency. Defining Semaphores, Operations and
Use, Defining Message Queue, States, Content, Storage, Operations and Use
UNIT - III: Objects, Services and I/O
Pipes, Event Registers, Signals, Other Building Blocks, Component Configuration, Basic I/O
Concepts, I/O Subsystem
UNIT - IV: Exceptions, Interrupts and Timers
Exceptions, Interrupts, Applications, Processing of Exceptions and Spurious Interrupts, Real
Time Clocks, Programmable Timers, Timer Interrupt Service Routines (ISR), Soft Timers,
Operations.
UNIT - V: Case Studies of RTOS
RT Linux, MicroC/OS-II, Vx Works, Embedded Linux, and Tiny OS.
TEXT BOOKS:
1. Real Time Concepts for Embedded Systems – Qing Li, Elsevier, 2011
REFERENCE BOOKS:
1. Embedded Systems- Architecture, Programming and Design by Rajkamal, 2007,
TMH.
2. Advanced UNIX Programming, Richard Stevens
3. Embedded Linux: Hardware, Software and Interfacing – Dr. Craig Hollabaugh