Add BDM hardware debugging support (P&E TBDML/USB Multilink, USBDM) #6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CodeWarrior's debugger connects to S12/S12X hardware through Background Debug Mode (BDM) probes (P&E TBDML, USB Multilink, USBDM, Abatron). This repo's GDB supports only
target sim; there is no hardware debugging path, so breakpoints, memory inspection, and register access on real hardware are impossible.Current state
gdb-simis configured with--enable-sim; the only working target is the instruction-set simulator (pkgs/gdb-sim.nix).Motivation
Proposed scope
target remoteover serial/USB) to a BDM probe, ortarget remotebrings up the right device.Acceptance criteria
m68hc11-elf-gdbconnects to a BDM probe and can halt/resume, set a breakpoint, and read/write CPU registers and memory on a real S12/S12X.-m68hc12and-m9s12xtargets.References
pkgs/gdb-sim.nixtests/s12/run-trace.sh,tests/s12/run-vectors.sh(existing GDB driver harness, currently sim-only)