The Scrutiny Debugger: Debug, Visualize, and Test Embedded C/C++ Code
on
Background
Interacting with embedded firmware can be tricky, regardless of whether for configuration, testing, or debugging. Moreso, debugging an “in-flight” real time application must not affect critical, real-time tasks. Additionally, debug probes can be costly and/or complex to use.
A good solution to these problems is debugging via instrumentation, a technique that I learned while working with power converters and EV motor controllers. It consists of adding a little bit of code in firmware to enable remote monitoring and control, without affecting behavior. While not revolutionary, this technique s...
