openocd

Community

AI-driven OpenOCD flash and debug automation

Authorzhinkgit
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Embedded developers must manually run OpenOCD commands for probe detection, firmware flashing, flash erasing, target resets, GDB server startup, and telnet debugging, which interrupts the AI‑driven development flow. This skill automates those interactions so AI can directly control the hardware.

Core Features & Use Cases

  • Probe & Connectivity: Detect probe and target connection status.
  • Flash Firmware: Program ELF, HEX or BIN files with optional address specification.
  • Erase Flash: Automatic or explicit mass/sector erase modes.
  • Reset Control: Halt, run, or init reset sequences.
  • GDB Server: Launch and interact with arm-none-eabi-gdb for source‑level debugging.
  • Telnet Debugging: Halt, resume, step, read/write registers and memory, set hardware breakpoints, run‑to address.
  • Semihosting & ITM: Capture printf output and SWO/ITM traces.
  • Configuration Management: Uses skill/config.json and project .embeddedskills/config.json for environment and project settings.

Quick Start

Use the openocd skill to flash the ELF file 'build/app.elf' to the device via the ST‑Link interface.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: openocd
Download link: https://github.com/zhinkgit/embeddedskills/archive/main.zip#openocd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.