Skip to content

USB traffic can exceed hardware's ability to deal with it #33

Open
@bombasticbob

Description

@bombasticbob

In particular, an OUT endpoint configured for bulk transfers (such as for CDC/ACM) can receive up to 3 packets that are rapid-fired at maximum bandwidth from the host, before it starts to lose data.

This typically happens when serial port data is sent one byte at a time. This does not appear to affect commercially available USB serial devices.

it may be a problem with the configuration. it may require special intervention to stop it, such as immediately sending a control packet indicating or proper DCD handling (i.e. indicate 'no carrier' or similar when it's not possible to receive more data). Need to check out how to do hardware flow control properly, at any rate, to ensure that I'm not flooded with packet data.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions