Using an RTOS on Cortex based microcontrollers

 

This course is an introduction to using a small footprint Real Time Operating System on a Cortex-M based microcontroller. Throughout the course we use the CMSIS-RTOS API which is designed to be a standard software interface for operating systems running on Cortex-M microcontrollers. 

The course is designed as a hands on workshop using the Keil MDK-ARM development software.  It is also ideally partnered with the "ARM Cortex Microcontroller" workshop, held the day before this course.  

The course is delivered by our resident ARM Specialist, Trevor Martin who is also a published author and recognised authority on Cortex-M cores.

What will be covered?

Cortex-M hardware support

A chance to explore the features provided in the Cortex-M processor to enable efficient use of an RTOS.

Using the CMSIS-RTOS API

This section takes a detailed look at the RTOS features available with CMSIS RTOS:

  • Thread and Time Management
  • Signals and interrupt handling
  • Semaphore and Mutex
  • Message and Mail Queues
  • Idle Task and Power management
  • RTOS errors and error handling
  • Configuring RTX

RTOS Techniques

This section introduces useful development techniques for Cortex-M devices.

  • Building systems with real time and event driven code
  • Software testing techniques
  • Advanced Power management and watchdog integration

Design Study

This section presents some guidelines for developing a successful RTOS based application 

The session then finishes off with a group exercise: a ‘paper’ study of several design cases and discussion.

RTOS Concepts and the CMSIS-RTOS API

In this section we look at the basic RTOS concepts including Thread based design, prioritising Threads,   context switching and the RTOS Kernel . We also introduce the Cortex Microcontroller Software Interface Standard (CMSIS) and the CMSIS –RTOS API specification.

Getting Started

Learn how to set up and configure a first RTOS project and download to a development board and debug.

Using the CMSIS-RTOS API

This section takes a detailed look at the RTOS features available with CMSIS RTOS: 

  • Thread and Time Management
  • Signals
  • Semaphore and Mutex
  • Message and Mail Queues
  • Idle Task and Power management
  • RTOS errors and error handling
  • Using the memory protection unit with the MPU

Scheduling and real time control

Here we look at the scheduling options available with the RTOS Kernel and their implications on program design. We also look at using an RTOS to design a system that includes real time and non real time tasks.

Software Testing with an RTOS

This section introduces a strategy for testing RTOS based applications on Cortex-M devices.

When, where and how much?

Dates:
The next dates are:

26th January 2017
29th March 2017
16th May 2017 - EXTRA DATE ADDED!!
7th June 2017
27th September 2017
15th November 2017

Venue:
Unless otherwise stated, this course is run at our UK office:

Hitex UK Office
Millburn Hill Road
University of Warwick Science Park
Coventry
CV4 7HS

Full directions can be found here.

Costs:
The workshop costs £125 which includes lunch and course materials.

How to book

In order to secure your place on this course, please book here.