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

Add option to scan attached probes #258

Closed
cr1901 opened this issue Oct 12, 2022 · 4 comments
Closed

Add option to scan attached probes #258

cr1901 opened this issue Oct 12, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@cr1901
Copy link
Contributor

cr1901 commented Oct 12, 2022

Context

There should be an option to scan probes, just like there's an option to scan attached devices. At minimum, for FTDI devices, I think this should return the serial number so that

Furthermore, libftdi failing to open a device on Windows does not indicate a fatal error. There are multiple types of device drivers for FTDI devices on Windows, and a failure to open may indicate that a probe is using a driver that libftdi doesn't understand. Therefore, I believe scanning probes should have an option to keep going on error.

@trabucayre trabucayre added the enhancement New feature or request label Oct 12, 2022
@trabucayre
Copy link
Owner

I have pushed a first draft. Only tested with FTDI (and clone) devices.
Theoritically all devices with VID/PID listed in cable_list may be discovered but I have to add a search in board_list for DFU devices.
And since cable description is limited to vid/pid is not possible to be more precise for FTDI device (ie digilent_hs2 vs bus_blaster vs tigard vs ...).

@trabucayre
Copy link
Owner

Is it good to you? Can I close this issue?
Thanks

@cr1901
Copy link
Contributor Author

cr1901 commented Nov 1, 2022

Yes, it's safe to close this issue, the new functionality does what I want :).

@trabucayre
Copy link
Owner

Thanks!

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

No branches or pull requests

2 participants