Talk:Open-TL866 Protocol

From Proghq
Revision as of 23:46, 13 March 2019 by Cr1901 (talk | contribs) (Add talk page for protocol discussion)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Protocol Improvements

We currently have a CDC/ASCII protocol; having a high-speed bulk transfer/binary protocol would make some programming/read actions quicker. In addition the speed boost would enable some programming tasks whose timing is currently impossible to meet with the ASCII protocol.


Composite Device Proposal

Paraphrased from User:Elemecca. Interface refers to the USB definition of interface.

  • Support the CDC and high-speed interfaces in parallel, maybe with an option to reset to a high-speed-exclusive mode.
  • Make the interfaces mutually exclusive and boot to the CDC interface by default, but expose the high-speed interface with no endpoints in CDC mode.
    • High-speed clients can check the device status and request reset to high-speed mode without needing to implement the high speed protocol.

In both cases listed above, control transfers would be used to switch between CDC and high-speed mode. On Windows, the WinUSB driver would attach to the high-speed interface (either using a special string descriptor or an inf file). We also need an inf file for the CDC interface for Windows 8.1 and below.

Comments

I am on board with either option, with a slight preference for the latter due to being simpler to implement.--Cr1901 (talk) 23:46, 13 March 2019 (UTC)