Skip to content

watch/debug-tee: support a read-only tap on a second CDC console of the same board #27

Description

@bdbarnett

MicroPython boards whose native USB is enabled expose a second serial console (Espressif VID 303A, PID 4001 composite; PID 1001's CDC channel when the console is on USB-Serial-JTAG). Both speak the same VM, and connecting to either today interrupts the running program.

Request: a read-only mode (for watch-repl, or as the debug-tee second device) that opens the second console purely as a listener — no raw-REPL entry, no interrupt — so a user can watch a running (or wedged) program's output without disturbing it. Verified on hand: a Waveshare ESP32-P4 board exposes COM4 (UART) + COM42 (native CDC), and an ESP32-S3 exposes COM17 + COM62; either member of the pair can serve as the tap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions