Training Fee: 1.790 Euro plus VAT tax
Dates and Booking

freeRTOS in Theory and Practice

To provide a practical knowledge and understanding of real-time kernel usage. What are the advantages?
What are the trade-offs? Learn from an experienced trainer and take home a working knowledge of freeRTOS and the ability to use it effectively in your own embedded development project.

This 3-day training class uses hands-on exercises combined with instruction to illustrate the concepts of a real-time kernel. Examples using freeRTOS form a series of practical coding exercises designed to bring you quickly up to speed. The concepts and commands necessary to make effective use of freeRTOS are described through a combination of theory and „hands-on“ training.

This training is also available in German: freeRTOS in Theorie und Praxis

Target Group

software engineers, field engineers, (project) managers


  • Familiarity with embedded C concepts and programming
  • Ability to develop software using C syntax
  • Ability to use basic embedded compiler and debug tools
  • Basic knowledge of embedded processor development boards

Training Content


  • freeRTOS overview, market position, the „free“ in freeRTOS, understanding the freeRTOS license, software architecture, features
  • LPCXpresso IDE download and installation, importing an example workspace

Task Management

  • Tasks - Creation, states, priorities, the idle task, deletion
  • LPCXpresso Scheduling - Determinism, multitasking, endless loop, cyclic executives, issues with interrupts, non-preemptive,
    prioritized preemptive, rate monotonic, deadline, cooperative, hybrid

Queue Management

  • Creation, sending, receiving

Interrupt Management

  • Deferred interrupt processing, interrupt handlers, interrupt safe functions, task with interrupt synchronization,
    efficient queue usage even from within an interrupt, interrupt nesting

Resource Management

  • Mutual exclusion, critical sections, suspending/locking the scheduler, mutexes, priority inversion,
    priority inheritance, deadlock, gatekeeper tasks

Memory Management

  • Resource constrained memory allocation schemes, determining the amount of free memory remaining

Trouble Shooting

  • avoiding bugs and how to find those you did not avoid


  • User vs. privileged mode, access permissions, defining MPU regions, linker configuration, practical usage tips

The freeRTOS Download

  • Files and directories, demo apps, data types and coding style

Method and Training Materials

Presentation and practical examples with host (Laptops with Ubuntu 14.04.x LTS) and target system
(e.g.Beagle Bone Black Rev. C -
The electronic devices will be provided during the training. There will be one workspace for two participants.
A customized version of this training like freeRTOS on LPCXPresso 1769 is offered by freeRTOS.


Robert Berger