Open igiona opened 1 month ago
cc @korken89
Additional information, this is the output of probe-rs list
:
$ probe-rs list
The following debug probes were found:
[0]: Rusty Probe with CMSIS-DAP v1/v2 Support (VID: 1209, PID: 4853, Serial: DC645020138A1122EF4014, CmsisDap)
[1]: HS-Probe CMSIS-DAP v1 Interface (VID: 1209, PID: 4853, Serial: dc645020138a1122ef4014, CmsisDap)
A similar thing has been mentioned on matrix a while ago: https://matrix.to/#/!vhKMWjizPZBgKeknOo:matrix.org/$9MlglhlFheOzD1NGEnnf1jRZrPQokowR8M-SNUTeMJY?via=matrix.org&via=chat.berline.rs&via=tchncs.de
Dirbaio diagnosed it as probably caused by https://github.com/kevinmehall/nusb/issues/22
That's odd, how do you get this to happen? I was not able to reproduce on any of my computers, but it seems like two interfaces have different descriptions. I'll look into it during my update of the HAL.
That's odd, how do you get this to happen? I was not able to reproduce on any of my computers, but it seems like two interfaces have different descriptions. I'll look into it during my update of the HAL.
Nothing special to be honest. I'm using a USB HUB, hard to believe but maybe it's because of that? My PC has WSL enabled, maybe the USB drivers get messed up? I'll try on other machines as well and let you know.
Ah sorry, I did not know you ran on Windows. I'll dig up a Windows computer to test on :)
I can confirm that this also happens on windows for me.
At least on windows (I did not test other OSs yet), the rusty-probe enumerates as two devices with the same serial number. For this reason,
probe-rs
requires additional parameters--probe 1209:4853
even though I actually have only one probe connected. When developing and working via command-line it's quite annoying.Is there a way to avoid this double-enumeration? Why it's there in the first place? I don't see for me a way to select "the other" probe, since PID and VID are the same...