skillfed

spsdk-pyocd

PyOCD SW Debugger. A debugger probe plugin for SPSDK.

spsdk-pyocd v0.3.6 257.5K downloads/30d#8,445 on PyPI4
Permissive license BSD-3-Clause Active released

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-pyocd

uv

uv add spsdk-pyocd

poetry

poetry add spsdk-pyocd

Installing 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

Development Status :: 2 - Pre-AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9

Tags

pyocd debugger pluginspsdk debug probe interfacenxp hardware debuggerembedded debugging pyocdspsdk debugger integration
embedded-debuggingnxp-microcontrollershardware-probe-plugin

More Software Development packages