Skip to main content

A cross-platform GDB server for AVR MCUs

Project description

PyAvrOCD

License: MIT PyPI version PyPI Downloads PyPI Python Version Static 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), enabling you to debug programs running on these MCUs using the GNU Project Debugger GDB. PyAvrOCD communicates with Microchip's debug probes, such as the very affordable MPLAB Snap, and it provides a pass-through service for the UNO-based debug probe dw-link and the simulation tool simavr (see list of supported debug probes).

So, why another open-source GDB server for AVR MCUs? The main intention is to provide a cross-platform AVR GDB server. In other words, it is the missing AVR debugging solution for the Arduino IDE 2 and PlatformIO. In particular, the integration with Arduino IDE 2 is pretty tight, allowing one to start debugging without much hassle (see quickstart guides). Additionally, PyAvrOCD excels in minimizing flash wear and protects single-stepping against interrupts.

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

PyAvrOCD v1.0.0 has been released. Interested in giving it 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.

Meanwhile, PyAvrOCD has been extended to also cover the megaAVR 0-series and the modern ATtinys. Work is underway to handle the remaining UPDI MCUs, i.e., the AVR devices. I am unsure about Xmegas. One main point missing is an Arduino core for the MegaXU4 chips, similar to MCUdude's MiniCore.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyavrocd-1.3.0.tar.gz (100.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyavrocd-1.3.0-py3-none-any.whl (274.8 kB view details)

Uploaded Python 3

File details

Details for the file pyavrocd-1.3.0.tar.gz.

File metadata

  • Download URL: pyavrocd-1.3.0.tar.gz
  • Upload date:
  • Size: 100.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyavrocd-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3c02591f8580baab1404002a18d4680fc18ce0d8cb10c91b45b60d7fb7aaf741
MD5 ae9521cf1ed92ee273865f368b05b391
BLAKE2b-256 adc8cbef0f6619ec37b50300dcdf4a2732929addc1498bccdecedaab5573ceb2

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyavrocd-1.3.0.tar.gz:

Publisher: release.yml on felias-fogg/PyAvrOCD

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyavrocd-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: pyavrocd-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 274.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pyavrocd-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a9a60e0683a56fb3c236da02d255b4909a6bef6cfd28ccac59b992d0659e3bc9
MD5 8d6247a6f4ec4a99ada13d8924f04cf4
BLAKE2b-256 d94896140e8a040fe5cfb5bbc692db938b04a6ef89c90c808e37bc36a8b1226a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyavrocd-1.3.0-py3-none-any.whl:

Publisher: release.yml on felias-fogg/PyAvrOCD

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page