cherry-embedded / CherryUSB

CherryUSB is a tiny, beautiful and portable USB host and device stack for embedded system with USB IP
https://cherryusb.readthedocs.io/
Apache License 2.0
1.22k stars 259 forks source link

[E/USB] ep:86 clear halt #45

Closed SmartElec closed 2 years ago

SmartElec commented 2 years ago

stm32f103c8t6 demo\cdc_acm_hid_msc_template.c need modify usb_dc_fsdev.c USB_RAM_SIZE to 1024

#ifndef USB_RAM_SIZE
#define USB_RAM_SIZE 512
#endif

and hid endpoint get errors USB_REQUEST_CLEAR_FEATURE: [E/USB] ep:86 clear halt

导致hid设备出现感叹号,这个应该如何解决

sakumisu commented 2 years ago

谁让你改成1024的?这是硬件规定的,怎么能随便改?

sakumisu commented 2 years ago

fsdev不支持这个demo

SmartElec commented 2 years ago

谁让你改成1024的?这是硬件规定的,怎么能随便改?

[E/USB] Ep pma 134 overflow
[E/USB] standard request error
sakumisu commented 2 years ago

超了就是超了,没办法,要么换芯片

SmartElec commented 2 years ago

OK,那F103C8T6就没法实现daplink v2.0的全部功能了。HID + CDC + MSC拖拽

sakumisu commented 2 years ago

是这样的,我已经在准备做一个 daplink全芯片版本的工程,支持所有芯片平台