SPSDK PyOCD Debugger Probe Plugin

raw JSON →
0.3.4 verified Fri May 01 auth: no python

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.

pip install spsdk-pyocd
error ModuleNotFoundError: No module named 'spsdk_pyocd'
cause The package is not installed or installed incorrectly.
fix
Run 'pip install spsdk-pyocd' to install the plugin.
error ImportError: cannot import name 'SPSDKPyOCDDebugProbe' from 'spsdk_pyocd'
cause The class may have been renamed or moved in a different version.
fix
Check the installed version and refer to documentation; ensure you have the correct import path.
gotcha The plugin requires both SPSDK and PyOCD to be installed. PyOCD must be installed separately; it is not an automatic dependency of spsdk-pyocd.
fix Run 'pip install spsdk pyocd' before or after installing spsdk-pyocd.
gotcha The plugin is designed to work with SPSDK's debug interface; standalone PyOCD usage without SPSDK is not supported.
fix Use within SPSDK context: from spsdk.debuggers import DebugProbe and register the probe via spsdk_pyocd.

Initialize the SPSDK PyOCD debug probe plugin and list available probes.

from spsdk_pyocd import SPSDKPyOCDDebugProbe
probe = SPSDKPyOCDDebugProbe()
# The probe will scan for available PyOCD debug probes
print(probe.get_probes_list())