Open linhuikui opened 3 weeks ago
Thanks for reporting.
Hi @linhuikui,
To understand the situation better:
Example Configuration
) Thanks.
@roma-jam esp32s2_log.txt
这是模块输出的log,我只进去配置了SSID和密码,其它任何东西都没修改;win10设备管理器有图中设备
Hi @linhuikui,
thanks for additional information.
idf.py set-target esp32s2
again in the example folder and share versions of the components, currently being used during the build? It should look like (maybe versions would be different):
-- Building ESP-IDF components for target esp32s2
Processing 3 dependencies:
[1/3] espressif/esp_tinyusb (1.4.4)
[2/3] espressif/tinyusb (0.15.0~10)
[3/3] idf (5.2.2)
managed_components
folder from the example. After setting the target via idf.py set-target esp32s2
new components should be downloaded automatically. Thanks.
Hi @linhuikui,
On Windows, there is no automatically assignment of a NCM driver to USB CDC NCM interface. To assign the driver to the device, additional steps should be taken (such as manual driver assignment).
Please, refer to the comments on this question for additional information and detailed description of the additional steps: https://learn.microsoft.com/en-us/answers/questions/52386/usb-cdc-ncm-devices-not-assigned-to-usbncm-driver
Hi @roma-jam 不止NCM驱动不能用,选择RNDIS也没有用,从串口调试输出的信息来看,应该是自动配置工具,没有把NCM或RNDIS的描述符信息,编译到程序中。 对于NCM,除了idf.py set-target esp32s2这个动作,其它配置什么都没有修改;对于RNDIS,进入menuconfig选择了RNDIS,其它什么都没有修改。
Answers checklist.
IDF version.
v5.2.1和v5.2.2
Espressif SoC revision.
ESP32S2
Operating System used.
Windows
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
esp32s2
Power Supply used.
USB
What is the expected behavior?
What is the actual behavior?
Steps to reproduce.
使用example目录中的network/sta2eth和peripherals\usb\device\tusb_ncm都不行,都不能正常枚举为ncm
Debug Logs.
No response
More Information.
No response