Skip to content

USB protocol >= 2.1 on ESP32 fails to bring up USB stack on Windows (WebUSB example) #547

@i-am-shodan

Description

@i-am-shodan

Operating System

Windows 11

Arduino IDE version

2.3.6

Board

LilyGo T Dongle S3

ArduinoCore version

3.3.0

TinyUSB Library version

3.7.1

Sketch as ATTACHED TXT

https://github.com/adafruit/Adafruit_TinyUSB_Arduino/blob/master/examples/WebUSB/webusb_serial/webusb_serial.ino

Compiled Log as ATTACHED TXT

logs.txt

What happened ?

I'm attempting to test the WinUSB example from the examples directory on an ESP32S3 device (T Dongle S3 from LilyGo). After compiling, flashing and re-plugging, the device does not enumerate correctly in Windows 11 23H2.

I've tried to do some debugging on this, here are some rambling comments:

How to reproduce ?

  1. Install latest Arduino IDE, latest ESP32 board and latest Arduino TinyUSB library
  2. Take the example sketch and paste into new IDE window
  3. Set USB CDC on boot to Enabled
  4. Set USB DFU on boot to Disabled
  5. Set USB Firmware MSC on boot to Disabled
  6. Set USB mode to OTG (TinyUSB)
  7. Flash firmware
  8. Plug in
  9. Device will fail to enumerate

Debug Log

No response

Screenshots

Image

I have checked existing issues, pr, discussion and documentation

  • I confirm I have checked existing issues, pr, discussion and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions