我有一个与 ESP32s2(带 RGB 的 Saola 板)相关的问题
我正在尝试运行 esp-idf/examples/peripherals/usb/device/tusb_serial_device/
但它无法正常工作。
即使来自 PC 的数据接收正常,我也总是收到刷新错误。
有谁知道出了什么问题?
输出附在清单上。
代码:
全选
I (1285488) example: Data from channel 0:
I (1285498) example: 0x3ffc0370 61 |a|
W (1285498) tusb_cdc_acm: flush failed (res: 0)
USBD Xfer Complete on EP 02 with 1 bytes
CDC xfer callback
Queue EP 02 with 64 bytes ...
I (1285778) example: Data from channel 0:
I (1285778) example: 0x3ffc0370 62 |b|
W (1285788) tusb_cdc_acm: flush failed (res: 0)
USBD Xfer Complete on EP 02 with 1 bytes
CDC xfer callback
Queue EP 02 with 64 bytes ...
I (1285988) example: Data from channel 0:
I (1285988) example: 0x3ffc0370 61 |a|
W (1285998) tusb_cdc_acm: flush failed (res: 0)
USBD Xfer Complete on EP 02 with 1 bytes
CDC xfer callback
Queue EP 02 with 64 bytes ...
I (1286178) example: Data from channel 0:
I (1286178) example: 0x3ffc0370 62 |b|
W (1286188) tusb_cdc_acm: flush failed (res: 0)
USBD Xfer Complete on EP 02 with 1 bytes
CDC xfer callback
Queue EP 02 with 64 bytes ...
I (1286368) example: Data from channel 0:
I (1286378) example: 0x3ffc0370 61 |a|
W (1286378) tusb_cdc_acm: flush failed (res: 0)
USBD Setup Received 00 03 01 00 00 00 00 00
Set Feature
Enable Remote Wakeup
Queue EP 80 with 0 bytes ...
USBD Xfer Complete on EP 80 with 0 bytes
USBD Suspend : Remote Wakeup = 1