hardware-interface-debug
Skill36 starsChanged 5 months agoMITView on GitHub
Use when debugging embedded board-level power, reset, clock, pin, connector, signal integrity, logic analyzer, oscilloscope, or hardware interface issues
In this repository75 other files it gives its agents.
- 8051-mcu-debugSkill
- avem-integrationSkill
- battery-charger-fuel-gauge-integrationSkill
- ble-gatt-integrationSkill
- bootloader-debugSkill
- canbus-integrationSkill
- canopen-integrationSkill
- cellular-at-modem-integrationSkill
- cmbacktrace-integrationSkill
- cmsis-dsp-integrationSkill
- cortex-m-debugSkill
- cortex-r5-debugSkill
- crc-checksum-integrationSkill
- easylogger-integrationSkill
- embedded-app-example-libsSkill
- embedded-buffer-queue-libsSkill
- embedded-data-parsing-libsSkill
- embedded-debug-entrySkill
- embedded-fault-debugSkill
- embedded-framework-libsSkill
- embedded-input-libsSkill
- embedded-library-entrySkill
- embedded-linux-login-debugSkill
- embedded-peripheral-bringupSkill
- embedded-serial-log-debugSkill
- embedded-state-machine-libsSkill
- embedded-timing-libsSkill
- epd-integrationSkill
- esp-idf-integrationSkill
- fatfs-integrationSkill
- flashdb-integrationSkill
- freemodbus-integrationSkill
- freertos-kernel-debugSkill
- freertos-plus-tcp-integrationSkill
- gnss-gps-integrationSkill
- heatshrink-integrationSkill
- letter-shell-integrationSkill
- littlefs-integrationSkill
- low-power-debugSkill
- lvgl-integrationSkill
- lwip-integrationSkill
- mbedtls-integrationSkill
- mcuboot-integrationSkill
- mcu-flashing-debugSkill
- micro-ecc-integrationSkill
- miniz-integrationSkill
- mqtt-embedded-integrationSkill
- nanopb-integrationSkill
- nrf-connect-sdk-integrationSkill
- nr-micro-shell-integrationSkill
- openocd-jlink-stlink-debugSkill
- openthread-integrationSkill
- ota-update-integrationSkill
- plooc-integrationSkill
- power-management-integrationSkill
- qspi-xip-flash-debugSkill
- readme-writingSkill
- riscv-mcu-debugSkill
- rtos-debugSkill
- rt-thread-integrationSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 12 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Use this skill when firmware symptoms may actually come from board-level signals.
- Distinctive: line 14
Use this skill when:
- Distinctive: line 20
Do not use this skill when the hardware path has already been verified and the issue is clearly inside firmware logic.
- Distinctive: line 35
Start with power and ground.
- Distinctive: line 38
Check reset and clock. Verify reset release, boot strap states, oscillator startup, clock output, and brownout/watchdog conditions.
- Distinctive: line 39
Verify reset release, boot strap states, oscillator startup, clock output, and brownout/watchdog conditions.
- Distinctive: line 51
Do not short pins, force rails, remove protections, or bypass regulators without explicit user approval.
- Distinctive: line 59
No two outputs fight on the same net.
- Distinctive: line 66
Use a multimeter for static rails and reset state.
- Distinctive: line 67
Use an oscilloscope for clocks, reset edges, ripple, ringing, and analog behavior.
- Very specific: line 68
Use a logic analyzer for decoded UART/SPI/I2C timing.
- Distinctive: line 69
Use current-limited bench supply for bring-up when safe.
- Distinctive: line 74
Before claiming hardware evidence:
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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
- Start with power and ground. Confirm rail voltage, sequencing, ripple, current limit, ground reference, and target voltage for debug probes.
- Check reset and clock. Verify reset release, boot strap states, oscillator startup, clock output, and brownout/watchdog conditions.
- Trace the signal path. Map MCU pin, package pin, board net, connector, level shifter, external device, and pull components.
- Measure at the right points. Compare near-MCU and near-peripheral signals to catch level shifter, connector, or routing issues.
- Compare against firmware configuration. Pin mux, open-drain/push-pull, drive strength, alternate function, and analog mode must match the hardware.
- 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:
- Asks for schematic, pins, voltage, SPI mode, and logic analyzer capture.
- Checks CS/SCK/MOSI/MISO near both MCU and slave.
- Verifies MISO is not floating, voltage levels match, and CS timing reaches the device.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

