Select Page
4,712 reviews

RTOS-Grundlagen und Anwendung: Mechanismen und deren Einsatz in Laufzeit-Architekturen für Embedded- und Echtzeitsysteme

 

Angesichts steigender Komplexität in Embedded-Software-Applikationen und immer leistungsfähigerer Hardware werden auch immer mehr Echtzeitbetriebssysteme in die Software mit eingebunden. Der Einsatz von Echtzeit-Betriebssystemen stellt neue Herausforderungen an die Entwicklung.

Allgemeine Einführung in Echtzeitbetriebssysteme

  • Wichtige Grundbegriffe (Betriebssystem, Echtzeit, Task, Multitasking, Scheduler)
  • Klassifikation von Embedded-Systemen
  • Klassifikation von Betriebssystem-Arten
  • Anforderungen an Betriebssystem, Hardware, Entwicklungstools
  • Lizenzmodelle
  • Betriebssystem-Abstraktionsschicht (OSAL Operating System Abstraction Layer)
  • POSIX (pThread)
  • Nutzen, Vorteile und Nachteile beim Betriebssystem-Einsatz
  • Praxisbeispiel: Aufteilung einer Applikation in Tasks
Prozess-/Thread-/Task-Management
  • Differenzierung zwischen Prozess, Task und Thread
  • Taskzustände und Übergänge
  • Taskeigenschaften und Mehrfachinstanziierung
  • Spezifische Tasks
  • Task-Kontext-Umschaltung und Hook-Routinen
  • Designaspekte für Tasks
  • Scheduler und deren Algorithmen (Endless Loop, Time-triggerd, Priority, Time-slice, Round-Robin, EDF Earliest Deadline First)
  • Scheduler-Funktionalität und Designaspekte
  • Die richtige Scheduler-Auswahl treffen
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiele
  • Übung: Sie programmieren eine Task, instanziieren diese zweimal mit unterschiedlichen Prioritätskombinationen und werten das Verhalten aus
Interrupt Management
  • Interrupt-Bearbeitung mit und ohne Betriebssystem
  • Interrupt-Latenzzeit und Interrupt-Blockierzeit
  • Priorisierung
  • Interrupt-Serviceroutinen
  • Interrupt-Threads/Tasks
  • Designhinweise
  • API (Application Programming Interface) Beispiele
  • Übung: Sie programmieren eine Interrupt-Service-Routine und eine Task, um einen AD-Wandler zu servicen
Time Management
  • Systemtick und Konfiguration
  • Delay-, Timeout-, Intervall-, Software-Watchdog-, Alarm-Timer
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiele
  • Übung: Sie programmieren eine Intervall-Timer-gesteuerte Taskausführung
Koordinationsmechanismen: Synchronisation
  • Events, Signals: global, local, einzeln, als Gruppe, mit / ohne Parameter
  • Semaphore, Promise und Future
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiele
  • Übung: Sie programmieren eine Synchronisation zwischen einer Interrupt-Service-Routine und einer Task
Koordinationsmechanismen: Ressourcen-Management
  • Race Conditions
  • Ressource: Definition, Granularität und Blockierzeiten
  • Semaphore, Mutex, Critical Section, Condition Variable, Spinlock
  • Problemsituationen: Deadlock und Priority Inversion
  • Lösungen: Priority Inheritance, Priority Ceiling u.a.
  • Reader/ Writer Patterns
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiele
  • Übung: Sie programmieren einen geschützten Zugriff von zwei Tasks auf eine gemeinsam genutzte Ressource
Kommunikationsmechanismen
  • Nachrichtenkonzepte: System-lokal und System-übergreifend
  • Shared-Memory, Mailbox, Queue, Message Buffer, Pipe, Message Based, Socket
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiele
  • Übung: Sie programmieren die Kommunikation zwischen einer Interrupt-Service-Routine und einer Task sowie zwischen zwei Tasks mit dem Mailbox-Konzept
Speichermanagement
  • Speichersegmente (BSS, Stack, Heap)
  • Stack-Überwachung
  • Dynamisches Speichermanagement
  • Pool-Allocation-Pattern: Speicherpools und Speicherblöcke
  • MPU (Memory Protection Unit) und MMP (Memory Management Unit) Unterstützung
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiel
  • Risiken erkennen und Stolpersteine vermeiden
Input/Output Management
  • Softwareschichten-Architektur
  • Treiberkonzepte
  • Beispiele mit serieller und Ethernet-Kommunikation
  • Typische Anwendungen in Embedded-Software-Applikationen
  • API (Application Programming Interface) Beispiel
Debugging auf der Ebene von Betriebssystem-Mechanismen
  • Trace auf Betriebsmittelebene
  • Vorstellung und Bewertung verschiedener Trace-Möglichkeiten und Darstellungsformen
  • Vorführung mit Logik-Analyzer und professionellen Trace Tools (Percepio Tracealyzer und ARM Keil MDK)
Vorgehensweise beim Entwurf von Embedded- und Echtzeitsoftware
  • Von der Idee zur fertigen Laufzeitarchitektur
  • Laufzeitarchitektur-Pattern und deren Einsatz für konkrete Aufgabenstellungen
  • Transformation einer bestehenden Software-Architektur ohne Betriebssystem auf eine mit Betriebssystem unter optimaler Ausnutzung der Betriebssystem-Mechanismen
  • Vorstellung und Vergleich verschiedener Laufzeitarchitektur-Konzepte - mit, aber auch ohne Betriebssystem
  • Vorhersagbarkeit und Berechenbarkeit der verschiedenen Laufzeitarchitektur-Konzepte
  • Auswahlhilfen für das "richtige" Laufzeitarchitektur-Konzept
  • Praxisbeispiel Messgeräte-Applikation
  • Übung: Sie entwickeln auf Basis von ausformulierten Anforderungen und einer Software-Architektur eine dazu passende Laufzeitarchitektur für ein real existierendes Embedded-System
Multicore- und Multiprozessor-Aspekte
  • Hardware- und Software-Architekturen
  • Aufgabenverteilung
  • Möglichkeiten des Betriebssystem-Einsatzes
  • Virtualisierung und Hypervisor
  • Interrupt- und Treiber-Konzepte
  • Wichtige Designaspekte
Dokumentation und Kommunikation
  • Die geeignete Darstellungsform einer Laufzeitarchitektur
  • Auszüge aus der UML (Unified Modeling Language)
  • Praxistipps
  • Übung: Sie nutzen Notationen und Diagramme der UML zur Darstellung der Laufzeitarchitektur
Betriebssystem-Abstraktion (OSAL Operating System Abstraction Layer)
  • Nutzendarstellung, Vor- und Nachteile
  • Programmierung
  • Praxisbeispiel mit FreeRTOSTM
Betriebssystem-Auswahlhilfen und aktuelle Produktübersicht
  • Leitfaden zur Betriebssystem-Auswahl
  • Praxistipps zum Vergleich von Betriebssystemen
  • Aktuelle Produktübersicht für Embedded-Software
  • Checkliste mit wichtigen Auswahlkriterien
Praktische Übungen
  • In der durchgängigen Programmierübung nutzen Sie Betriebssystem-Mechanismen, um Schritt für Schritt eine Messgeräte-Applikation zu entwickeln.
  • Zur Übungsdurchführung verwenden Sie das Arm Keil MDK (Microcontroller Development Kit) zusammen mit einer realen Hardware basierend auf einem Arm Cortex® Mikrocontroller.
  • Als Echtzeit-Betriebssystem wählen Sie zwischen FreeRTOS™ oder dem CMSIS-RTOS Standard als Betriebssystem-Abstraktion.
  • Sie entwickeln und dokumentieren eine Laufzeitarchitektur für eine komfortable Elektromotor-Steuerung und setzen dazu Betriebssystem-Mechanismen ein.
  • Zur Übungsdurchführung nutzen Sie wahlweise den Enterprise Architect von Sparx Systems oder Papier und Bleistift.
MicroConsult Plus:
  • Sie erhalten von uns Ihre Übungsverzeichnisse und Lösungsbeispiele für alle Übungsaufgaben.
  • Sie erhalten zur Messgeräte-Applikation den Programmcode und ein UML-Modell sowie zur Elektromotor-Steuerung ebenfalls ein UML-Modell.
  • Sie erhalten eine Tool- und Software-Komponentenübersicht inklusive einer aktuellen Betriebssystem-Übersicht.
  • Sie erhalten zudem eine Checkliste mit Betriebssystem-Auswahlkriterien.
  • Sie bekommen hilfreiche Notationsübersichten für UML (Unified Modeling Language) und SysML (Systems Modeling Language).

Sie kennen nach dem RTOS-Grundlagen-Training die Mechanismen moderner Echtzeit-Betriebssysteme und können damit neue Software-Laufzeitarchitekturen entwickeln und bestehende warten - unabhängig von dem konkreten Echtzeitbetriebssystem-Produkt.
Sie können Software-Laufzeitarchitekturen dokumentieren und kommunizieren und eine fundierte Betriebssystem-Auswahl treffen.
Mit dem Betriebssystem und zusätzlichen Kommunikationsstacks machen Sie Ihr System IoT-fähig.

Der RTOS-Kurs richtet sich an Programmierer, Software-Entwickler, Software-Designer und Software-Architekten, die aktuell oder zukünftig ein Echtzeitbetriebssystem in ihrer Embedded-Software-Applikation einsetzen.

Grundkenntnisse über Mikrocontroller sowie Programmierkenntnisse in C.

Empty do not delete
Onsite training: Individual workshops – tailored precisely to your project

In tailor-made workshops, we combine your specific project tasks with our training offerings. We take your requirements regarding content, time, location, duration, technical environment, and delivery method into account.

We will be happy to answer your questions.

Contact

Coaching with added value - expert knowledge for your project success

Our coaching offers have the great advantage that our experts contribute their knowledge and experience directly to your solution process and thus directly contribute to your project success.

Coaching Overview

= Guaranteed to run
Date Location Language Price Duration
27.07. - 30.07.2026 Live Online German 2.600,00 € 4 Days
19.10. - 22.10.2026 Munich German 2.600,00 € 4 Days

*Price per participant, in Euro plus VAT.
Training code: RTOS-AR

Empty do not delete

All inclusive!

The training price includes:
Lunch, soft drinks, tea and coffee, fruit, snacks,
training documentation and your MicroConsult training certificate.

Seminar location

In-person training:

MicroConsult Academy GmbH
Charles-de-Gaulle-Str. 6
81737 Munich, Germany
+49 89 450617-71

>> Directions and hotel information

Live online trainings:

Take place online via WebEx or Zoom.

Organizational details

Reservation / booking

You can make a non-binding training seat reservation at any time; we will keep the reservation for you for up to max. three weeks before the training starts.

To confirm your participation in a training, please submit a binding booking.

You can make the non-binding reservation as well as the binding booking online on the respective training page (button "Booking" or "Non-binding reservation").

Please also note our Bonus program when booking several trainings and/or participants at once.

Seminar location

MicroConsult Academy GmbH
Charles-de-Gaulle-Str. 6
81737 Munich, Germany
Phone: +49 89 450617-71 >> Directions

Training times (face-to-face training)

Please note:
Some trainings have different start/end times, so please take note of the times we send you with our order confirmation before the training.

One-day training: 08:30 – 17:00 h

Two-day training: Day 1: 9:30 – 17:30 h / Day 2: 8:30 – 17:00 h

Three-day training: Day 1: 9:30 – 17:30 h / Day 2-3: 8:30 – 17:00 h

Four-day training: Day 1: 9:30 – 17:30 h / Day 2-4: 8:30 – 17:00 h

4.5-day training: Day 1: 9:30 – 17:30 h / Day 2-4: 8:30 – 17:00 h / Last day: 8:30 – 13:00 h

Five-day training: Day 1: 9:30 – 17:30 h / Day 2-4: 8:30 – 17:00 h / Last day: 8:30 – 15:00 h

The structure of our live-online trainings is different to face-to-face trainings. Please refer to our registration confirmation for training times.

Training certificate

After the training, you will receive your MicroConsult Training Certificate to document the know-how you acquired.

Training documentation

High-quality, extensive training documentation is included in the training price.

Material

All you have to bring is thirst for knowledge and curiosity. Our seminar rooms are fully equipped with everything needed to run the training - including your training documentation and stationery.

Catering

Hospitality is important to us. That's why we invite you to lunch at a nearby restaurant. We've also taken care of your refreshments: hot and cold drinks are available all day, and so are snacks and fresh fruit.

Training environment

Our training rooms offer an open and friendly atmosphere and feature high-quality and modern training equipment.

Company Image Training Room New

Location

The MicroConsult training center is conveniently located and can be reached easily be public transport or by car. Several hotels are in close vicinity.

Click here for directions and hotel information.

 

Do you need assistance?

Please don't hesitate to contact us. For questions concerning the organization of face-to-face or online trainings, please contact our Service Office, phone +49 (0)89 450617-71. Or send an e-mail to training@microconsult.com.

Bonus program

The group advantage: Binding registration of a group for a training

Number of persons

Amount of the discount

2 to 3 people 5 %
4 to 5 people 10 %
from 6 people 15 % also when split into 2 dates
more than 8 people upon request

The training bonus: Binding registration of a person for several training courses

Number of training sessions

Amount of the discount

2 training sessions 5 %
3 training sessions 8 %
More than 3 training sessions upon request

What else is important

This bonus scheme applies exclusively to our open training sessions.

To take advantage of the special conditions, a closed, binding registration and the participation of all booked persons on the agreed dates are required. The basis for the calculation is the current price list on www.microconsult.de.

The individual discount models cannot be combined with one another. A date change by us or the participation of a substitute participant will not affect the terms and conditions.

Valid only for direct bookings through us; our bonus program does not apply to bookings through external training portals.

Please contact us, our Service Office is available at +49 (0)89 450617-71. Or you can also use the Contact form.

Together we will find the optimal solution for you!

Related trainings

Customer testimonials

Do need additional information?
Feel free to get in touch!

Nora Pohle

Sales

kontakt@microconsult.com

+49 89 450617 - 71

Your benefits at a glance:

  • 100 % practical: You will learn what really matters in everyday project work – with real tools and proven methods from experts from the real project world.
  • How and where you want: Choose between live online or face-to-face training, conducted in our training center or at your location.
  • Small groups, big impact: Maximum 12 participants – so there is room for your questions, your topics, your practice.
  • Understandable instead of intellectual: Complex content becomes tangible – with examples, interactive exercises and a clear thread.
  • Combinable: Ideal as an individual seminar or part of a training series.
  • Sustainable learning success: You will receive high-quality documents for further work.
  • Flexible participation: Cancel or rebook free of charge up to 3 weeks before the appointment – your booking remains transferable.