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.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 mc683xx-bdm 0.1.0
File Size Uploaded Provenance Actions
mc683xx_bdm-0.1.0.tar.gz 198.0 kB With provenance Details for mc683xx_bdm-0.1.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.5 MB

Release files / mc683xx_bdm-0.1.0.tar.gz

Download URL mc683xx_bdm-0.1.0.tar.gz
Size 198.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d086842a187156a4210164a889a569009d24afbb1fa426affbc750409623d7c8
BLAKE2b-256 checksum
How to use checksums
e3043610a6b68e7b3584d6d3030e6f0eb963b58e92f41f76ba16d5260da58fa1
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.1.0-cp310-abi3-win_amd64.whl

Download URL mc683xx_bdm-0.1.0-cp310-abi3-win_amd64.whl
Size 336.1 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
58999a4d4c7ee4e2813034e4c6e5872fb89e44ae23d3d69f475fd2334429084e
BLAKE2b-256 checksum
How to use checksums
87b6549a741ccf05ae69ef1b1148c6280205fb8fad0e78bf31ad3f19f413c3e0
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.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mc683xx_bdm-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 520.6 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
bf434b0e80b04ae298702006389f8456be319d298e5e1ebb2c7f79845463988b
BLAKE2b-256 checksum
How to use checksums
a4baaeff4dd72845e189a1a2f64779b67e7c2c6a4b3934d15220d226b524cd0d
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.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL mc683xx_bdm-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 521.9 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
6124e6ae0d3706f7dd20390f3f84b9d41eea091c0c489250803b2f50063f9ccd
BLAKE2b-256 checksum
How to use checksums
79100a44de0b6f91cbacfc8434ed9474792c3a1e75fffbcc195361686181c936
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.1.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL mc683xx_bdm-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Size 473.9 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
fcb3a2fecdbf4c3aff71694da4cdbab34d0d83c37fff9d6184f9cf0a544b4426
BLAKE2b-256 checksum
How to use checksums
5ab5b0f1b7aa239ba0883055fbc2d5ac8129809b6665d531a4fcb11b209e75af
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.1.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL mc683xx_bdm-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 471.3 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
ea97fd047815265be59639a94e8989f3c19a3c78b0d0d58e5810933839d92b4c
BLAKE2b-256 checksum
How to use checksums
626ac1d52a95ee6fd87fcd5d634e77ed66c3c48e2945f2ac46d1c403646a30b7
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.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

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

Select from 6 files

Attestation for mc683xx_bdm-0.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 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