Skip to main content

PyAvrOCD

License: MIT PyPI version PyPI Downloads PyPI Python Version MyPy Badge Pylint badge Pytest badge Coverage badge Release workflow Commits since latest GitHub Issues or Pull Requests GitHub Issues or Pull Requests GitHub Downloads (all assets, all releases) Hit Counter

PyAvrOCD is a GDB server for 8-bit AVR MCUs (see list of supported MCUs and supported boards), communicating with debug probes such as Snap or Dragon. So, is it simply another open-source GDB server for AVR MCUs? No! It is a cross-platform AVR GDB server. This means that it was easily possible to integrate it into Arduino IDE 2 and PlatformIO board packages, bringing AVR debugging to these IDEs. Additionally, PyAvrOCD excels in minimizing flash wear and protects single-stepping against interrupts.

Interested in giving PyAvrOCD a try? You are welcome to install it. Want to learn more about it? Read the docs. Any feedback, be it bug reports, crazy ideas, or praise, is welcome.

What has been done so far, and what to expect in the future

Meanwhile, PyAvrOCD covers all debugWIRE, JTAG (Megas), and UPDI MCUs. I am unsure whether it makes sense to extend its coverage to Xmegas. Recently, the coverage of debug probes has been extended to cover also JTAG ICE, JTAGICE mkII, and the Dragon.

I made some leeway to integrate PyAvrOCD more tightly with PlatformIO and with the Arduino Maker Workshop VSCode extension.

The next step is to work on the integration of the most recent Microchip debug probes, PICkit5 and PICkit Basic.

There was the idea of basing everything on more recent versions of the GCC toolchain because it will probably solve a number of problems on the debugging front. My attempt at using the GCC 15.1 toolchain was abruptly stopped when I discovered that the compiler produces buggy debug information concerning local variables, whereas the old compiler works without a flaw at that point. I guess more research and/or debugging is necessary before GCC 15.1 is a viable solution.

Finally, I am committed to fixing some of the more obvious bugs in the AVR part of the GDB debugger.

Metadata

Release files for pyavrocd 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyavrocd 2.0.0
File Size Uploaded Provenance Actions
pyavrocd-2.0.0.tar.gz 9.2 MB With provenance Details for pyavrocd-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyavrocd 2.0.0
File Interpreter ABI Platform Actions
pyavrocd-2.0.0-py3-none-any.whl Python 3 none any Details for pyavrocd-2.0.0-py3-none-any.whl

Total release size: 19.7 MB

Release files / pyavrocd-2.0.0.tar.gz

Download URL pyavrocd-2.0.0.tar.gz
Size 9.2 MB
Tags Source
SHA-256 checksum
How to use checksums
1be7eb49b91cc9f27a73371fd11db94a82e8d19c862c6135d976d58dc25238df
BLAKE2b-256 checksum
How to use checksums
bd8ef462efd7c85645c09c8cd2d09f64105550416d14b7c23647c7f651da50b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Release files / pyavrocd-2.0.0-py3-none-any.whl

Download URL pyavrocd-2.0.0-py3-none-any.whl
Size 10.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
8865168f677cdc41ed809e0c6a35c40398003fd54e668e195a5ab4f431548046
BLAKE2b-256 checksum
How to use checksums
9fb12ee367e57152065105efde81e80fd197e5dcc7fcbfc4cbf7c095777c7c6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

Security for pyavrocd 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyavrocd-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 16, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page