185
Microcontrollers Debugger Manual
5

Real Time Kernel

Awareness

The Debugger allows you to load and control applications on the target system, or
applications simulated on the host. It also allows you to inspect the state of the application,
which includes global variables, processor registers and the procedure call chain including
the local (automatic) variables.
This chapter describes how applications built of several tasks are handled by a generic
awareness support and an OSEK awareness.
Topics in this chapter include:
Introduction
Task Description Language
Application Example
Inspecting Kernel Data Structures
OSEK Kernel Awareness
Introduction
Often operating systems (Real Time Kernels) are used to coordinate the different tasks in
more complex systems. This chapter describes how applications built of several tasks can
be handled with the Debugger. There are two main topics to be considered:
Debugging of any task in the system (e.g., viewing the state of any task in the
system). When using the original basic versions of the Debugger, only the current
task can be inspected. Due to this extension, it is possible to switch the debugging
context from the current task to any other task in the system.
Real time kernels use data structures to describe the state of the system (scheduling
information, queues, timers, etc.). Some of these data structures are described in this
chapter.