Show Bookstore Categories

Embedded Debugging with the Black Magic Probe

ByThiadmer Riemersma

Usually printed in 3 - 5 business days
The "Black Magic Probe" is a debug probe for ARM Cortex microcontrollers, supporting SWD and JTAG. What sets it apart from other debug probes is that it directly supports the Remote Server Protocol of GDB (also used by LLDB and other debugging and development tools). This quashes the need for additional middleware, services or drivers, and thereby makes the software/hardware toolchain simpler, more portable and more reliable. What you can do with the Black Magic Probe is: • Download code into Flash ROM or RAM of the microcontroller. • Step through code, look at a backtrace of the call stack. • Set up to six breakpoints in Flash ROM (as well as unlimited breakpoints in RAM). • Set up to four data watchpoints, to check for data reads or writes. • Inspect and modify variables, memory and registers. • Run the code and follow it with real-time tracing. • Profile your code, to gain insight in where it spends its cycles. This book focuses on the original Black Magic Probe, but it also covers a few "open hardware" variants — such as the ctxLink probe, which offers truly remote debugging, due to its Wi-Fi interface and rechargeable battery.

Details

Publication Date
Apr 25, 2023
Language
English
ISBN
9781447839255
Category
Computers & Technology
Copyright
Creative Commons NonCommercial, ShareAlike (CC BY-NC-SA)
Contributors
By (author): Thiadmer Riemersma

Specifications

Pages
187
Binding
Perfect Bound
Interior Color
Color
Dimensions
US Trade (6 x 9 in / 152 x 229 mm)

Ratings & Reviews