When we connect the ESP32-S2-MINI-1U USB port to a PC USB 3 port, a COM appears in Device Manager under Windows (i.e. normal operation).
But, if we rather connect to a PC USB 2 port, a COM appears and disappears continuously in Device Manager (i.e. abnormal operation).
On May 14 2024, we compiled an old version which worked perfectly.
But, on June 6 2024, we compiled our newer software and the problem described before appeared.
We recompiled our old (May 14 2024) version, with up-to-date librairies, and we have the same problem as with our June 6 2024 version.
Did you change something in the USB drivers (i.e. librairies) after May 14 2024 ?
When compiling, we use the CDC mode (see SDK code configuration file below).
Component config
TinyUSB Stack
TinyUSB log level (0-3)
1
TinyUSB task configuration
Do not create a TinyUSB task
TinyUSB task priority
5
TinyUSB task stack size (bytes)
4096
TinyUSB task affinity
No affinity
Initialize TinyUSB stack within the default TinyUSB task
Descriptor configuration
VID: Use Espressif's vendor ID
PID: Use a default PID assigned to TinyUSB
bcdDevice
0x100
Manufacturer name
Espressif Systems
Product name
Espressif Device
Serial string
123456
CDC Device String
Espressif CDC Device
Massive Storage Class (MSC)
Enable TinyUSB MSC feature
Communication Device Class (CDC)
Enable TinyUSB CDC feature
CDC Channel Count
1
CDC FIFO size of RX channel
512
CDC FIFO size of TX channel
512
Musical Instrument Digital Interface (MIDI)
TinyUSB MIDI interfaces count
0
Human Interface Device Class (HID)
TinyUSB HID interfaces count
0
Device Firmware Upgrade (DFU)
DFU mode
None
Bluetooth Host Class (BTH)
Enable TinyUSB BTH feature
Network driver (ECM/NCM/RNDIS)
Network mode
None
ESP32-S2-MINI-1U-N4R2 USB port connects to USB 3.0 PC port but not to USB 2.0 PC port
-
- Posts: 3
- Joined: Thu May 06, 2021 8:21 pm
Who is online
Users browsing this forum: No registered users and 24 guests