Tormod Volden <lists.tor...@gmail.com> wrote: > On Tue, Aug 23, 2016 at 3:05 PM, Jay Aurabind wrote: > > > > I just managed to get it working. Simply added an exception for the > > try block for ValueError: continue > > > > Is this an acceptable solution generally? Is there a point in asking > > pyOCD to take it ? > > I would try to filter on vid/pid first. Are there many > different vid/pids possible, but they all have "CMSIS-DAP" in > the product string? > > IMO manually filtering through the product string is a bad > idea, but if it cannot be avoided, yes, you should an exception > for devices where you can't retrieve the product string.
yeah, well, would be good to tell ARM that. A device class or interface class or anything, but no, by definition, a CMSIS-DAP device is identified _only_ by the product string containing "CMSIS-DAP" Thanks ARM!
signature.asc
Description: OpenPGP Digital Signature
------------------------------------------------------------------------------
_______________________________________________ pyusb-users mailing list pyusb-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pyusb-users