From embedded-dev — RIPER-5 嵌入式固件开发协议
Launches or attaches GDB sessions via OpenOCD for Cortex-M targets, supporting firmware download, halt/step debugging, and crash-context inspection. Useful when debugging embedded systems with ELF symbols and an OpenOCD-compatible probe.
How this skill is triggered — by the user, by Claude, or both
Slash command
/embedded-dev:debug-gdb-openocdThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
- 用户希望通过 OpenOCD 调试 Cortex-M 类目标。
ELF 和与 OpenOCD 兼容的探针信息。ELF,或包含 artifact_path 的 Project Profile。download-and-halt、attach-only、crash-context。download-and-halt;只有用户显式要求附着调试或崩溃现场检查时才切换。Project Profile、arm-none-eabi-gdb、gdb-multiarch。flash-openocd 保持一致。ELF。若只有 HEX 或 BIN,应阻塞并要求提供匹配 ELF。--detect 模式确认。download-and-halt(默认)、attach-only 或 crash-context。--elf 指定符号文件,配合 --interface + --target 或 --config 启动调试。Project Profile,并在需要时交给下游 skill。openocd 或兼容 GDB 时,返回 environment-missing。ELF 时,返回 artifact-missing。connection-failure。project-config-error。target-response-abnormal。ambiguous-context。.exe 后缀,但逻辑流程与其他平台一致。ELF 路径和关键观察结论。Project Profile 中保留 artifact_path、artifact_kind、gdb_executable、openocd_config。serial-monitor。serial-monitor。npx claudepluginhub duncanyoung-1/embedded-dev --plugin embedded-devStarts or attaches a GDB session via J-Link GDB Server for firmware download, live debugging, or crash inspection on Cortex-M targets.
Guides probe-rs embedded debug workflows: probe discovery, flashing, debugging, RTT I/O for ARM Cortex-M/RISC-V via CLI or MCP tools. For hardware bring-up or runtime diagnostics.
Probes IoT/embedded targets for exposed SWD/JTAG debug interfaces via SEGGER J-Link. Detects OPEN, LOCKED, or DEAD debug ports and identifies silicon vendor from DPIDR/IDCODE.