{"id":21777,"library":"pypemicro","title":"PEMicro Debug Probe Python Interface","description":"Python library to control PEMicro debug probes (e.g., Multilink, Cyclone) for programming and debugging embedded targets. Current version 0.1.11, supports Python >=3.7, with limited API stability.","status":"active","version":"0.1.11","language":"python","source_language":"en","source_url":"https://github.com/nxpmicro/pypemicro","tags":["pemicro","debug","embedded","programming","multilink","cyclone"],"install":[{"cmd":"pip install pypemicro","lang":"bash","label":"Install pypemicro"}],"dependencies":[],"imports":[{"note":"Main class for probe interaction.","symbol":"PyPEMicro","correct":"from pypemicro import PyPEMicro"},{"note":"Mode constant for opening debug session.","symbol":"PYDEBUG_OPEN","correct":"from pypemicro import PYDEBUG_OPEN"}],"quickstart":{"code":"from pypemicro import PyPEMicro, PYDEBUG_OPEN\n\nprobe = PyPEMicro()\nprobe.connect()\nprobe.open(open_mode=PYDEBUG_OPEN)\nprint(\"Connected to\", probe.get_serial_number())\nprobe.close()","lang":"python","description":"Connects to the first available PEMicro probe and prints its serial number."},"warnings":[{"fix":"Replace `ProbeInterface` with `PyPEMicro`.","message":"The old import `from pypemicro import ProbeInterface` is removed in 0.1.10+; use `from pypemicro import PyPEMicro`.","severity":"deprecated","affected_versions":">=0.1.10"},{"fix":"Call `PyPEMicro.enumerate_devices()` and iterate the returned list.","message":"The method `enumerate_probes()` no longer exists; use `probe_list = PyPEMicro.enumerate_devices()` instead.","severity":"breaking","affected_versions":">=0.1.9"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Change import to `from pypemicro import PyPEMicro`.","cause":"ProbeInterface was renamed to PyPEMicro in version 0.1.10+.","error":"ImportError: cannot import name 'ProbeInterface' from 'pypemicro'"},{"fix":"Use `PyPEMicro.enumerate_devices()` instead.","cause":"The method was renamed to `enumerate_devices` in version 0.1.9+.","error":"AttributeError: 'PyPEMicro' object has no attribute 'enumerate_probes'"},{"fix":"Verify probe connection and install required drivers (PEMicro driver for your OS).","cause":"No PEMicro debug probe is connected or drivers are missing.","error":"pypemicro.exceptions.ProbeNotFoundError: No probe found"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}