{"id":27415,"library":"spsdk-pyocd","title":"SPSDK PyOCD Debugger Probe Plugin","description":"A PyOCD debug probe plugin for NXP's SPSDK (Secure Provisioning SDK), enabling PyOCD-based debug probes to interface with SPSDK debug operations. Current version: 0.3.4. Released as part of SPSDK Plugins 3.5.0. Release cadence: irregular, tied to SPSDK Plugins releases.","status":"active","version":"0.3.4","language":"python","source_language":"en","source_url":"https://github.com/nxp-mcuxpresso/spsdk_plugins/tree/master/pemicro","tags":["spsdk","pyocd","debug","probe","nxp","embedded"],"install":[{"cmd":"pip install spsdk-pyocd","lang":"bash","label":"Latest"}],"dependencies":[{"reason":"Core SPSDK package for debug operations","package":"spsdk","optional":false},{"reason":"PyOCD debug probe framework","package":"pyocd","optional":false}],"imports":[{"note":"Correct import is from the plugin package, not spsdk core.","wrong":"from spsdk.pyocd import SPSDKPyOCDDebugProbe","symbol":"SPSDKPyOCDDebugProbe","correct":"from spsdk_pyocd import SPSDKPyOCDDebugProbe"}],"quickstart":{"code":"from spsdk_pyocd import SPSDKPyOCDDebugProbe\nprobe = SPSDKPyOCDDebugProbe()\n# The probe will scan for available PyOCD debug probes\nprint(probe.get_probes_list())","lang":"python","description":"Initialize the SPSDK PyOCD debug probe plugin and list available probes."},"warnings":[{"fix":"Run 'pip install spsdk pyocd' before or after installing spsdk-pyocd.","message":"The plugin requires both SPSDK and PyOCD to be installed. PyOCD must be installed separately; it is not an automatic dependency of spsdk-pyocd.","severity":"gotcha","affected_versions":"all"},{"fix":"Use within SPSDK context: from spsdk.debuggers import DebugProbe and register the probe via spsdk_pyocd.","message":"The plugin is designed to work with SPSDK's debug interface; standalone PyOCD usage without SPSDK is not supported.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install spsdk-pyocd' to install the plugin.","cause":"The package is not installed or installed incorrectly.","error":"ModuleNotFoundError: No module named 'spsdk_pyocd'"},{"fix":"Check the installed version and refer to documentation; ensure you have the correct import path.","cause":"The class may have been renamed or moved in a different version.","error":"ImportError: cannot import name 'SPSDKPyOCDDebugProbe' from 'spsdk_pyocd'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}