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.5.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.5.0
File Size Uploaded Provenance Actions
mc683xx_bdm-0.5.0.tar.gz 197.5 kB With provenance Details for mc683xx_bdm-0.5.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.5 MB

Release files / mc683xx_bdm-0.5.0.tar.gz

Download URL mc683xx_bdm-0.5.0.tar.gz
Size 197.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f36ad5599042154f3736c06bf87b2e48144039c75e23ee5b8e9258ca7b97dc1f
BLAKE2b-256 checksum
How to use checksums
9d7ddd2dead188791bcb2cb5144b4288f632ef868ac6f3caf11817004c9b87da
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 27, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.5.0-cp312-abi3-win_amd64.whl
Size 333.9 kB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
f3c58c5fade7796c101db7708db8569bd4a06da6d0eb017afee83e4945ed54d4
BLAKE2b-256 checksum
How to use checksums
1957a83d9076af0eedc75436578697dfbdcf658b318f61367100c7d94877154d
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 27, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.5.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 522.3 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
ca81f3db3e273a4036a194d435b4a7fcf071d515b2978659d2b5af44f2d78de0
BLAKE2b-256 checksum
How to use checksums
b290258bbf707eb25543a33c281834fd6b399793e6933195cde0d283bb5cc535
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 27, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.5.0-cp312-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 523.6 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
cf2f2d5baf771074be21fc40af13d0575ffac27bb46dca9e7689f2979f371728
BLAKE2b-256 checksum
How to use checksums
99658706aef32733fc15000c41aabdaad16b5d935ed818d660234807354718c7
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 27, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.5.0-cp312-abi3-macosx_11_0_arm64.whl
Size 471.9 kB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
1e5656b29653118ea33f25ccf47f9c8d023300d0d509db471c45073e6246a0dc
BLAKE2b-256 checksum
How to use checksums
fba756d0d4d4fb6393c25ac24eea322790478f40169dc5db026d04e28cd11b08
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 27, 2026.

Transparency log

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

Download URL mc683xx_bdm-0.5.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 476.0 kB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
7b09a43eaa7cdacbff128dd8e2b315c42f48a591413177325e2d2bd3454fdc7e
BLAKE2b-256 checksum
How to use checksums
17c78ba8b0511c46f2e31a518860ae92d271a2f362438aa1b1f7d5852bd6f890
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 27, 2026.

Transparency log

Security for mc683xx-bdm 0.5.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.5.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 27, 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