Introduction to ARM DS-5 THREADX RTOS Awareness
THREADX RTOS awareness is delivered and installed as a part of the ARM DS-5 IDE. DS-5 facilitates rapid understanding of what is happening in the THREADX application, including information about all application threads and any other application THREADX object.
To debug a THREADX-based system, simply select THREADX in the “OS Awareness” tab in the Debug Configurations dialog, as follows:
THREADX RTOS awareness introduces a variety of new debugger windows. To display the THREADX windows, simply select:
Window Show View OS Data
You will now observe the THREADX Awareness Window, which defaults to the Threads Window shown below. Other windows are easily viewed by simply selecting the specific THREADX object from this window.
The Threads Window
This window shows a list of all threads created by the current application (by calls to tx_thread_create) and some items pertaining to their current state. The currently active thread is indicated above the list. In this example, thread 2 is the currently executing thread.
The Timer Window shows the current state of all timers created by the application.
The Queue Window shows the current state of all queues created by the application.
The Semaphore Window shows the current state of all semaphores created by the application.
The Mutex Window shows the current state of all mutexes created by the application.
Event Flags Group Window
The Event Flags Group Window shows the current state of all event flags groups created by the application.
Block Pool Window
The Block Pool Window shows the current state of all block pools created by the application.
Byte Pool Window
The Byte Pool Window shows the current state of all byte pools created by the application.
Kernel Information Window
The Kernel Information Window shows the THREADX version information as well as build options used in building THREADX.
Thread Performance Counters Window
The Thread Performance Counters Window shows system-level performance information maintained by THREADX.