Skip to content
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

关于USB 消息队列长度问题 #1297

Closed
s05427226 opened this issue Mar 19, 2018 · 10 comments
Closed

关于USB 消息队列长度问题 #1297

s05427226 opened this issue Mar 19, 2018 · 10 comments
Assignees

Comments

@s05427226
Copy link

在调试STM32F407 host 的时候,发现USBD_MQ_MSG_SZ 定义为16,在实际调试中发现由于该参数过小,导致usb协议初始化不稳定,修改为32后,初始化正常,请跟踪解决一下

@lymzzyh
Copy link
Contributor

lymzzyh commented Mar 19, 2018

好的,我跟踪处理一下

@lymzzyh lymzzyh self-assigned this Mar 19, 2018
@s05427226
Copy link
Author

使用案例是:我用RT-thread的STM32F407 的host 去连接STM32F407的device。

@lymzzyh
Copy link
Contributor

lymzzyh commented Mar 19, 2018

我的意思是你发现的这个问题是位于主机驱动还是从机class上

@s05427226
Copy link
Author

这个是从机

@s05427226
Copy link
Author

发现的两个问题,都是在从机上

@lymzzyh
Copy link
Contributor

lymzzyh commented Mar 19, 2018

OK 我跟踪解决一下

@s05427226
Copy link
Author

说错了,不是USBD_MQ_MSG_SZ,而是 这个#define USBD_MQ_MAX_MSG 16

@lymzzyh
Copy link
Contributor

lymzzyh commented Mar 19, 2018

好的。

@lymzzyh
Copy link
Contributor

lymzzyh commented Mar 19, 2018

我这边暂时比较忙 你改了的话可以看看提交PR 我来做测试。不然修复问题可能要几天

@s05427226
Copy link
Author

好的

@lymzzyh lymzzyh closed this as completed Apr 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants