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.
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 |
# 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
- Learn how to Program and Debug Raspberry Pi Pico with SWD
- Raspberry Pi OpenOCD
- Install Arm GNU Toolchain on Ubuntu 22.04
- Flashing the NRF52840 with a Blackmagic Probe SWD/JTAG Programmer
- Using files and devices in Podman rootless containers
- Rootless podman using --device and --group-add keep-groups not working as expected
- Flashing RP2040 fails if NRST pin is connected
- Programming RP2040 with ST-LINK