3: Best practices for debugging embedded software

Abstract

In this chapter, we’ll explore some of the best practices for debugging embedded software. I’m going to focus on embedded C and assembly language because they’re what I know best, and they are typically the languages that are most tightly linked to embedded systems.

Keywords

C; Software; Debugging; Real time; Performance; Bugs; Best practices; Partitioning; Assertions; Process

Introduction

In this chapter, we’ll explore some of the best practices for debugging embedded software. I’m going to focus on embedded C and assembly language because they’re what I know best, and they are typically the languages that are most tightly linked to embedded systems.

I’ve included a reading list ...

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.