Flash openocd

From LeoKemp223/embed-ai-tool · View interactive version

Flash openocd is an AI agent skill from the GitHub repository LeoKemp223/embed-ai-tool. 当需要使用已探测或显式指定的产物与探针配置,调用自带脚本通过 OpenOCD 烧录嵌入式固件时使用。

How to use this skill

Skill file

OpenOCD 烧录

适用场景

必要输入

自动探测

执行步骤

  1. 先阅读 references/usage.md,确认本次是环境探测、配置扫描,还是执行烧录。
  2. 若不确定探针状态,先运行自带脚本 scripts/openocd_flasher.py 的 --detect 模式确认。
  3. 若不确定 OpenOCD 配置,使用 --scan-configs 扫描工作区线索。
  4. 使用 --artifact 指定产物,配合 --interface + --target 或 --config 执行烧录。
  5. 对 BIN 文件,必须同时提供 --base-address。
  6. 读取脚本输出的烧录结果报告,重点关注校验状态和失败分类。
  7. 将烧录配置和结果写回 Project Profile,并在需要时交给下游 skill。

失败分流

平台说明

输出约定

交接关系

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.