Skip to content

feat: 1200 baud touch for USB-OTG CDC ports - #68

Merged
deadprogram merged 1 commit into
fix/default-reset-usb-jtagfrom
feat/usb-otg-touch
Oct 23, 2026
Merged

deadprogram merged 1 commit into
fix/default-reset-usb-jtagfrom
feat/usb-otg-touch

Conversation

@deadprogram

@deadprogram deadprogram commented Oct 23, 2026 •

Copy link
Copy Markdown
Member

A program that owns USB-OTG, such as TinyGo with -tags=usbotg on the ESP32-S3, cannot be reset into download mode with DTR/RTS.

Changes

  • On a port with the Espressif VID that is not the USB-JTAG/Serial unit (303a:1001) or the ROM's own USB-OTG port, send a 1200 baud touch.
  • Wait for the USB-JTAG/Serial port to appear, switch to it and connect with the USB-JTAG reset.
  • If no such port appears, go back to the original port and carry on as before.
  • no-reset skips the touch.

This builds on #66 and should be merged after it.

Testing

A program that owns USB-OTG, such as TinyGo with -tags=usbotg on the
ESP32-S3, cannot be reset with DTR/RTS. On a port with the Espressif VID
that is not the USB-JTAG/Serial unit or the ROM's own USB-OTG port, send
a 1200 baud touch, wait for the USB-JTAG/Serial port to appear and
connect there with the USB-JTAG reset.
@deadprogram
deadprogram added this pull request to stack #69 October 23, 2026 12:00
@deadprogram
deadprogram merged commit bf561fc into main Oct 23, 2026
3 checks passed
@deadprogram
deadprogram deleted the feat/usb-otg-touch branch October 23, 2026 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant