You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/en/usb/usb_overview/usb_device_const_COM.rst
+47-3Lines changed: 47 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,21 +15,59 @@ In the ESP ROM Code, the configuration of USB descriptors is as follows:
15
15
- ESP32S2
16
16
- ESP32S3
17
17
- ESP32C3
18
+
- ESP32C5
19
+
- ESP32C6
20
+
- ESP32C61
21
+
- ESP32H2
22
+
- ESP32P4
23
+
* - **Interface**
24
+
- usb-otg
25
+
- usb-serial-jtag
26
+
- usb-serial-jtag
27
+
- usb-serial-jtag
28
+
- usb-serial-jtag
29
+
- usb-serial-jtag
30
+
- usb-serial-jtag
31
+
- usb-serial-jtag
18
32
* - **VID**
19
33
- 0x303a
20
34
- 0x303a
21
35
- 0x303a
36
+
- 0x303a
37
+
- 0x303a
38
+
- 0x303a
39
+
- 0x303a
40
+
- 0x303a
22
41
* - **PID**
23
42
- 0x0002
24
43
- 0x1001
25
44
- 0x1001
45
+
- 0x1001
46
+
- 0x1001
47
+
- 0x1001
48
+
- 0x1001
49
+
- 0x1001
50
+
* - **Revision (bcdDevice)**
51
+
- N/A
52
+
- v1.01
53
+
- v1.01
54
+
- v1.02
55
+
- v1.02
56
+
- v1.02
57
+
- v1.02
58
+
- v1.02
26
59
* - **Serial**
27
60
- 0
28
61
- MAC address
29
62
- MAC address
63
+
- MAC address
64
+
- MAC address
65
+
- MAC address
66
+
- MAC address
67
+
- MAC address
30
68
31
69
* For ESP32S2 with USB On-The-Go (usb-otg), the Serial is a constant 0, and it remains the same for every device, resulting in consistent COM port numbers.
32
-
* For ESP32S3 (usb-serial-jtag) and ESP32C3 (usb-serial-jtag), the Serial is set to the device MAC address. Each device has a unique MAC address, leading to different COM port numbers by default with incremental assignment.
70
+
* For ESP32S3 (usb-serial-jtag) or other chips with usb-serial-jtag interface, the Serial is set to the device MAC address. Each device has a unique MAC address, leading to different COM port numbers by default with incremental assignment.
33
71
34
72
Incrementing COM numbers pose additional challenges for mass production programming. For customers requiring firmware downloads via USB, it is recommended to modify the Windows rules for incrementing the COM number to prevent incrementing the number based on the Serial number.
Users have the option to download the script :download:`ignore_hwserial_usb_serial_jtag.bat <../../../_static/ignore_hwserial_usb_serial_jtag.bat>` , then run it with administrative privileges by right-clicking and selecting **Run as Administrator**.
85
+
86
+
87
+
.. Note::
44
88
45
-
Users have the option to download the script :download:`ignore_hwserial_esp32s3c3.bat <../../../_static/ignore_hwserial_esp32s3c3.bat>` , then run it with administrative privileges by right-clicking and selecting **Run as Administrator**.
89
+
The above command is for Windows 10/11. For Windows 7 or other versions, the registry path is different. Please download the script :download:`ignore_hwserial_usb_serial_jtag_win7.bat <../../../_static/ignore_hwserial_usb_serial_jtag_win7.bat>` and run it with Administrative privileges.
以上指令仅适用于 Windows 10/11,对于 Windows 7 或其它版本,请下载使用 :download:`ignore_hwserial_usb_serial_jtag_win7.bat <../../../_static/ignore_hwserial_usb_serial_jtag_win7.bat>` 脚本,右键选择管理员方式运行。
0 commit comments