Repository navigation
feat(rmt_rx): peekMem-able wait() telemetry for capture forensics (#3586) - #3594
Conversation
) Harness tests run with logs suppressed, so wait()-path forensics on live devices go through memory: g_rmtrx_wait_dbg[] (wait count, last exit path arm-fail/timeout/buffer-filled/natural, symbols, callbacks), g_rmtrx_max_symbols, and g_rmtrx_first_symbols[] (first four raw accumulation symbols, preserved when decode fails). This telemetry produced the decisive #3586 finding on the C6 bench: the receiver "completes naturally" with mSymbolsReceived == 1 for PARLIO/RMT-TX frames, and the single symbol is the ENTIRE ~773 us frame merged into one continuous HIGH (H772875 L-open) — while the TX pad carries a crisp, timing-correct waveform (edge-probe verified) and every RX config register (filter=100 ns, divider, idle threshold) is byte-identical to captures that work. Full analysis on the issue. Host: subset 264/264, lint clean, C6 compile clean. Co-Authored-By: Claude Fable 5 <[email protected]>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis change adds volatile debug telemetry variables to the ESP32 RMT5 RX channel driver's ChangesRMT5 wait() Telemetry
Estimated code review effort: 1 (Trivial) | ~5 minutes Related issues: #3586 (referenced in code comments as context for this debug harness). Suggested labels: esp32, debugging, rmt Suggested reviewers: none identified 🐰 A rabbit peeks inside the wait, ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Harness tests run with logs suppressed, so
wait()-path forensics on live devices go through memory:g_rmtrx_wait_dbg[](wait count + exit path + symbols + callbacks),g_rmtrx_max_symbols,g_rmtrx_first_symbols[](first raw symbols, preserved when decode fails).This telemetry produced the decisive #3586 finding on the C6 bench: the receiver completes "naturally" with exactly 1 symbol for PARLIO/RMT-TX frames — and that symbol is the entire ~773 µs frame merged into one continuous HIGH — while the TX pad demonstrably carries a crisp waveform and every RX register (100 ns filter, divider, idle threshold) is identical to working captures. Full elimination table and analysis on the issue.
Host: subset 264/264; lint clean; C6 compile clean.
Refs #3586.
🤖 Generated with Claude Code
Summary by CodeRabbit