Chapter 3
Chapter 3
RTOS Examples:
1.FreeRTOS: FreeRTOS is a popular open-source Real time OS. It is designed for
microcontrollers and small embedded systems.
2.VxWorks: VxWorks is a real time operating system developed by Wind River Systems. It is
widely used in the aerospace, defense, and industrial automation industries.
3.QNX: QNX is a commercial real time operating system developed by BlackBerry. It is used in
mission-critical applications such as automotive, medical devices, and nuclear power plants.
4.ThreadX: ThreadX is a real time operating system developed by Express Logic. It is widely
used in consumer electronics, medical devices, and automotive applications.
5.Nucleus RTOS: Nucleus RTOS is a real time operating system developed by Mentor
Graphics. It is used in a wide range of applications, including consumer electronics, medical
devices, and automotive systems.
Manageability: This means a system whose veracity or bulkiness is manageable. The software
and hardware required to operate the RTOS must be of reasonable size. Technicians should also
be easy to find and orient. The idea is to reduce the cost of implementation.
Scalability: The needs of any production or event will change as the environment change. a
system may require an upgrade or downgrade. Such provisions must be made during design and
installation of any RTOS.
Functionality of RTOS
Processor management: a critical function of the RTOSBy managing processes, the operating
system can ensure that resources are used efficiently and that the system remains stable. In
addition, process management allows the operating system to control how programs interact with
each other. Memory management: the functionality of an RTOS that handles or manages primary
memory and moves processes back and forth between main memory and disk during execution.
Memory management keeps track of each and every memory location, regardless of either it is
allocated to some process or it is free. It checks how much memory is to be allocated to
processes. It decides which process will get memory at what time. It tracks whenever some
memory gets freed or unallocated and correspondingly it updates the status.
Timer management: It provides functions to startand stop functions/tasks to determine the CPU
speed and let a thread uses the CPU for a specified time and after that time it will releases the
CPU.
3.2 Features of a real time operation system
Microprocessors play a crucial role in real-time operating systems (RTOS) by executing tasks
that must be completed within specific timing constraints. Here’s a breakdown of general and
specific microprocessors used in RTOS environments:
General Microprocessors
Specific Microprocessors
1. Message Queues
2. Semaphores
4. Event Flags
Description: Used to signal events between tasks or between an interrupt and a task.
Use Case: Allows a task to wait for one or more conditions to be met.
Benefits: Efficiently manages multiple event notifications.
5. Shared Memory