Skip to main content

mc683xx-bdm

Python bindings for the mc683xx BDM pod, a USB background debug mode (BDM) pod for Motorola/Freescale CPU32 (683xx) microcontrollers built on a Raspberry Pi Pico. The module is mc683xx_bdm: one open pod across calls, for scripts with loops and polling.

import time
import mc683xx_bdm

with mc683xx_bdm.Pod("usb") as pod:  # or "usb:SERIAL", "unix:/tmp/pod.sock"
    print(pod.reset_with_breakpoint())  # breakpoint
    pod.write_register("PC", 0x100000)
    pod.write_memory(0x100000, bytes.fromhex("4e714afa"), size=2)
    pod.go()
    while pod.background is None:  # poll until it halts
        time.sleep(0.01)
    # A BGND entry leaves PC past the BGND: its address plus 2.
    assert pod.read_register("PC") == 0x100004
    print(pod.registers())
    print(hex(pod.bus_read(0xFFFA00, 2)))  # SIMCR

Pod.serve_gdb(scratch=...) serves one gdb session over the open pod. Types are in the package's stubs. Calls raise TransportError, ProtocolError, TargetError and BusError (the package's), and ValueError for what the bindings refuse before it reaches the pod: an unknown register name, an access size other than 1, 2 or 4, a function code past 7, a value wider than its access, or a closed pod.

The pod, its firmware and the bdm command line: https://github.com/charlieh0tel/mc683xx-bdm.

Metadata

Release files for mc683xx-bdm 0.3.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 mc683xx-bdm 0.3.0
File Size Uploaded Provenance Actions
mc683xx_bdm-0.3.0.tar.gz 189.6 kB With provenance Details for mc683xx_bdm-0.3.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mc683xx-bdm 0.3.0
File Actions
mc683xx_bdm-0.3.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for mc683xx_bdm-0.3.0-cp312-abi3-win_amd64.whl
mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details for mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details for mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
mc683xx_bdm-0.3.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for mc683xx_bdm-0.3.0-cp312-abi3-macosx_11_0_arm64.whl
mc683xx_bdm-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for mc683xx_bdm-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 2.5 MB

Release files / mc683xx_bdm-0.3.0.tar.gz

Download URL mc683xx_bdm-0.3.0.tar.gz
Size 189.6 kB
Tags Source
SHA-256 checksum
How to use checksums
fb1c80d1ef50f416ce10f59af1b4913a83806e2afff89e6579e73741c31f13d2
BLAKE2b-256 checksum
How to use checksums
33793258388038dc35a2a5a2edc4443a4928c495165f6882ea626c067a78e1a5
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 21, 2026.

Transparency log

Release files / mc683xx_bdm-0.3.0-cp312-abi3-win_amd64.whl

Download URL mc683xx_bdm-0.3.0-cp312-abi3-win_amd64.whl
Size 330.9 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
a2c72e7dc359973945d9fee100f9526123eefaaaca7ca71d3df875fce93d5178
BLAKE2b-256 checksum
How to use checksums
96f939ac33cd02e9ff1c1af8eb7e223c26bb9c572b27410e34562bc904433e1f
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 21, 2026.

Transparency log

Release files / mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 516.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
f8f131defd860dafb8de02c3e8bb69af032df879eaa6d166c296837e5fba6554
BLAKE2b-256 checksum
How to use checksums
149d69e2bd273aa1dfe428c222fbacbec925f6170955ff0a3f353aeecd7fe9d4
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 21, 2026.

Transparency log

Release files / mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL mc683xx_bdm-0.3.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 519.8 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
3331949514edc7a9120862daf7fe1997661ea57735b83b61295d68e57d2d33f0
BLAKE2b-256 checksum
How to use checksums
c486526e02d1a2214662a22ed9f90a05de32d426f8422190964e823cf08189f6
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 21, 2026.

Transparency log

Release files / mc683xx_bdm-0.3.0-cp312-abi3-macosx_11_0_arm64.whl

Download URL mc683xx_bdm-0.3.0-cp312-abi3-macosx_11_0_arm64.whl
Size 465.9 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
7772e6c794e2a486c6d04d9f63a5d45a3e19c51798a49e9db3d58a9202db78a9
BLAKE2b-256 checksum
How to use checksums
c104234ecc06973a25ce76c74ecdf0f4c0091b20ebc61288d9e2acc464696080
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 21, 2026.

Transparency log

Release files / mc683xx_bdm-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl

Download URL mc683xx_bdm-0.3.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 469.0 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
40c9f10e8e2762c0d76fe6a1b470acf5dca22c1ba5bbd7811ea3e3cefb5f7807
BLAKE2b-256 checksum
How to use checksums
a7ca8ac1fa3ff295ea28d286bf757086ce89b9129cc005c58b9629adb85d0534
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 21, 2026.

Transparency log

Security for mc683xx-bdm 0.3.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

All 6 files in this release have been uploaded with provenance metadata.

Select from 6 files

Attestation for mc683xx_bdm-0.3.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 21, 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.

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