Skip to content
CEC Semenster Undefined

Hands-On Develop an RTOS Application Using Freescale MQX

Charles J. Lord -
November 30,
2015
Introduction to MQX and 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 project. We will look at the Freescale MQX real-time operating system and the elements that we will be using in our project.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
December 1,
2015
RTOS System Development Setup
Our toolset will be an important part of making our project successful. We will investigate the tools that we will be using and how to install and set them up. Our toolkit will consist of the Kinetis Development System, Kinetis SDK (software development kit), and, of course, the MQX RTOS. All three are large, but free downloads are available from Freescale.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
December 2,
2015
Writing Our Board Support Package
One of the biggest drawbacks to "free"¬ù software is the lack of hands-on support for customization. Although you can buy support to assist in the creation of your board definitions (I/O, clocking, etc), there is good documentation to help us in this task. In this class, we will first define our project board and then write our own board support package (BSP) for our RTOS implementation.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
December 3,
2015
Reviewing and Writing Our Tasks
In this penultimate class, we will take what we learned so far and define the tasks of our simple 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
Listen/Download Archive (mp3)
December 4,
2015
Running and 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 to help us debug and make the application work. The finished code will be available to help course students follow along and compare with their own code.
Course Resources
Special Educational Materials
Listen/Download Archive (mp3)
charles-lord
Instructor
Charles J. Lord

Charles J. Lord, PE is an embedded systems consultant and trainer with over 40 years' experience in system design and development in medical, military, and industrial applications. For the last twelve years, he has specialized in the integration of communication protocols into clients' products, including USB, Ethernet, and low-power wireless including ZigBee, 6LoWPAN, LoRa, and Thread. He has taught classes in these protocols for Freescale, Renesas, various universities and conferences including ESC and Arm TechCon. He has been a design partner with Freescale/NXP, Microchip, and Renesas. He also teaches webinars for various clients on IoT and embedded systems topics. He earned his BS in electrical engineering from N.C. State University in Raleigh, N.C. and provides training and consulting services through his company, Blue Ridge Advanced Design, in Asheville, N.C. He is a licensed professional engineer in NC and a senior member of the IEEE. In his volunteer work at the IEEE, he has served at many levels from local to regional to board committees. He is currently the chair of the IEEE Western NC Section, NC Council and was general chair of IEEE SoutheastCon 1995 and 2017