Skip to content

Raspberry Pi Pico debugging with Black Magic Probe over SWD

Notifications You must be signed in to change notification settings

va1da5/bmp-rpi-pico-swd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Black Magic Probe With Raspberry Pi Pico

Disclaimer: The project does not work. Could not manage to make BMP using BluePill to talk to Raspberry Pi Pico. The repository will only act as notes/reference for future endeavors.

Wiring

BMP (Blue Pill) Function Raspberry Pi Pico
GND GND GND
SWCLK (37) SWCLK SWCLK (Serial Wire Clock)
SWIO (34) SWDIO SWDIO (Serial Wire Data I/O)
B4 nRST/JNTRST RESET/RUN
A3 (13) TRACESWO

Testing

# Target STM32F103 Blue Pill
# BMP          Target
# -------------------
# SWD    <-->  SWD
# SWCLK  <-->  SWCLK
# PB4    <-->  Reset
# 3V3    <-->  3V3
# GND    <-->  GND

$ arm-none-eabi-gdb
# GNU gdb (Arm GNU Toolchain 12.2.Rel1 (Build arm-12.24)) 12.1.90.20221210-git
# ...

(gdb) target extended-remote /dev/ttyBmpGdb
# Remote debugging using /dev/ttyBmpGdb

(gdb) monitor swdp_scan
Available Targets:
No. Att Driver
 1      STM32F1 medium density M3

# -----------------
# Target Raspberry Pi Pico

(gdb) monitor swdp_scan
SW-DP scan failed!
Failed

Raspberry Pi Pico Pinout

Raspberry Pi Pico Pinout

References

About

Raspberry Pi Pico debugging with Black Magic Probe over SWD

Topics

Resources

Stars

Watchers

Forks