Skip to content
CEC Semenster Undefined

Hands-On Develop an RTOS Application Using freeRTOS

Charles J. Lord -
February 22,
2016
Introduction to freeRTOS / RTOS Refresher
In this leadoff class, we will review the basics of how a task-switching RTOS operates and the design criteria we need to begin our hands-on design project. We will look at the freeRTOS real-time operating system and the elements that we will be using in our project.
Course Resources
Special Educational Materials
Nucleo Ecosystem - PTM
STMicroelectronics? STM32 Nucleo boardOptional SparkFun ProtoShield KitSTMVLDiscovery kitAtollic TrueStudio integrated development environmentListen/Download Archive (mp3)
February 23,
2016
RTOS System Development Setup
Our toolset will be an important part of making our project successful. We will install and investigate these tools, followed by learning how to set them up, consisting of the STMicro STM32 Nucleo and the Atollic TrueStudio IDE, in tandem with the freeRTOS download.
Course Resources
Special Educational Materials
Nucleo Ecosystem - PTM
STMicroelectronics? STM32 Nucleo boardOptional SparkFun ProtoShield KitSTMVLDiscovery kitAtollic TrueStudio integrated development environmentListen/Download Archive (mp3)
February 24,
2016
Changing Processors & Making It Work
A common challenge of RTOS implementations is their limitation to certain chips, development boards, and toolchains. We will bring up our initial solution using the STM32F100 board and then look at how we will have to modify the code to work with our designated STM32 Nucleo processor and board.
Course Resources
Special Educational Materials
Nucleo Ecosystem - PTM
STMicroelectronics? STM32 Nucleo boardOptional SparkFun ProtoShield KitSTMVLDiscovery kitAtollic TrueStudio integrated development environmentListen/Download Archive (mp3)
February 25,
2016
Defining and Running the Project
In this penultimate class, we will take what we learned so far and define the tasks of our project. We will look at some simple "lightweight"¬ù elements that we may choose for our project, such as messaging, events, semaphores, and mutexes.
Course Resources
Special Educational Materials
Nucleo Ecosystem - PTM
STMicroelectronics? STM32 Nucleo boardOptional SparkFun ProtoShield KitSTMVLDiscovery kitAtollic TrueStudio integrated development environmentListen/Download Archive (mp3)
February 26,
2016
Troubleshooting Our RTOS Design
Now that our code is written, we will need to test and debug it. In this final class, we will see how the debugger works with the RTOS to provide task-level debugging. The finished code will be available to help course students follow along and compare with their own code.
Course Resources
Special Educational Materials
Nucleo Ecosystem - PTM
STMicroelectronics? STM32 Nucleo boardOptional SparkFun ProtoShield KitSTMVLDiscovery kitSTMVLDiscovery kitAtollic TrueStudio integrated development environmentListen/Download Archive (mp3)
Instructor
Charles J. Lord