-
Notifications
You must be signed in to change notification settings - Fork 880
Description
Answers checklist.
- I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
- I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
- I have searched the issue tracker for a similar issue and not found a similar issue.
General issue report
I (27) boot: ESP-IDF v5.3.1-dirty 2nd stage bootloader
I (27) boot: compile time Jun 5 2025 10:35:08
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.2
I (34) qio_mode: Enabling default flash chip QIO
I (39) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode : QIO
I (49) boot.esp32s3: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: 3 storage Unknown data 01 82 00110000 00100000
I (100) boot: End of partition table
I (104) esp_image: segment 0: paddr=00010020 vaddr=3c0b0020 size=2dafch (187132) map
I (141) esp_image: segment 1: paddr=0003db24 vaddr=3fc9c800 size=024f4h ( 9460) load
I (143) esp_image: segment 2: paddr=00040020 vaddr=42000020 size=a865ch (689756) map
I (251) esp_image: segment 3: paddr=000e8684 vaddr=3fc9ecf4 size=02578h ( 9592) load
I (253) esp_image: segment 4: paddr=000eac04 vaddr=40374000 size=18760h (100192) load
I (286) boot: Loaded app from partition at offset 0x10000
I (286) boot: Disabling RNG early entropy source...
I (298) cpu_start: Multicore app
I (307) cpu_start: Pro cpu start user code
I (307) cpu_start: cpu freq: 240000000 Hz
I (307) app_init: Application information:
I (310) app_init: Project name: usb_cdc_4g_module
I (316) app_init: App version: 140c954
I (321) app_init: Compile time: Jun 10 2025 23:35:25
I (327) app_init: ELF file SHA256: f362cdfdb...
I (332) app_init: ESP-IDF: v5.3.1-dirty
I (337) efuse_init: Min chip rev: v0.0
I (342) efuse_init: Max chip rev: v0.99
I (347) efuse_init: Chip rev: v0.2
I (352) heap_init: Initializing. RAM available for dynamic allocation:
I (359) heap_init: At 3FCA4AA0 len 00044C70 (275 KiB): RAM
I (365) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (371) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (377) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (384) spi_flash: detected chip: generic
I (388) spi_flash: flash io: qio
W (392) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (405) sleep: Configure to isolate all GPIO pins in sleep state
I (412) sleep: Enable automatic switching of GPIO sleep configuration
I (419) main_task: Started on CPU0
I (434) main_task: Calling app_main()
I (434) led_indicator: LED Indicator Version: 0.3.0
I (435) gpio: GPIO[15]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (442) led_indicator: blink_lists is null, use default blink list
W (449) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (467) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0xf, is_active_level_high:1, blink_lists:default
I (479) led_indicator: LED Indicator Version: 0.3.0
I (485) gpio: GPIO[17]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (494) led_indicator: blink_lists is null, use default blink list
W (501) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (519) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0x11, is_active_level_high:1, blink_lists:default
I (531) led_indicator: LED Indicator Version: 0.3.0
I (537) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (546) led_indicator: blink_lists is null, use default blink list
W (553) led_indicator: ./managed_components/espressif__led_indicator/src/led_indicator.c:280 (_led_indicator_create_com):LED indicator does not have the hal_indicator_set_brightness function
I (571) led_indicator: Indicator create successfully. type:GPIO mode, hardware_data:0x10, is_active_level_high:1, blink_lists:default
I (594) 4g_main: ====================================
I (594) 4g_main: ESP 4G Cat.1 Wi-Fi Router
I (595) 4g_main: ====================================
I (600) modem_board: iot_usbh_modem, version: 1.2.0
I (606) modem_board: Force reset modem board....
I (611) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (620) modem_board: Resetting modem using io=13, level=0
I (826) modem_board: Waiting for modem initialize ready
I (5826) USBH_CDC: iot usbh cdc version: 2.0.0
I (5856) esp-modem: --------- Modem PreDefined Info ------------------
I (5857) esp-modem: Model: User Defined
I (5857) esp-modem: Modem itf 2
I (5861) esp-modem: ----------------------------------------------------
I (5868) gpio: GPIO[12]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (5878) gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
Found NOTIF endpoint: 136
Found IN endpoint: 129
Found OUT endpoint: 10
*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0xef
bDeviceSubClass 0x2
bDeviceProtocol 0x1
bMaxPacketSize0 64
idVendor 0x2ecc
idProduct 0x3012
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerialNumber 3
bNumConfigurations 1
*** Configuration descriptor ***
bLength 9
bDescriptorType 2
wTotalLength 196
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
bMaxPower 500mA
*** Interface Association Descriptor ***
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 0xe0
bFunctionSubClass 0x1
bFunctionProtocol 0x3
iFunction 5
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 0xe0
bInterfaceSubClass 0x1
bInterfaceProtocol 0x3
iInterface 5
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0xa
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 5
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xc EP 12 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 8
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xb EP 11 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 11
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xf EP 15 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 11
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xa EP 10 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
I (21105) 4g_main: Modem Board Event: USB connected
I (21105) modem_board: DTE reconnect, reconnecting ...
I (21111) USBH_CDC: Opened cdc device: 1
I (21121) USBH_CDC: New device connected, address: 1
I (22116) modem_board: reconnect after 5s...
I (23116) modem_board: reconnect after 4s...
I (24116) modem_board: reconnect after 3s...
I (25116) modem_board: reconnect after 2s...
I (26116) modem_board: reconnect after 1s...
I (26116) modem_board: Modem state STAGE_SYNC, Start
I (26127) modem_board: Network Auto reconnecting ...
I (26127) modem_board: Modem state STAGE_SYNC, Success!
W (26127) 4g_main: Modem Board Event: Network disconnected
E (26192) USBH: Device 1 gone
W (26202) 4g_main: Modem Board Event: USB disconnected
Found NOTIF endpoint: 136
Found IN endpoint: 129
Found OUT endpoint: 10
*** Device descriptor ***
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0xef
bDeviceSubClass 0x2
bDeviceProtocol 0x1
bMaxPacketSize0 64
idVendor 0x2ecc
idProduct 0x3012
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerialNumber 3
bNumConfigurations 1
*** Configuration descriptor ***
bLength 9
bDescriptorType 2
wTotalLength 196
bNumInterfaces 5
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xc0
bMaxPower 500mA
*** Interface Association Descriptor ***
bLength 8
bDescriptorType 11
bFirstInterface 0
bInterfaceCount 2
bFunctionClass 0xe0
bFunctionSubClass 0x1
bFunctionProtocol 0x3
iFunction 5
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 0xe0
bInterfaceSubClass 0x1
bInterfaceProtocol 0x3
iInterface 5
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0xa
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 5
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xc EP 12 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 8
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xb EP 11 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 11
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xf EP 15 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Interface descriptor ***
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 0xff
bInterfaceSubClass 0x0
bInterfaceProtocol 0x0
iInterface 11
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 0x3 INT
wMaxPacketSize 64
bInterval 16
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
*** Endpoint descriptor ***
bLength 7
bDescriptorType 5
bEndpointAddress 0xa EP 10 OUT
bmAttributes 0x2 BULK
wMaxPacketSize 64
bInterval 0
I (28476) 4g_main: Modem Board Event: USB connected
I (28482) USBH_CDC: Opened cdc device: 1
I (28486) USBH_CDC: New device connected, address: 1
I (28528) modem_board: DTE reconnect, reconnecting ...
I (29528) modem_board: reconnect after 5s...
I (30528) modem_board: reconnect after 4s...
I (31528) modem_board: reconnect after 3s...
I (32528) modem_board: reconnect after 2s...
I (33528) modem_board: reconnect after 1s...
I (33528) modem_board: Modem state STAGE_SYNC, Start
I (33539) modem_board: Network Auto reconnecting ...
W (33539) 4g_main: Modem Board Event: Network disconnected
I (33540) modem_board: Modem state STAGE_SYNC, Success!
E (33602) USBH: Device 1 gone
W (33612) 4g_main: Modem Board Event: USB disconnected
以上是我的log,我已经按照文档选择了user_define,配置了interface为0x02(不知道正不正确,已经尝试过OUT端点0xc,0xb,0xd,0xa),麻烦帮忙看看,万分感谢!!