spsdk-pyocd
PyOCD SW Debugger. A debugger probe plugin for SPSDK.
What it is and what it does
This package is a plugin that bridges SPSDK and PyOCD, two separate debugging ecosystems. It allows SPSDK—NXP's software development kit—to use PyOCD as a backend for communicating with hardware debugger probes. When installed alongside SPSDK, it registers itself as an available debugger interface, so tools like nxpdebugmbox can select PyOCD as their probe driver.
The package is lightweight but has high install friction because it requires both pyocd and spsdk to be present. It's in pre-alpha development and actively maintained. If you're working with NXP microcontrollers and want to use PyOCD probes through SPSDK's tooling, this plugin is what connects them; without it, SPSDK cannot see or use PyOCD probes.
Use it for:
- Debugging NXP microcontrollers using PyOCD probes through SPSDK command-line tools.
- Integrating PyOCD hardware probes into NXP's SPSDK development workflow.
- Using P&E Micro debugger probes with SPSDK when the pemicro extra is installed.
- Automating embedded debugging in CI/CD pipelines that rely on SPSDK and PyOCD.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Integrates PyOCD as a debugger probe interface for SPSDK, enabling hardware debugging through PyOCD-compatible probes.
Yes, if you use SPSDK and need PyOCD probe support. Install it only after SPSDK is already in your virtual environment. Pre-alpha status means expect possible breaking changes, but active maintenance and zero known vulnerabilities are positive signals. High install friction is a trade-off for the integration it provides.
Install
spsdk-pyocd on PyPI
pip
pip install spsdk-pyocduv
uv add spsdk-pyocdpoetry
poetry add spsdk-pyocdInstalling spsdk-pyocd
Before you install
High install friction due to two required runtime dependencies (pyocd and spsdk). Package is actively maintained with recent commits, but remains in pre-alpha status. Requires Python 3.10 or later.
License in practice
BSD-3-Clause is permissive and poses no restrictions on use or redistribution for most projects.
Quickstart
pip install spsdk
pip install spsdk-pyocd
nxpdebugmbox --help
# Verify 'pyocd' appears in available interfaces (--interface)
Requires SPSDK to be installed first in the same virtual environment; Python 3.10 or later required.
Verify before relying
- Whether PyOCD and SPSDK versions have known compatibility constraints beyond the Python version requirement.
- Whether the pemicro extra adds significant additional dependencies or install complexity.
- Whether this package works with all PyOCD-compatible probes or only a subset.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | high — source build required |
| Runtime dependencies | 2 — pyocd, spsdk |
| Maintenance | actively maintained — 56 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 257,503/month — #8,445 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: spsdk_pyocd-0.3.6.tar.gz
Keywords: NXP, SPSDK, pyocd
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
spsdkSPSDK is a Python library and CLI toolkit for…
permissive · top 15,000 on PyPI
spsdk-mcu-linkA plugin for SPSDK that adds support for NXP…
permissive · top 15,000 on PyPI
pyocd-pemicroA PyOCD plugin that adds support for PEMicro…
permissive · top 15,000 on PyPI
pyocdpyOCD is a Python-based debugger and programmer…
permissive · top 5,000 on PyPI
pypemicroProvides a Python interface to PEMicro debug…
permissive · top 15,000 on PyPI
libusbsioProvides a Python wrapper around NXP's…
permissive · top 15,000 on PyPI
pydevdpydevd is a Python debugger backend that…
copyleft · top 5,000 on PyPI
pydevd-pycharmPyCharm's debugger backend for remote debugging…
permissive · top 15,000 on PyPI
pdb-attachAttaches a Python debugger (pdb) to…
permissive · top 15,000 on PyPI
freertos-gdbA GDB Python plugin that adds commands to…
permissive · top 5,000 on PyPI