Notes on using the Raspberry Pi Debug Probe for flashing and debugging ARM processors via SWD.
Raspberry Pi Debug Probe schematic: https://datasheets.raspberrypi.com/debug/raspberry-pi-debug-probe-schematics.pdf
Raspberry Pi Debug Probe mechanical drawing: https://datasheets.raspberrypi.com/debug/raspberry-pi-debug-probe-mechanical-drawing.pdf
The Raspberry Pi Debug Probe uses a compact 3-pin "JST SH" connector.
Debug Probe datasheet incl connector: https://datasheets.raspberrypi.com/debug/debug-connector-specification.pdf
The standard ARM debug interface uses a 2x5 1.27 mm pitch (high density) connector, e.g. HAB-VCR-010-LF.
To connect the Debug Probe to the ARM connector i use the Olimex ARM JTAG adapter board.
Use the "JST SH to 3 male pins" cable that comes with the Debug Probe. Connect the pins to the 2x10 2.54 mm pitch connector of the ARM JTAG adapter board:
Signal | Debug Probe | Olimex ARM JTAG adapter |
---|---|---|
SWDCLK | Orange | pin 9 |
SWDDIO | Yellow | pin 7 |
Ground | Black | any of pins 4, 6, 8, 10, or 12 |
Needs probe-rs 0.26 or newer.
Assemble the enclosure using two M3 heat-set threaded inserts and two button-head M3 screws. I prefer to use nylon screws so that the outside of the enclosure is electrically non-conductive, but the screw holes are countersunk so that the heads are recessed below the surface, so you do you.