{"id":24638,"library":"spsdk-mcu-link","title":"SPSDK MCU-Link","description":"A debugger probe plugin for SPSDK (NXP's Secure Provisioning SDK) that adds support for LPC-Link and MCU-Link probes from NXP. Version 0.6.6; released as part of the SPSDK Plugins 3.2.0 release. Maintained by NXP with an active development cadence tied to SPSDK releases.","status":"active","version":"0.6.6","language":"python","source_language":"en","source_url":"https://github.com/nxp-mcuxpresso/spsdk_plugins/tree/master/mcu_link","tags":["nxp","spsdk","mcu-link","debug-probe","lpc-link"],"install":[{"cmd":"pip install spsdk-mcu-link","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"","wrong":"","symbol":"MCULinkDebugProbe","correct":"from spsdk.mcu_link.debug_probe import MCULinkDebugProbe"},{"note":"The package is installed as 'spsdk-mcu-link' but the import path uses 'spsdk.mcu_link' (without hyphens).","wrong":"from spsdk_mcu_link import MCULink","symbol":"MCULink","correct":"from spsdk.mcu_link.mcu_link import MCULink"}],"quickstart":{"code":"import os\nfrom spsdk.mcu_link.debug_probe import MCULinkDebugProbe\n# This will attempt to open the first available MCU-Link\nprobe = MCULinkDebugProbe()\nprint(\"Probe opened:\", probe.is_opened())","lang":"python","description":"Opens a default MCU-Link probe and prints its status. No authentication required as it uses local USB connection."},"warnings":[{"fix":"Use 'from spsdk.mcu_link...' instead of 'from spsdk_mcu_link...'.","message":"Import path uses dots (spsdk.mcu_link) not hyphens (spsdk-mcu-link). The PyPI package name does not match the Python module path.","severity":"gotcha","affected_versions":"all"},{"fix":"Use the latest class name from the official SPSDK MCU-Link documentation.","message":"The class 'MCULinkDebugProbe' was renamed from 'MCULinkDebugProbe' (case?) in v0.6.0; check older documentation for possibly different class names.","severity":"deprecated","affected_versions":"<0.6.0"},{"fix":"Upgrade Python to 3.9 or later.","message":"Requires Python >=3.9; may cause installation errors on older Python versions.","severity":"gotcha","affected_versions":"all"},{"fix":"Install udev rules from the SPSDK documentation or the package extras (e.g., 'pip install spsdk-mcu-link[udev]' if available).","message":"On Linux, udev rules may be required to access USB devices. Without them, the probe may not be detected.","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":"Use 'from spsdk.mcu_link.debug_probe import MCULinkDebugProbe'.","cause":"Import path incorrectly uses hyphens instead of dots.","error":"ModuleNotFoundError: No module named 'spsdk_mcu_link'"},{"fix":"Check USB connection, install udev rules, or run with administrator privileges on Windows.","cause":"The probe is not connected or not recognized (e.g., missing udev rules on Linux).","error":"spsdk.mcu_link.debug_probe.MCULinkDebugProbe: Cannot open device: No MCU-Link found"},{"fix":"Check the correct symbol name; use 'from spsdk.mcu_link.debug_probe import MCULinkDebugProbe'.","cause":"Trying to import a class that doesn't exist in the expected location.","error":"ImportError: cannot import name 'MCULink' from 'spsdk.mcu_link'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}