Integrates CmBacktrace for Cortex-M crash diagnosis: fault handlers, stack backtraces, firmware metadata, and output routing. Use when porting or debugging Coredump on Cortex-M targets.
Ships in aix-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill to integrate CmBacktrace as a Cortex-M crash diagnosis tool. The key is to preserve fault context, provide correct firmware metadata, route output safely, and verify that backtraces map to the running ELF.
Use this skill when:
Do not use this skill for non-Cortex-M faults. Use embedded-fault-debug or the architecture-specific debug skill instead.
Ask for:
Integrate in the fault path. Call CmBacktrace from the HardFault/fault handling path before reset and before clearing fault state.
Provide metadata. Firmware name, hardware version, software version, and platform identifiers should be meaningful enough for field logs.
Keep output safe. Crash output must not block forever, allocate heavily, or depend on services that may be corrupted.
Match symbols. Ensure the saved crash output can be mapped to the exact ELF/MAP file used to build the flashed image.
Account for compiler behavior. Optimization, frame pointer omission, link-time optimization, and stripped symbols can reduce backtrace quality.
Verify with a controlled fault. Trigger a known null pointer or assert in a lab build, then confirm the report identifies the expected function.
Before claiming CmBacktrace works:
User:
想在 Cortex-M 项目里接 cmbacktrace,HardFault 后能看到调用栈。
Agent:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/aix-skills:cmbacktrace-integrationfrom aix-skills
npx claudepluginhub easyzoom/aix-skills --plugin aix-skills76 skills in this plugin
/8051-mcu-debugUse when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers, UART, or startup failures/avem-integrationUse when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers, middleware, or application architecture/battery-charger-fuel-gauge-integrationUse when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start, watchdog host mode, NTC/JEITA faults, and SOC jumpsOther plugins' skills for the same job