The “Black Magic Probe” is a small hardware interface that sits between the “debug port” of ARM Cortex architecture micro-controllers and your PC. A debug probe, hence, that enables you to step through your code on a micro-controller, set breakpoints, inspect variables and data, and more.
Debug probes are not a new thing, several others exist. Distinguishing features of the Black Magic Probe are:
• Integrated “gdbserver” for direct connection to GDB (the GNU debugger), LLDB or any other tool that supports the remote debug protocol, without requiring additional software, drivers or configuration.
• Support for Flash memory programming, for a large number of micro-controllers.
• Open Source design, both the hardware (schematics) and the firmware.
This book focuses on the original Black Magic Probe and on ctxLink, a derivative that offers Wi-Fi in addition to USB and that can optionally run on a rechargeable battery.