Chapter 6 System Firmware Debug Techniques

… Bloody instructions, which, being taught, return to plague the inventor.

—William Shakespeare, Macbeth, Act 1, Scene 7

Shakespeare is often misunderstood, as his writing style is rather unique. So it is with other people’s code. Actually, your code can be, as well. Therefore, debugging system firmware can be a daunting task, whether or not the code is yours. Even if no two firmware engineers utilize the exact same set of debugging techniques, they can have many of the same tools at their disposal.

This chapter attempts to provide the reader with the appropriate mindset to debug any kind of firmware on Intel architecture.

Host/Target Debugging Techniques

Most software developers are very familiar with ...

Get Quick Boot 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.