{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/5"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/4"},{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"},{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"},{"label":"Embedded Systems","url":"https://skillfed.io/packages/category/software-development-embedded-systems"}],"enrichment":{"capability":"pyOCD is a Python-based debugger and programmer for Arm Cortex-M microcontrollers that works with many debug probes across Linux, macOS, Windows, and FreeBSD.","skillfed_tags":["embedded-systems","arm-cortex","gdb-compatible"],"use_cases":["Debug Arm Cortex-M firmware interactively using gdb via the gdbserver subcommand with GUI debugger support.","Automate flash programming and testing in CI pipelines by loading binaries and controlling device execution via the Python API.","Stream Segger RTT I/O from any supported debug probe without needing vendor-specific tools.","Inspect and modify MCU memory and registers in real time using the commander interactive REPL.","Program multiple MCU variants by managing CMSIS Device Family Packs for devices without built-in support."],"what_it_does":"pyOCD is a cross-platform Python tool and library for programming and debugging Arm Cortex-M microcontrollers using a wide range of debug probes. It provides both a command-line interface with subcommands for common tasks (gdbserver, load, erase, reset, rtt, etc.) and a Python API for custom control and automation. The tool supports more than 70 popular MCUs natively and can extend support through CMSIS Device Family Packs to cover nearly every Cortex-M device on the market.\n\nThe package is built on 17 runtime dependencies including capstone for disassembly, hidapi and pyusb for USB communication, pyelftools for ELF parsing, and cmsis-pack-manager for device pack handling. It offers memory read/write, register access, breakpoint and watchpoint management, flash programming, binary/hex/ELF file loading, SWO/SWV support, and CoreSight DP/AP access. Configuration is supported through config files, user scripts, and direct API use, making it suitable for both interactive debugging and CI/CD test automation.","worth_installing":"Yes. pyOCD is actively maintained, has low install friction, carries no security vulnerabilities, and is licensed permissively. It is the right choice if you need a Python-native, cross-platform debugger for Cortex-M development or CI automation. The only prerequisite is a supported debug probe and libusb; if you have those, installation and basic use are straightforward."},"id":"pyocd","links":{"html":"https://skillfed.io/packages/pyocd","md":"https://skillfed.io/packages/pyocd.md","pypi":"https://pypi.org/project/pyocd/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-21","license_spdx":null,"license_treatment":"permissive","name":"pyocd","python_support":"supports_current","summary":"Cortex-M debugger for Python"},"popularity":{"monthly_downloads":1372352,"position":3991,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.45.1"}
