-
Notifications
You must be signed in to change notification settings - Fork 522
Closed
Labels
Description
Run command "pyocd list", error occurred, pyocd version >= 0.30:
Successfully installed pyocd-0.30.0
PS C:\Users\wuze> pyocd list
0000671:WARNING:common:STLink and CMSIS-DAPv2 probes are not supported because no libusb library was found.
0000775:CRITICAL:__main__:No backend available
Traceback (most recent call last):
File "d:\program files\python\python39\lib\site-packages\pyocd\__main__.py", line 402, in run
self._COMMANDS[self._args.cmd](self)
ConnectHelper.list_connected_probes()
allProbes = ConnectHelper.get_all_connected_probes(blocking=False)
File "d:\program files\python\python39\lib\site-packages\pyocd\core\helpers.py", line 82, in get_all_connected_probes
allProbes = DebugProbeAggregator.get_all_connected_probes(unique_id=unique_id)
File "d:\program files\python\python39\lib\site-packages\pyocd\probe\aggregator.py", line 64, in get_all_connected_probes
probes += cls.get_all_connected_probes(unique_id, is_explicit)
File "d:\program files\python\python39\lib\site-packages\pyocd\probe\picoprobe.py", line 335, in get_all_connected_probes
return [cls(dev) for dev in PicoLink.enumerate_picoprobes()]
File "d:\program files\python\python39\lib\site-packages\pyocd\probe\picoprobe.py", line 108, in enumerate_picoprobes
return [PicoLink(probe) for probe in core.find(find_all=True, custom_match=FindPicoprobe(uid))]
File "d:\program files\python\python39\lib\site-packages\usb\core.py", line 1299, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available