A USB background debug mode (BDM) pod for Motorola CPU32 microcontrollers (683xx), such as the MC68331. A Raspberry Pi Pico on a small carrier board drives the standard 10-pin BDM header through 5 V level translators. Firmware and host tools are in Rust.


Proven on an MC68331 from a Linux host; see docs/status.md for what works, what is untried, and the limits.
bdm, the udev rule and the firmware, from the
APT repository
(sudo apt-get install mc683xx-bdm) or a GitHub Release’s .deb.bdm bootsel, then copy
/usr/share/mc683xx-bdm/pod-fw-rp2040.uf2 onto the RPI-RP2 drive.bdm pins, bdm reset, then bdm regs.Don’t unplug the pod while its green LED is lit.
sudo apt-get install mc683xx-bdm # bdm, the udev rule, the UF2
cargo install mc683xx-bdm # bdm only
pip install mc683xx-bdm # the Python module mc683xx_bdm
Without the Debian package, install the udev rule by hand (docs/usage.md).
bdm, gdb, Python, udev.Hardware (hardware/): CERN-OHL-S-2.0. Everything else of the
project’s own: GPL-3.0-only. third_party/ documents are their
owners’ (third_party/NOTICE).