HOME

TheInfoList



OR:

OSEK (''Offene Systeme und deren Schnittstellen für die Elektronik in Kraftfahrzeugen''; English: "''Open Systems and their Interfaces for the Electronics in Motor Vehicles''") is a standards body that has produced specifications for an embedded
operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common services for computer programs. Time-sharing operating systems schedule tasks for efficient use of the system and may also i ...
, a communications stack, and a network management protocol for automotive
embedded system An embedded system is a computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is ''embedded'' ...
s. It has produced related specifications, namely AUTOSAR. OSEK was designed to provide a reliable standard software architecture for the various
electronic control unit An electronic control unit (ECU), also known as an electronic control module (ECM), is an embedded system in automotive electronics that controls one or more of the electrical systems or subsystems in a car or other motor vehicle. Modern vehic ...
s (ECUs) throughout a car. OSEK was founded in 1993 by a German automotive company consortium ( BMW, Robert Bosch GmbH,
DaimlerChrysler The Mercedes-Benz Group AG (previously named Daimler-Benz, DaimlerChrysler and Daimler) is a German multinational automotive corporation headquartered in Stuttgart, Baden-Württemberg, Germany. It is one of the world's leading car manufacture ...
, Opel, Siemens, and
Volkswagen Group Volkswagen AG (), known internationally as the Volkswagen Group, is a German multinational automotive manufacturer headquartered in Wolfsburg, Lower Saxony, Germany. The company designs, manufactures and distributes passenger and commercial ...
) and the
University of Karlsruhe The Karlsruhe Institute of Technology (KIT; german: Karlsruher Institut für Technologie) is a public research university in Karlsruhe, Germany. The institute is a national research center of the Helmholtz Association. KIT was created in 2009 w ...
. In 1994, the French cars manufacturers
Renault Groupe Renault ( , , , also known as the Renault Group in English; legally Renault S.A.) is a French multinational automobile manufacturer established in 1899. The company produces a range of cars and vans, and in the past has manufacture ...
and
PSA Peugeot Citroën The PSA Group (), legally known as Peugeot S.A. (Peugeot Société Anonyme, trading as Groupe PSA; formerly known as PSA Peugeot Citroën from 1991 to 2016) was a French multinational automotive manufacturing company which produced automobiles ...
, which had a similar project called VDX (Vehicle Distributed eXecutive), joined the consortium. Therefore, the official name was OSEK/VDX and OSEK was registered trademark of Continental Automotive GmbH (until 2007:
Siemens AG Siemens AG ( ) is a German multinational conglomerate corporation and the largest industrial manufacturing company in Europe headquartered in Munich with branch offices abroad. The principal divisions of the corporation are ''Industry'', ''E ...
).


Standards

OSEK is an open standard, published by a consortium founded by the
automobile industry The automotive industry comprises a wide range of companies and organizations involved in the design, development, manufacturing, marketing, and selling of motor vehicles. It is one of the world's largest industries by revenue (from 16 % such ...
. Some parts of OSEK are standardized in ISO 17356. * ISO 17356-1:2005 Road vehicles—Open interface for embedded automotive applications—Part 1: General structure and terms, definitions and abbreviated terms * ISO 17356-2:2005 Road vehicles—Open interface for embedded automotive applications—Part 2: OSEK/VDX specifications for binding OS, COM and NM * ISO 17356-3:2005 Road vehicles—Open interface for embedded automotive applications—Part 3: OSEK/VDX Operating System (OS) * ISO 17356-4:2005 Road vehicles—Open interface for embedded automotive applications—Part 4: OSEK/VDX Communication (COM) * ISO 17356-5:2006 Road vehicles—Open interface for embedded automotive applications—Part 5: OSEK/VDX Network Management (NM) * ISO 17356-6:2006 Road vehicles—Open interface for embedded automotive applications—Part 6: OSEK/VDX Implementation Language (OIL)


before ISO

OSEK VDX Portal * OSEK/VDX Operating system(OS) : "event-triggered" Real-time kernel * OSEK/VDX Communication(COM) : Application level communication protocol * OSEK/VDX Newark Management(NM) : Network management * OSEK/VDX OSEK Implementation Language(OIL) : Offline application description and configuration language * OSEK/VDX OSEK RTI(ORTI) : Debugging interface * OSEK/VDX Binding Specification: Binding document * MODISTARC ** OSEK/VDX Conformance Testing Methodology ** OSEK/VDX Operating System Test Plan ** OSEK/VDX Operating System Test Procedure ** OSEK/VDX Communication Test Plan ** OSEK/VDX Communication Test Procedure ** OSEK/VDX Communication Test Suites ** OSEK/VDX Network Management Test Plan ** OSEK/VDX Network Management Test Procedure ** OSEK/VDX direct Network Management Test Suites ** OSEK/VDX indirect Network Management Test Suites


OSEK Functioning

The OSEK standard specifies interfaces to multitasking functions—generic I/O and peripheral access—and thus remains architecture dependent. OSEK is expected to run on microcontroller without
memory management unit A memory management unit (MMU), sometimes called paged memory management unit (PMMU), is a computer hardware unit having all memory references passed through itself, primarily performing the translation of virtual memory addresses to physical a ...
( MMU), which is favored for
safety-critical system A safety-critical system (SCS) or life-critical system is a system whose failure or malfunction may result in one (or more) of the following outcomes: * death or serious injury to people * loss or severe damage to equipment/property * environme ...
s such as cars, therefore features of an OSEK implementation will be usually configured at compile-time. The number of application tasks, stacks, mutexes, etc. is statically configured; it is not possible to create more at run time. OSEK recognizes two types of tasks/threads/compliance levels: basic tasks and enhanced tasks. Basic tasks never block; they "run to completion" (coroutine). Enhanced tasks can sleep and block on event objects. The events can be triggered by other tasks (basic and enhanced) or interrupt routines. Only static priorities are allowed for tasks. First In First Out (FIFO) scheduling is used for tasks with equal priority. Deadlocks and
priority inversion In computer science, priority inversion is a scenario in scheduling in which a high priority task is indirectly superseded by a lower priority task effectively inverting the assigned priorities of the tasks. This violates the priority model that h ...
are prevented by
priority ceiling In real-time computing, the priority ceiling protocol is a synchronization protocol for shared resources to avoid unbounded priority inversion and mutual deadlock due to wrong nesting of critical sections. In this protocol each resource is assigned ...
(i.e. no
priority inheritance In real-time computing, priority inheritance is a method for eliminating unbounded priority inversion. Using this programming method, a process scheduling algorithm increases the priority of a process (A) to the maximum priority of any other proce ...
). The specification uses ISO/ANSI-C-like syntax; however, the implementation language of the system services is not specified. An
Application Binary Interface In computer software, an application binary interface (ABI) is an interface between two binary program modules. Often, one of these modules is a library or operating system facility, and the other is a program that is being run by a user. An ...
(ABI) is also not specified. OSEK-OS
scheduling A schedule or a timetable, as a basic time-management tool, consists of a list of times at which possible tasks, events, or actions are intended to take place, or of a sequence of events in the chronological order in which such things are ...
can be configured as: * Preemptive, a task can always be preempted by means of a higher priority task * Non-preemptive, a task can only be preempted in prefixed compile-time points (cooperative scheduling) * Mixed mode scheduling * Groups of tasks (cooperative)


State of the art


AUTOSAR

Currently the AUTOSAR consortium reuses the OSEK specifications as part of the Classic Platform. The operating system is a backwards compatible superset of OSEK OS which also covers the functionality of ''OSEKtime'', and the communication module is derived from OSEK COM. ''OSEKtime'' specifies a standard for optional time-triggered
real-time operating system A real-time operating system (RTOS) is an operating system (OS) for real-time applications that processes data and events that have critically defined time constraints. An RTOS is distinct from a time-sharing operating system, such as Unix, which m ...
s. If used, ''OSEKtime'' triggered callbacks run with higher priority than OSEK tasks.


Research

There is also a limited amount of active research, e. g. in the area of systems engineering and OSEK / VDX RTOS or in relation to the compatibility between OSEK and AUTOSAR.


Quality

In a 48-page report from 2003 by the
Software Engineering Institute The Software Engineering Institute (SEI) is an American research and development center headquartered in Pittsburgh, Pennsylvania. Its activities cover cybersecurity, software assurance, software engineering and acquisition, and component capabi ...
(SEI) at Carnegie Mellon University (CMU), the specifications were examined and possible weaknesses in the areas of alarm and event mechanisms were identified with possible solutions. The potential of OSEK was also mentioned.


Implementations

Note: A limited number of implementations and vendors exist. Most products are only commercially sold and licensed, others are freely available with open-source license for a limited number of controllers. See also:
Comparison of real-time operating systems This is a list of real-time operating systems (RTOSs). This is an operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer p ...
.


Open-source derivates

''Note: Open-source developments are often very limited in scope (targets, conformance classes, characteristics) and are not verified against the specifications unless told otherwise.'' * ArcCore AUTOSAR OS by Arctic Core (now part of
Vector Informatik Vector Informatik develops software tools and components for networking of electronic systems based on the serial bus systems CAN, LIN, FlexRay, MOST, Ethernet, AFDX, ARINC 429,
) **License: Dual GPL/commercial * Firmware de la CIAA (former FreeOSEK), specificall
Firmware v1
(hosted on GitHub) *OSEK b
Chalandi Amine
hosted on GitHub *
Lego Mindstorms Lego Mindstorms is a hardware and software structure which develops programmable robots based on Lego building blocks. Each version includes computer Lego bricks, a set of modular sensors and motors, and Lego parts from the Technic line to ...
implementations:
ev3OSEK
(last release hosted on GitHub: May 2016) ** nxtOSEK (last release hosted on
SourceForge SourceForge is a web service that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, mirroring ...

nxtOSEK/JSP
: January 2013) * TOPPERS Project (''Toyohashi OPen Platform for Embedded Real-time Systems)'' **Release: ATK1 (2008) **Release: ATK2 (2013) **Targets: m68k, sh1, sh2, sh3, h8, arm 4, m32r, MicroBlaze, tms320c54x, xstormy16, mips3,
Nios II Nios II is a 32-bit embedded processor architecture designed specifically for the Altera family of field-programmable gate array (FPGA) integrated circuits. Nios II incorporates many enhancements over the original Nios architecture, making it mo ...
, v850, rh850 **License: MIT o
TOPPERS Lisence

Trampoline
by IRCCyN (Research Institute in Communications and Cybernetics of Nantes) **Targets: Infineon C166, PowerPC **License: LGPL


Defunct, not active, unknown status


mKernel
for Microchip PIC18F4550 (Former ''https://sourceforge.net/projects/mkernel/ - not accessible or available as of October 2021'')
openOSEK
(no files, hosted on
SourceForge SourceForge is a web service that offers software consumers a centralized online location to control and manage open-source software projects and research business software. It provides source code repository hosting, bug tracking, mirroring ...
, last update: 2013) * PicOS18 etc. - formerly available and hosted at picos18.com
Trioztech OSEK
was a commercial implementation


Further reading


Berkely EE249 on OSEK
(Presentation in PDF formatting) *Christian Michel Sendis.
OSEK/RTOS & OSEKturbo Introduction
(PDF, March 2009, NXP Semiconductors)'' * Joseph Lemieux: ''Programming in the Osek/VDX Environment.'' Mcgraw-Hill Professional, 2001, ISBN 1578200814


See also

* AUTOSAR * COMASSO association (AUTOSAR BSW consortium) *
Comparison of real-time operating systems This is a list of real-time operating systems (RTOSs). This is an operating system An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer p ...
*
Controller Area Network A Controller Area Network (CAN bus) is a robust vehicle bus standard designed to allow microcontrollers and devices to communicate with each other's applications without a host computer. It is a message-based protocol, designed originally for mu ...
(CAN) *
Embedded system An embedded system is a computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is ''embedded'' ...
*
IEC 61508 IEC 61508 is an international standard published by the International Electrotechnical Commission consisting of methods on how to apply, design, deploy and maintain automatic protection systems called safety-related systems. It is titled ''Functio ...
is a standard for programmable electronic safety-related systems. *
ISO 26262 ISO 26262, titled "Road vehicles – Functional safety", is an international standard for functional safety of electrical and/or electronic systems that are installed in serial production road vehicles (excluding mopeds), defined by the Interna ...
Road vehicle safety norm *
Safety standards Safety standards are standards designed to ensure the safety of products, activities and processes, etc. They may be advisory or compulsory and are normally laid down by an advisory or regulatory body that may be either voluntary or statutory. In ...


References

{{reflist


External links


AUTOSAR Homepage
* Origina
OSEK-VDX
Operating system APIs Embedded operating systems Automotive software Standards of Germany