8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot selection failures
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill bootloader-debug --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill bootloader-debug -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill bootloader-debug -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill bootloader-debug -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill bootloader-debug -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill bootloader-debug -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill bootloader-debug -a windsurf -y
name: bootloader-debug description: Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image validation, rollback, or boot selection failures
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:
1. Protect recovery. Do not erase bootloader, recovery slot, calibration, or persistent upgrade state without explicit approval.
1. Confirm memory layout. Compare linker script, flash programming address, image header, and bootloader slot configuration.
1. 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.
1. Check image decision logic. Inspect version, checksum/signature, pending/confirmed flags, rollback counters, and slot priority.
1. Trace the jump. Halt before handoff, inspect target SP/PC, vector table relocation, interrupts, clocks, caches, and peripheral state.
1. Ask before destructive recovery. Erasing slots, clearing flags, disabling signature checks, or rewriting boot config requires approval.
Before claiming progress:
User:
Bootloader 能跑,但跳 app 后死掉。
Agent:
1. Asks for memory map, app offset, linker script, boot log, and image header. 1. Checks app vector table SP/PC at the slot offset. 1. Verifies VTOR, interrupts, stack setup, and image validation before reflashing.
AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…
Use when integrating or debugging Li-ion charger/fuel gauge ICs (BQ24295, BQ27441, MAX17048) over I2C, covering charge start,…
Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…
Use when integrating, configuring, or debugging CANopen nodes, object dictionaries, NMT, SDO, PDO, heartbeat, SYNC, EMCY, EDS/DCF…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.