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 JTAG ICE, JTAGICE mkII, and the Dragon as well. Further, the communication interface to dw-link has been redesigned.

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.1.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.1.0
File Size Uploaded Provenance Actions
pyavrocd-2.1.0.tar.gz 9.3 MB With provenance Details for pyavrocd-2.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 19.7 MB

Release files / pyavrocd-2.1.0.tar.gz

Download URL pyavrocd-2.1.0.tar.gz
Size 9.3 MB
Tags Source
SHA-256 checksum
How to use checksums
850b8e136a361b761367d52acfe0375893ba37f4fc8cbe0891294338944e07dd
BLAKE2b-256 checksum
How to use checksums
ca7c5798d92fc41d83ce0f44bb53372e6bc3152f0a27bc4cad86cf1add2f43ef
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 26, 2026.

Transparency log

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

Download URL pyavrocd-2.1.0-py3-none-any.whl
Size 10.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2ca29f256a347e180cf4d806b50913c9fc324233c183ee6a12699a570df854a5
BLAKE2b-256 checksum
How to use checksums
4415b9e748b8dde69bb37407fe0b8e2dd554c41b8d6b3e0d6d1a6a925c196506
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 26, 2026.

Transparency log

Security for pyavrocd 2.1.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.1.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 26, 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.1.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