-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faile to get the usb string desc when the len is 64. #13
Comments
More info: cherryusb_stm32 doesn't have this issue. It seems that this issue's related to the platform. |
Yes, maybe ep0 toggle flag issue, but we do not support wch chip now, you can attach breakpoint in usbd_ep_start_write when data_len=0 to check. |
Yes, your hint is valuable. When there needs a ZLP, it should do |
Thank you for your valuable information, for wch support, to be continue in the future, maybe. |
Hi Cherry,
First of all thanks for your hard effort to build this helpful software USB stack.
I tried the cherryusb_wch\examples\usb_device\cdc_acm demo on CH32V307 and it worked.
But after changing the usb string desc to make it exactly 64 (EP0_MAX_PACKET), PC failed to retrive these strings.
Obviously, it is a ZLP issue which is very common to encounter. After checking the code of CherryUSB (usbd_core.c), seems that it has already handled ZLP case. Any idea? Look forward to your feedback. Thanks in advance.
The text was updated successfully, but these errors were encountered: