Skip to content

USB CDC 无法连接CH343 (ESF-244) #154

@Kevincoooool

Description

@Kevincoooool

Port

ESP32

Target chip

ESP32-S3

Hardware Configuration

USB可以正常连接ESP32S3内置USB并进行下载,CP2102也可以,就是CH343不行,VID=0x1A86, PID=0x55D3

Log output

'usb_cdc_acm_port: Serial state notif 0x0010
I (11162) usb_cdc_acm_port: Serial state notif 0x0010
I (11210) usb_cdc_acm_port: Serial state notif 0x0000
I (11311) usb_cdc_acm_port: Serial state notif 0x0000
W (11410) cdc_acm: TX transfer timeout
W (11610) cdc_acm: TX transfer timeout
W (11810) cdc_acm: TX transfer timeout
W (12010) cdc_acm: TX transfer timeout
W (12210) cdc_acm: TX transfer timeout
W (12410) cdc_acm: TX transfer timeout
W (12610) cdc_acm: TX transfer timeout
W (12810) cdc_acm: TX transfer timeout
W (13010) cdc_acm: TX transfer timeout
W (13210) cdc_acm: TX transfer timeout
E (13210) HAL_OfflineBurner: 连接目标设备失败: 2
ESP_ERROR_CHECK failed: esp_err_t 0x103 (ESP_ERR_INVALID_STATE) at 0x42020d2f
--- 0x42020d2f: cdc_acm_host_close at F:/GitHub_My/KSDIY_Korvo/ESP_TOOL_S3/LVGL_Framwork_demo/managed_components/espressif__usb_host_cdc_acm/cdc_acm_host.c:675
file: "./managed_components/espressif__usb_host_cdc_acm/cdc_acm_host.c" line 675
func: cdc_acm_host_close
expression: usb_host_interface_release(p_cdc_acm_obj->cdc_acm_client_hdl, cdc_dev->dev_hdl, cdc_dev->notif.intf_desc->bInterfaceNumber)

abort() was called at PC 0x40381e23 on core 0
--- 0x40381e23: _esp_error_check_failed at F:/Espressif/frameworks/esp-idf-v5.4.2/components/esp_system/esp_err.c:49'''


Backtrace: 0x4037a0ed:0x3fcbfaf0 0x40381e2d:0x3fcbfb10 0x4038955e:0x3fcbfb30 0x40381e23:0x3fcbfba0 0x42020d2f:0x3fcbfbd0 0x4201f700:0x3fcbfbf0 0x42012527:0x3fcbfc10
--- 0x4037a0ed: panic_abort at F:/Espressif/frameworks/esp-idf-v5.4.2/components/esp_system/panic.c:469
--- 0x40381e2d: esp_system_abort at F:/Espressif/frameworks/esp-idf-v5.4.2/components/esp_system/port/esp_system_chip.c:87
--- 0x4038955e: abort at F:/Espressif/frameworks/esp-idf-v5.4.2/components/newlib/abort.c:38
--- 0x40381e23: _esp_error_check_failed at F:/Espressif/frameworks/esp-idf-v5.4.2/components/esp_system/esp_err.c:49
--- 0x42020d2f: cdc_acm_host_close at F:/GitHub_My/KSDIY_Korvo/ESP_TOOL_S3/LVGL_Framwork_demo/managed_components/espressif__usb_host_cdc_acm/cdc_acm_host.c:675
--- 0x4201f700: loader_port_esp32_usb_cdc_acm_deinit at F:/GitHub_My/KSDIY_Korvo/ESP_TOOL_S3/LVGL_Framwork_demo/managed_components/espressif__esp-serial-flasher/port/esp32_usb_cdc_acm_port.c:241

More Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions