8051-mcu-debug
Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…
Use when integrating, porting, configuring, or debugging XMODEM or YMODEM serial transfer, bootloader firmware update, CRC, packet timeout, or flash-write flows
Claude Code
$ npx -y skills add easyzoom/aix-skills --skill ymodem-xmodem-integration --agent claude-code
Codex
$ npx skills add easyzoom/aix-skills --skill ymodem-xmodem-integration -a codex -y
Cursor
$ npx skills add easyzoom/aix-skills --skill ymodem-xmodem-integration -a cursor -y
Gemini CLI
$ npx skills add easyzoom/aix-skills --skill ymodem-xmodem-integration -a gemini-cli -y
GitHub Copilot
$ npx skills add easyzoom/aix-skills --skill ymodem-xmodem-integration -a github-copilot -y
OpenCode
$ npx skills add easyzoom/aix-skills --skill ymodem-xmodem-integration -a opencode -y
Windsurf
$ npx skills add easyzoom/aix-skills --skill ymodem-xmodem-integration -a windsurf -y
name: ymodem-xmodem-integration description: Use when integrating, porting, configuring, or debugging XMODEM or YMODEM serial transfer, bootloader firmware update, CRC, packet timeout, or flash-write flows
Use this skill for serial file-transfer protocols in bootloaders or maintenance consoles. Separate transport reliability, packet parsing, CRC/checksum, flash layout, and update safety before writing firmware to flash.
Use this skill when:
Do not use this skill for general serial logging. Use `embedded-serial-log-debug` first if RX/TX is unreliable.
Ask for:
1. Prove serial transport. Verify raw RX/TX at the target baud before protocol debugging.
1. Implement protocol states explicitly. Negotiation, header, data packets, ACK/NAK, EOT, CAN abort, retry limit, and timeout should be visible in logs.
1. Validate file metadata. For YMODEM, parse filename and size. Reject images larger than the allowed slot.
1. Write flash safely. Erase only the intended slot, program aligned chunks, verify CRC/hash, and preserve bootloader/recovery areas.
1. Commit update last. Mark the image bootable only after full transfer and verify succeed.
1. Test abort and power loss. Ensure failed transfers do not leave the product without a bootable image.
Before claiming transfer/update works:
User:
Bootloader 用 YMODEM 升级,传完后 app 起不来。
Agent:
1. Asks for protocol variant, sender tool, app offset, image size, CRC, and boot log. 1. Checks slot bounds and flash verify before app jump. 1. Confirms image is marked bootable only after full verify succeeds.
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 debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…
Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…
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.