Debug embedded bootloader handoff failures: application jumps, vector table offsets, OTA state, image validation, rollback, and boot selection.
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 debug bootloader and application handoff problems without destroying recovery paths. Verify memory layout, image metadata, vector table, stack pointer, reset handler, validation, and rollback state before reflashing or erasing boot regions.
Use this skill when:
Do not use this skill for ordinary application crashes after a confirmed clean handoff; use embedded-fault-debug. For MCUboot-specific slot/signing/swap issues, use mcuboot-integration. For OTA delivery pipeline issues, use ota-update-integration.
Ask for:
Protect recovery. Do not erase bootloader, recovery slot, calibration, or persistent upgrade state without explicit approval.
Confirm memory layout. Compare linker script, flash programming address, image header, and bootloader slot configuration.
Validate handoff basics. For MCU apps, check initial SP and reset handler at the application offset. For Linux boot, check kernel, device tree, rootfs, and bootargs.
Check image decision logic. Inspect version, checksum/signature, pending/confirmed flags, rollback counters, and slot priority.
Trace the jump. Halt before handoff, inspect target SP/PC, vector table relocation, interrupts, clocks, caches, and peripheral state.
Ask before destructive recovery. Erasing slots, clearing flags, disabling signature checks, or rewriting boot config requires approval.
Before claiming progress:
User:
Bootloader 能跑,但跳 app 后死掉。
Agent:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
bootloader, firmware-upgrade, embedded-debug, ota, image-validation
/aix-skills:bootloader-debugfrom 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