Operating System Settings (RTA-OSEK + Generic-OSEK)

Note

This instruction is valid for a target with RTA-OSEK or GENERIC-OSEK operating system.

  1. In the project editor, go to the "OS" tab.
  2. In the Preemp. Levels and Coop. Levels fields, set the number of cooperative and preemptive levels for the project.

    The maximum numbers depend on the implementation of the real-time operating system on the current target.

    For ASCET‑SE targets, two additional steps are required:

  3. Use the Seconds [s] and Ticks [t] options to specify whether the time is given in seconds or system ticks.

    The unit of the fields Period, Delay, etc., is set according to your selection.

  4. In the Tick Duration field, enter the system tick duration in nanoseconds.

    You have to provide the hardware configuration, e.g., via the initBoard() function. In addition, you have to define a counter object (SYSTEM_COUNTER) in the initial OIL file (i.e. conf.oil).

    The Tick Duration value is the interval at which the counter ticks. This value determines the raster for activations via alarm.

See also

OS Tab

Copying Operating System Settings