Hello, I recently purchased this board, and I managed to upload a project to it, but when it resets, it shows up in Device Manager as "Unknown USB device (device descriptor request failed)". This prevents me from monitoring outputs in the terminal. I have the "Channel for console output" set to "USB CDC", and I tried two USB cables in three different USB ports without success. How can I mitigate this?
Note: The board works well with the Arduino IDE.
ESP32-S2 WEMOS S2 Mini Unknown USB Device
-
Orthodoctus
- Posts: 2
- Joined: Mon Dec 01, 2025 11:11 pm
-
nopnop2002
- Posts: 347
- Joined: Thu Oct 03, 2019 10:52 pm
- Contact:
Re: ESP32-S2 WEMOS S2 Mini Unknown USB Device
ESP32-S2 can use USB OTG Console.
https://docs.espressif.com/projects/esp ... n-features
Starting with ESP-IDF V5.5, idf_build_set_property(MINIMAL_BUILD ON) has been added to CMakeLists.txt.
If you specify this, the USB OTG console will not function.
If you want to use the USB OTG console, you must comment it out.
https://docs.espressif.com/projects/esp ... n-features
Starting with ESP-IDF V5.5, idf_build_set_property(MINIMAL_BUILD ON) has been added to CMakeLists.txt.
If you specify this, the USB OTG console will not function.
If you want to use the USB OTG console, you must comment it out.
Code: Select all
# The following lines of boilerplate have to be in your project's
# CMakeLists in this exact order for cmake to work correctly
cmake_minimum_required(VERSION 3.16)
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
# "Trim" the build. Include the minimal set of components, main, and anything it depends on.
#idf_build_set_property(MINIMAL_BUILD ON)
project(hello_world)
-
Orthodoctus
- Posts: 2
- Joined: Mon Dec 01, 2025 11:11 pm
Re: ESP32-S2 WEMOS S2 Mini Unknown USB Device
Sorry for the late response, I didn't receive a notification for your reply. I'm not sure if you did some serious digging (I hope not) or if this is common knowledge to you, but either way, thank you a ton, because this solved my issue! I've spent hours trying to make the terminal work in ESP-IDF/have Windows recognize the board, but I gave up and settled for the Arduino IDE. Now, I'm contemplating rewriting the project in ESP-IDF. 
Who is online
Users browsing this forum: Google [Bot] and 3 guests