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.2.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.2.0
File Size Uploaded Provenance Actions
mc683xx_bdm-0.2.0.tar.gz 199.6 kB With provenance Details for mc683xx_bdm-0.2.0.tar.gz

Built distributions (wheels)

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

Total release size: 2.5 MB

Release files / mc683xx_bdm-0.2.0.tar.gz

Download URL mc683xx_bdm-0.2.0.tar.gz
Size 199.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f45917289fe69bac27e30cd25bcdb3daf40a286620cbb7161133bd625f3220ac
BLAKE2b-256 checksum
How to use checksums
928a205dea0365bccddfce77697e0066cb86ca1b3403f4c61f20c528a109d606
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.2.0-cp310-abi3-win_amd64.whl

Download URL mc683xx_bdm-0.2.0-cp310-abi3-win_amd64.whl
Size 337.3 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
07a436d3148a08edffc1547e971663f97458c7954daaa42cb539f6ef62021b77
BLAKE2b-256 checksum
How to use checksums
41489317cdc69cb24713268a5beaef63ceb70f270a8b042cecfd6225bc31d8a0
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.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL mc683xx_bdm-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 520.5 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
cc4cb824cf5293e5c1a8d9eb7b0b3b945e456ee83a8e97ae4264db64e2ab665e
BLAKE2b-256 checksum
How to use checksums
5902e0ddb19778862baee2ca2a6cd0d52a94c490d6412bd6dbb1aa639f4614ec
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.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL mc683xx_bdm-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 523.4 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
c7c3d195ea74b408b11e1345855ae6264ce87f710951b4ffba789f5d6efb14db
BLAKE2b-256 checksum
How to use checksums
b3943702ef95f172f7b86978930b7bf2fffd39b55153b807652d173db9685056
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.2.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL mc683xx_bdm-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Size 473.7 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
330c590661b167ccb3036a74c7c84461fff9de59ad3c7ae267770630c55da9e3
BLAKE2b-256 checksum
How to use checksums
989c322a47d953dcc6ad169cbc0243d0d6dafa398749a0392613ff8ce5e80856
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.2.0-cp310-abi3-macosx_10_12_x86_64.whl

Download URL mc683xx_bdm-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl
Size 471.4 kB
Tags CPython 3.10 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
e5269d7571ffebcddde41689aab7ad47139f34dc984c37af98097e345f616464
BLAKE2b-256 checksum
How to use checksums
d825fdd571ff025e881a82e47f41f272285407e6215875bac43ed0c3d97ec935
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.2.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.2.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