# Real Time Operating Systems with Brian Amos

- Show: [The Amp Hour](https://hardwarepodcasts.com/podcast/the-amp-hour)
- Published: 2022-03-14
- Length: 1h 25m
- Episode: 581
- Page: https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos
- Listen: https://theamphour.com/581-real-time-operating-systems-with-brian-amos/

## Summary

Chris Gammell, author of 'Hands-On RTOS with Microcontrollers', explains the practical application of Real-Time Operating Systems (RTOS) to host Brian Amos. They discuss when to use an RTOS versus a simple state machine or super loop, highlighting use cases like UI handling and complex communications. Gammell details how FreeRTOS manages task prioritization, memory segmentation, and inter-task communication using queues and semaphores. The conversation covers debugging strategies using tools like Segger Ozone and SystemView, and contrasts lightweight RTOS with full operating systems like Linux and Zephyr.

## Chapters

- [0:30](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=30) Introduction: Chris Gammell and Brian Amos
- [2:52](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=172) When to Use an RTOS vs. State Machines
- [8:30](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=510) RTOS vs. Full Operating Systems (Linux/Zephyr)
- [12:28](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=748) Memory Management and Task Stacks in FreeRTOS
- [22:00](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=1320) Ventilator Example: Task Prioritization and Concurrency
- [33:17](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=1997) Historical Context: TinyOS, Contiki, and Abstraction
- [54:15](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=3255) Debugging RTOS with Ozone and SystemView
- [1:05:33](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=3933) Book Exercises and STM32 Nucleo Boards
- [1:12:06](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=4326) Troubleshooting and Logic Analyzer Instrumentation
- [1:17:07](https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos#t=4627) Hybrid Systems: Microcontrollers and Embedded Linux

## Topics

- [Embedded firmware](https://hardwarepodcasts.com/topic/embedded-firmware)
- [Microcontrollers & dev platforms](https://hardwarepodcasts.com/topic/microcontrollers-and-platforms)
- [Debugging & failure analysis](https://hardwarepodcasts.com/topic/debugging-and-failure-analysis)
- [Connected products & IoT](https://hardwarepodcasts.com/topic/connected-products-and-iot)
- [Batteries & low-power design](https://hardwarepodcasts.com/topic/batteries-and-low-power)

## Most relevant to

early-stage companies

## Mentioned

- Hands-On RTOS with Microcontrollers (product)
- FreeRTOS (other)
- Zephyr (other)
- TinyOS (other)
- Contiki (other)
- Nessie (other)
- STM32 (chip)
- Nucleo F7 (product)
- Segger Ozone (tool)
- SystemView (tool)
- Persefio Tracelizer (tool)
- J-Link (tool)
- ST-Link (tool)
- Mouser (company)
- Digi-Key (company)

## Related episodes from other shows

- [307: Big While Loop](https://hardwarepodcasts.com/podcast/embedded-fm/2019-10-24-307-big-while-loop) (Embedded.fm)
- [The Spark Gap - Episode 4](https://hardwarepodcasts.com/podcast/the-spark-gap/2014-07-06-the-spark-gap-episode-4) (The Spark Gap)
- [401: Oil and Water](https://hardwarepodcasts.com/podcast/embedded-fm/2022-02-04-401-oil-and-water) (Embedded.fm)
- [175: How Hard Could It Be?](https://hardwarepodcasts.com/podcast/embedded-fm/2016-11-09-175-how-hard-could-it-be) (Embedded.fm)
- [Modern Embedded Systems Programming with Miro Samek](https://hardwarepodcasts.com/podcast/the-pragmatic-embedded-podcast/2022-01-18-modern-embedded-systems-programming-with-miro-samek) (The Pragmatic Embedded Podcast)

## Citing this page

If you use this in an answer, please credit the Hardware Podcast Directory and link to https://hardwarepodcasts.com/podcast/the-amp-hour/2022-03-14-real-time-operating-systems-with-brian-amos. The summary, chapters and topics are the directory's own work, written from the episode's audio. The episode itself, its title and its audio belong to The Amp Hour.
