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.4.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.4.0
File Size Uploaded Provenance Actions
mc683xx_bdm-0.4.0.tar.gz 196.9 kB With provenance Details for mc683xx_bdm-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for mc683xx-bdm 0.4.0
File Actions
mc683xx_bdm-0.4.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details for mc683xx_bdm-0.4.0-cp312-abi3-win_amd64.whl
mc683xx_bdm-0.4.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.4.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
mc683xx_bdm-0.4.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.12 abi3 Linux glibc 2.17+ ARM64 Details for mc683xx_bdm-0.4.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
mc683xx_bdm-0.4.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details for mc683xx_bdm-0.4.0-cp312-abi3-macosx_11_0_arm64.whl
mc683xx_bdm-0.4.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details for mc683xx_bdm-0.4.0-cp312-abi3-macosx_10_12_x86_64.whl

Total release size: 2.5 MB

Release files / mc683xx_bdm-0.4.0.tar.gz

Download URL mc683xx_bdm-0.4.0.tar.gz
Size 196.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d4b0518e9c3c5ac931de5329fe3b1630db606207a8c3165c3572ec7d9d4d2bf9
BLAKE2b-256 checksum
How to use checksums
2e4bbb94e01866ffcd5a084ed32fda96e7029f54b6291cf52b9cb515ea5ac499
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 22, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.4.0-cp312-abi3-win_amd64.whl
Size 334.1 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c4d117d77e25686f0b652990ffd9dd73a21758b4a5643571231c92edc4ae9a51
BLAKE2b-256 checksum
How to use checksums
8ce7d2a0fd547fcc72c4d11e6033e2d9d2a658e52bf2ad2b84727e8f80c21a57
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 22, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.4.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 518.4 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ee2d911bfe69d59756417d4722a1b0a2af25a070204780ad732f7df065703ae1
BLAKE2b-256 checksum
How to use checksums
22c88ffeda1ce268561b294a402b915080220bbd06e5f76862d8f905fbdf0530
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 22, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.4.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 519.2 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
97a51e73a4a523d2b22b925bb003466dae0933ec9d46e446cd3dabcd2d342e42
BLAKE2b-256 checksum
How to use checksums
3a8ba6d0b0a83d38b107972c767eb2786b82877d2ad7bce4f1a7515cfb2e9d93
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 22, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.4.0-cp312-abi3-macosx_11_0_arm64.whl
Size 466.3 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b6631d65e8fd03ae8b4fb761def548bb5277f315b8af3c4d448e5776812bdab2
BLAKE2b-256 checksum
How to use checksums
c36d3d9206ddd36807eda97e3af1470c69597c311a32105e7b0253ae40e86f36
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 22, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.4.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 471.5 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
b1d821cf9f35be521bce83f21066e15d0f904139aadf13399fb45a79162d55d2
BLAKE2b-256 checksum
How to use checksums
52833d0ad65207b80a75c77536a051badf885c5e28e440d942b5b470ee9fefb2
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 22, 2026.

Transparency log

Security for mc683xx-bdm 0.4.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.4.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 22, 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