low-power-debug

Solid

Use 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

View on GitHub

Quality Score: 79/100

Stars 20%
45
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

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