Skip to content

Add support for scanning dual-channel devices#6

Open
multiplemonomials wants to merge 1 commit into
masterfrom
dev/scan-dual-scb
Open

Add support for scanning dual-channel devices#6
multiplemonomials wants to merge 1 commit into
masterfrom
dev/scan-dual-scb

Conversation

@multiplemonomials
Copy link
Copy Markdown

This PR adds support to the scanning code for dual-channel devices. It's now smart enough to detect each SCB of dual-channel devs as a device that can be opened. It should be able to handle all possible combinations of SCB 0 and 1 descriptors, at least for modes that cy-serial-bridge supports operating in.

With this PR merged, it should now be possible to open and use each channel of a dual channel device as desired. However, I have not started on reconfiguring such devices, as I suspect this may require significant reverse engineering of their control block format and/or the USB requests to access it (they only have one manufacturer interface, not one for each port, so not quite sure how that works).

This PR was made possible via @runger1101001 graciously sending me a CY7C65215 board to test with!

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

Successfully merging this pull request may close these issues.

1 participant