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

Sometimes data sent over USB CDC is corrupted #51

Open
grafalex82 opened this issue Sep 13, 2017 · 1 comment
Open

Sometimes data sent over USB CDC is corrupted #51

grafalex82 opened this issue Sep 13, 2017 · 1 comment
Labels

Comments

@grafalex82
Copy link
Owner

No description provided.

@grafalex82 grafalex82 added the bug label Sep 13, 2017
@karmaok
Copy link

karmaok commented Feb 5, 2018

Hello, on my device got the issue goes further to transmit corrupted data always in composite device mode. My chip is STM32F746 and a pair of descriptor complects(class descriptor, configuration and functions to handle diffrerent USB connection stages as Init, DataIn etc.): one for standalone CDC and one for CDC+MSC. For composite device I used functions from your topic (which is great and very helpful!!) and now all except CDC transmittion is working fine. But calling CDC_Transmit_FS function leads to transmitting of junk bytes instead of buffer provided. An amount of junk bytes is always 4. Which way it could be resolved? Where to dig? same function is working fine when the device is in standalone CDC mode as well as CDC_Receive_FS works fine in both modes. May it be some PMA buffer issue or maybe what else? Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants