Build Your Own RealTime OS (RTOS 1) From Ground Up™ on ARM 1
Build Your Own RealTime Operating Systems from first principles
Watch Promo
This course teaches you how to build a Real-Time Operating Systems through intensive practice and theory. It starts by getting you excited through an introduction to the internals of a Real-Time Kernel on ARM Processors, which you shall implement yourself in code.Then we move on to learn all there is about Real-Time Operating Systems, their various parts, how they work and then we finally build our own Real-Time Operating System exploring different scheduling algorithms and Inter-Thread communication tools.
At the end of this course you should be able to build your own Real-Time Operating System from scratch, give your own lecture on Real-Time Operating Systems, be able to build a Round-Robin Scheduler, be able to build a Periodic Scheduler, be able to calculate the CPU utilization of your RTOS, be able to build an OS Kernel etc. Please see the course curriculum section to find out all the amazing content awaiting you.
Who is this course for ?
- This course is for anyone seeking to improve their embedded firmware development skills. This course focuses on how to apply object-oriented principles to embedded firmware development.
Course Content
- Build a Real-Time Operating System from Scratch
- Build Round-Robin Schedulers
- Build Cooperative Schedulers
- Build Periodic Schedulers
- Build First Come First Served Scheduler
- Build Rate Monotonic Schedulers
- Build a board support package from scratch
- Calculate the CPU Utilization of an RTOS
- Understand the OS Support Features of the Cortex-M Architecture
- Understand the Internals of an RTOS Kernel
- Be Implement to implement and explain popular scheduling algorithms
Frequently Asked Questions
Course Curriculum
-
StartProgramming : Developing the LED Driver (PartI) (17:34)
-
StartProgramming : Developing the LED Driver (PartII) (22:02)
-
Start[Keil uVision] : Programming : Developing the LED Driver (15:32)
-
StartProgramming : Developing the UART Driver (Part I) - Approach (14:20)
-
StartProgramming : Developing the UART Driver (Part II) - Initialization Function (20:53)
-
StartProgramming : Developing the UART Driver (Part III) - Write Function (12:19)
-
Start[Keil uVision] : Programming : Developing the UART Driver (6:17)
-
StartProgramming : Developing the Timebase Initialization Function (16:10)
-
StartProgramming : Developing the Timebase Utility Functions (11:01)
-
Start[Keil uVision] : Programming : Developing the Timebase (3:38)
-
StartSource Code Download
Your Instructor
EmbeddedExpertIO represents a vibrant collective dedicated to the mastery of sophisticated embedded systems software development for professionals.
Our core objective is to equip individuals and organizations with the indispensable skills to thrive in the swiftly evolving embedded systems sector. We achieve this by providing immersive, hands-on education under the guidance of seasoned industry specialists. Our ambition is to emerge as the favored learning platform for embedded systems development professionals across the globe.
Build Your Own RealTime OS (RTOS 1) From Ground Up™ on ARM 1
Build a small Cortex-M real-time kernel and see how threads, context switching, and round-robin scheduling work internally.
About this course
This first RTOS course starts with a board-level timebase and introduces scheduling from the perspective of the running processor. You’ll work through the startup sequence, stacks, and thread control blocks.
Build a round-robin kernel and trace how it launches, selects, and switches between threads.
What you’ll be able to do
Explain the kernel and scheduler
- Distinguish a thread, a process, and an interrupt service routine.
- Explain how Cortex-M starts and which stack pointer software can use.
- Describe what a thread control block stores.
- Explain what must be saved and restored during a context switch.
- Describe how round-robin scheduling uses a time quantum.
- Connect scheduling decisions to the kernel’s timing and thread state.
Build a small Cortex-M kernel
- Implement the UART and timebase functions used by the project.
- Practise switching CPU context manually.
- Set up the memory and stack state for thread execution.
- Implement the thread control block.
- Write the kernel launch and round-robin scheduling logic.
- Run multiple threads and inspect the switching behaviour.