Embedded GDB & OpenOCD Debugger

•
136
•

Automates embedded firmware debugging and crash analysis using OpenOCD and GDB for Cortex-M targets.

This skill streamlines the embedded development workflow by automating the setup and execution of GDB sessions via OpenOCD. It handles environment detection, firmware flashing, and real-time debugging for Cortex-M microcontrollers. Whether you need to inspect register states, perform symbol-level debugging with ELF files, or analyze complex system crashes, this tool provides a structured approach to hardware-in-the-loop diagnostics. It intelligently selects between download-and-halt, attach-only, and crash-context modes to match your specific troubleshooting needs.

주요 기능

01Automatic detection of GDB paths, OpenOCD configurations, and hardware probes.
02Advanced crash analysis including Fault register inspection and backtrace extraction.
03136 GitHub stars
04Support for symbol-level debugging via ELF files with automated artifact validation.
05Integrated debugging modes: download-and-halt, attach-only, and crash-context.
06Cross-platform support for Windows, Linux, and macOS development environments.

사용 사례

01Automating the flash-and-debug cycle during iterative embedded development sessions.
02Debugging firmware logic on Cortex-M microcontrollers using real hardware probes.
03Investigating system crashes and hard faults to identify memory or timing issues.