Skip to content
Development
Skill

/hardware-interface-debug

Use when debugging embedded board-level power, reset, clock, pin, connector, signal integrity, logic analyzer, oscilloscope, or hardware interface issues

From plugin
aix-skills
3876 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill hardware-interface-debug --agent claude-code

SKILL.md

hardware-interface-debug.SKILL.md
name: hardware-interface-debug
description: Use when debugging embedded board-level power, reset, clock, pin, connector, signal integrity, logic analyzer, oscilloscope, or hardware interface issues

Hardware Interface Debug

Overview

Use this skill when firmware symptoms may actually come from board-level signals. Verify power, reset, clocks, pin mapping, voltage levels, and measured waveforms before treating the issue as a software bug.

When To Use

Use this skill when:

  • The issue involves power rails, reset, crystals, boot pins, connectors, level shifters, pull-ups, or signal integrity.
  • A peripheral or debug interface has no signal, wrong voltage, ringing, stuck line, or intermittent behavior.
  • The user has a schematic, board photo, oscilloscope capture, logic analyzer trace, or pinout question.

Do not use this skill when the hardware path has already been verified and the issue is clearly inside firmware logic.

First Questions

Ask for:

  • Board/chip, revision, and affected interface.
  • Schematic snippet or pin mapping if available.
  • Expected signal and observed measurement.
  • Measurement tool: multimeter, oscilloscope, logic analyzer, current probe.
  • Power source and voltage levels.
  • Whether the issue is reproducible across boards.

Workflow

1. Start with power and ground. Confirm rail voltage, sequencing, ripple, current limit, ground reference, and target voltage for debug probes.

1. Check reset and clock. Verify reset release, boot strap states, oscillator startup, clock output, and brownout/watchdog conditions.

1. Trace the signal path. Map MCU pin, package pin, board net, connector, level shifter, external device, and pull components.

1. Measure at the right points. Compare near-MCU and near-peripheral signals to catch level shifter, connector, or routing issues.

1. Compare against firmware configuration. Pin mux, open-drain/push-pull, drive strength, alternate function, and analog mode must match the hardware.

1. Avoid destructive experiments. Do not short pins, force rails, remove protections, or bypass regulators without explicit user approval.

Signal Checks

  • Voltage level matches both devices.
  • Ground reference is shared.
  • Pull-up/down values are appropriate.
  • Rise/fall time fits bus speed.
  • No two outputs fight on the same net.
  • Boot strap resistors match intended mode.
  • Debug pins are not overloaded by external circuits.
  • Reset pulse width and polarity match datasheet.

Measurement Guidance

  • Use a multimeter for static rails and reset state.
  • Use an oscilloscope for clocks, reset edges, ripple, ringing, and analog behavior.
  • Use a logic analyzer for decoded UART/SPI/I2C timing.
  • Use current-limited bench supply for bring-up when safe.
  • Capture before and after reset or transaction start when timing matters.

Verification

Before claiming hardware evidence:

  • State measurement location, tool, voltage/time scale when relevant, and observed value.
  • Map the measured net to MCU pin and external device pin.
  • State whether the measurement supports or contradicts the firmware assumption.
  • List unsafe hardware actions avoided or awaiting approval.

Common Failures

  • Measuring only at the connector and not at the MCU pin.
  • Forgetting common ground for UART/debug adapters.
  • Treating an open-drain bus as push-pull.
  • Ignoring boot strap resistors or reset timing.
  • Debugging firmware while the rail is current-limited or brownout-resetting.

Example

User:

SPI 读出来全是 0xFF,代码看起来没问题。

Agent:

1. Asks for schematic, pins, voltage, SPI mode, and logic analyzer capture. 1. Checks CS/SCK/MOSI/MISO near both MCU and slave. 1. Verifies MISO is not floating, voltage levels match, and CS timing reaches the device.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
38
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about hardware-interface-debug.

Which coding agents can use hardware-interface-debug?
hardware-interface-debug installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.