Chapter 9. Testing and Debugging

DEBUGGING AN EMBEDDED SYSTEM CAN BE A DAUNTING TASK. Developing software on a personal computer is easy by comparison—there’s an operating system under your software to catch unexpected events, a screen to display debug messages, and a keyboard and mouse with which you can give your software input. Your embedded device may not have any of these; you may have only a little LED that your software can make blink—or you may not even have that!

From the beginning, you need to design your embedded application with diagnostics. If you don’t, chances are that you’ll eventually be faced with a little dead box and no way to ...

Get Embedded Linux 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.