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.