Skip to content

ESP32-C6: AutoResearch runSingleTest RMT fails on every run after the first (TX show stalls ~690 ms, 0 RX edges) #4905

Closed

Description

@zackees

Split from #4903, which turned out to be an S3 heap problem with a different root cause.

Repro

ESP32-C6, GPIO0 → GPIO1 jumper, USB Serial/JTAG console, on current master and also with the #4903 fix applied:

  1. bash autoresearch esp32c6 --rmt --upload-port /dev/ttyACM1 → TEST RMT lanes=1 leds=100 PASS.
  2. Over RPC on the same boot, run the same request again: runSingleTest {driver: RMT, laneSizes: [100], pattern: MSB_LSB_A, timing: WS2812B-V5, iterations: 1}. Re-applying findConnectedPins with autoApply makes no difference.

Observed

Every later run reports passedTests: 0/4, show_duration_ms: 692 (a 100-LED WS2812 frame takes about 3 ms), captureWaitResult: 1 (timeout) and rawEdgesAfterWait: 0. Heap is steady (free 131,044 B), so this is not memory. The TX show() waits for its timeout and nothing reaches RX.

On the ESP32-S3 the same repeated sequence passes 4/4 and 12/12 (iterations 1 and 3) with the #4903 fix. This appears to be specific to the C6 RMT TX/RX resource handling between runs.

Acceptance

  • RED: the repeated run above fails. GREEN: 6 runs with iterations=1 plus 2 with iterations=3 on one boot all pass on the C6.
  • The canonical single-shot run stays green.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions