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.21k stars 256 forks source link

控制传输暂停后,之后的控制传输将一直错误 #104

Closed chengshuihang closed 1 year ago

chengshuihang commented 1 year ago

使用PC与STM32H7通信,PC使用libusb,在设置上打个断点,然后启动PC控制传输,等待PC报错返回,然后放开断点,设备全速运行,之后PC再次进行控制请求,PC显示无法正确请求数据,多次尝试都是如此。批量传输无此问题

sakumisu commented 1 year ago

哪有你这么调试代码的,usb 控制传输对时序本来要求就高,还这么玩,就应该有问题

sakumisu commented 1 year ago

主机对控制传输是有时间要求的,其他传输都是无限制时间

chengshuihang commented 1 year ago

好的