Keil™, An ARM® Company

ULINK®2 User's Guide

RTX Kernel Event Viewer

The RTX Kernel Event Viewer window displayes the task switching of the running RTX system. The task switching information is transmitted via the dedicated Instrumentation Trace Macrocell (ITM) Stimulus Port 31.

To enable the RTX Kernel Event Viewer:

  • In Cortex-M Target Driver Setup window enable ITM Stimulus Port 31.

    ITM Stimulus - Port 0, Bit 31

    Core Clock and Trace Enable SettingsCheck that the Trace Enable checkbox is set, and make sure the Core Clock rate is correct for your application.

  • From your Target Debug Session, open the RTX Kernel window (Peripherals - RTX Kernel).

    Select RTX Kernel Window
  • In the RTX Kernel window, select the Event Viewer tab.

    RTX Kernel Window

    This window is updated on every task switch. Use In and Out buttons to zoom in/out the window. Click the All button to display all recorded events.

Note

  • The Active Tasks and System windows are only updated if in your Target debug Session under View - Periodic Window Update is checked.