From aix-skills
Use when MCU firmware download, flashing, erase, verify, probe connection, boot mode, read protection, or programmer tool operations fail
How this skill is triggered — by the user, by Claude, or both
Slash command
/aix-skills:mcu-flashing-debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Use this skill to debug MCU programming failures safely. Separate connection, erase, program, verify, and reset problems before recommending mass erase, option byte changes, security unlock, or boot configuration changes.
Use this skill to debug MCU programming failures safely. Separate connection, erase, program, verify, and reset problems before recommending mass erase, option byte changes, security unlock, or boot configuration changes.
Use this skill when:
Do not use this skill for application-level bugs after a confirmed successful program/verify/run cycle. For probe-specific debugging (OpenOCD scripts, J-Link config, adapter speed), use openocd-jlink-stlink-debug.
Ask for:
Classify the failing step. Do not treat "download failed" as one problem. Identify connect, erase, program, verify, reset, or run failure.
Confirm physical and electrical basics. Check power, ground, target voltage sense, reset line, boot pins, and signal wiring before changing software.
Confirm tool-target match. Verify exact chip model, flash algorithm, probe interface, target config, and firmware address.
Lower risk before increasing force. Try lower adapter speed, connect-under-reset, separate erase/program/verify, and fresh rebuild before mass erase.
Preserve logs. Capture programmer output and avoid repeated blind retries.
Ask before destructive operations. Mass erase, security unlock, option byte writes, readout protection changes, bootloader erase, and config fuse changes require explicit approval.
Before claiming flashing is fixed:
User:
OpenOCD 连接 STM32 总是 timeout,下载不了。
Agent:
npx claudepluginhub easyzoom/aix-skills --plugin aix-skillsUse when debugging Cortex-M microcontrollers, firmware bring-up, SWD/JTAG sessions, faults, startup code, or flashing failures
Guides embedded hardware debugging for probe-rs targets (ARM Cortex-M, RISC-V) via CLI or MCP server. Supports flash, RTT, fault diagnosis, and OpenOCD backend for chips like ESP32.
Flashes embedded firmware via OpenOCD using auto-detected debug probes and config scanning. Supports ELF, HEX, and BIN artifacts with optional validation and reset.