MPLAB's RTOS Viewer
You are here : Micrium : Products
: µC/OS-II : Kernel Awareness : MPLAB

Microchip's MPLAB Integrated Development Environment (IDE) is an intuitive and powerful toolset available for free. MPLAB IDE supports the entire range of Microchip's family PIC microcontrollers, from 8- to 16- to 32-bit.
Like MPLAB IDE, µC/OS-II, which supports the above mentioned products, is a valuable complement to Microchip's hardware. The potential benefits that µC/OS-II holds for Microchip-based projects are enhanced by MPLAB's RTOS Viewer. By debugging µC/OS-II-based applications with this free tool, developers can gain access to a plethora of RTOS-specific status information. Thus, the RTOS Viewer, which is summarized in the below lists, is a time-saving tool that, when combined with MPLAB's other components, affords a rapid means of developing µC/OS-II-based applications.
RTOS Viewer Features
The RTOS Viewer displays information that pertains to the following aspects of µC/OS-II:
- Tasks
- Timers
- Mutexes
- Semaphores
- Mailboxes
- Message queues
- Flag groups
- Memory
- Configuration constants
Task-Specific Data
The below list consists of the statistics that the RTOS Viewer uses to report the status of a single µC/OS-II task. The tool treats other components of the operating system, such as timers, mutexes, and semaphores, similarly.
- The name of the task
- The address of the associated task control block (TCB)
- The priority of the task
- The options that were employed when the task was created
- The task's ID
- The status of the task
- The message (if any) that is associated with the task
- The address of the associated event control block (ECB), assuming the task is dependent on an event
- The amount of time for which the task is delayed
- The address referenced by the task's stack pointer
- The amount of stack space being used by the task
- The amount of free stack space available to the task
- The percentage of CPU cycles that are being devoted to the task
- The number of context switches involving the task that have been performed
The below screenshot indicates how the RTOS Viewer displays task-related information.

Licensing
As part of a free IDE (MPLAB), the RTOS Viewer itself is not associated with any licensing costs. µC/OS-II, however, must be licensed in order to be used commercially. Licensing information for the operating system can be found here.

|