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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.