10: Debugging real-time operating systems (RTOS)

Abstract

This chapter is about debugging real-time software (and hardware) in the presence of a real-time operating system, or RTOS. It compares the nature of the RTOS with more familiar operating systems, such as Windows or Linux, and then goes on to discuss how the nature of the RTOS leads to debugging issues that may be difficult to find when a system is running in real time and can’t be stopped.

Keywords

RTOS; LTspice; Synchronization; Inversion; Interrupts; Exceptions; Threads; NDA; Priority Inversion; ISR

Introduction

We’re all familiar with our PC-based operating systems. Windows, for example is the most common operating system in the world today, although we might argue that the Android ...

Get Debugging Embedded and Real-Time Systems now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.