summaryrefslogtreecommitdiff
path: root/docs/reference
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-07-16 14:09:59 +0700
committerhathach <[email protected]>2026-07-17 16:48:00 +0700
commitf5d155256b9e6d743d7c5bd6c7e34e36ae0970df (patch)
tree23afbc2d93cef8df797f8d0e85b8e2cdeeacea9f /docs/reference
parentaa410008e8e74b0727f8c30a1ec109ff2c37efc6 (diff)
skill: add usb-target-debug — device-side capture & debug on the HIL rig
Completes the debugging toolset (usbmon = what the host exchanged, usb-debug = why the host acted, usb-sniffer = what crossed the wire): TU_LOG/RTT capture, per-probe GDB autopsy without reset, RAM ring-buffer event trace, J-Link DWT_PCSR PC-sampling, dual-side capture posture, and board-lock rig discipline. Includes the implementation plan it executes. Hard-won warnings baked in from real bring-up sessions: volatile ring buffers vs -Os dead-store elimination, RTT NO_BLOCK_SKIP post-mortem limits (no overwrite mode exists), DHCSR validity anchors for register snapshots, release-lock-before-hil_test, and that a marginal just-recabled link can fake a deterministic firmware bug. Also ignore .claude/worktrees/.
Diffstat (limited to 'docs/reference')
0 files changed, 0 insertions, 0 deletions