low-power-debug
SolidUse when debugging embedded sleep, standby, deep sleep, wakeup, current consumption, clock gating, lost debug access, or low-power mode failures
AI & Automation 22 stars
2 forks Updated 1 weeks ago MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Low Power Debug
## Overview
Use this skill to debug low-power behavior by measuring current and wake sources before changing sleep configuration. Low-power bugs often involve board leakage, clocks, wake flags, debug settings, peripheral state, and firmware sequencing.
## When To Use
Use this skill when:
- Current consumption is too high or unexpectedly low.
- The device fails to enter sleep, cannot wake, wakes immediately, or loses debug access.
- The task involves sleep, stop, standby, deep sleep, retention RAM, wake pins, RTC, watchdog, clock gating, or PMIC sequencing.
Do not use this skill when the board cannot boot at all; establish basic boot first.
## First Questions
Ask for:
- Chip/board and intended low-power mode.
- Measured current, expected current, and measurement setup.
- Wake sources and whether wake flags are available.
- Debug probe attached or detached during measurement.
- Peripherals left enabled before sleep.
- Power rails, external devices, pull-ups, and board revision.
## Workflow
1. Confirm measurement validity.
Check meter range, sampling rate, burden voltage, shunt placement, rails included, and whether debugger/USB is attached.
1. Separate firmware from board leakage.
Measure baseline board state, external devices, pull-ups, LEDs, regulators, and sensors.
1. Confirm intended sleep mode.
Verify the actual mode entered, not just the API called.
1. Capture wake reason.
Read wake flags immediately after wake before clearing t...
Details
- Author
- easyzoom
- Repository
- easyzoom/aix-skills
- Created
- 3 months ago
- Last Updated
- 1 weeks ago
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
hardware-interface-debug
Use when debugging embedded board-level power, reset, clock, pin, connector, signal integrity, logic analyzer, oscilloscope, or hardware interface issues
22 Updated 1 weeks ago
easyzoom AI & Automation Solid
cortex-m-debug
Use when debugging Cortex-M microcontrollers, firmware bring-up, SWD/JTAG sessions, faults, startup code, or flashing failures
22 Updated 1 weeks ago
easyzoom AI & Automation Solid
embedded-serial-log-debug
Use when collecting or debugging embedded serial UART logs, boot consoles,乱码, missing output, baud-rate issues, or serial terminal access
22 Updated 1 weeks ago
easyzoom