Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Unable to swdp_scan since 1.9.0rc1 #1359

@chaten

Description

@chaten

When updating my BMP to rc1, I am unable to attach my RP2040 board.

rc0 seems to work, so there looks to be a regression between the two, perhaps related to Fixed the Cortex-M SWD attach regression that occurs when there is a delay between scan and attach [dragonmux]

Found: Black Magic Probe  v1.8.2
  Serial: 98B71791
  Port:  1-2
Erasing flash...
Flashing...
 100% |██████████████████████████████████████████████████| 106.24KiB/106.24KiB [4.34KiB/s 23s]
Black Magic Probe successfully rebooted into firmware version v1.9.0-rc1
mrc@mrc-devbox ~/Downloads $ arm-none-eabi-gdb
GNU gdb (Gentoo 12.1 vanilla) 12.1
(gdb) monitor tpwr enable
Enabling target power
(gdb) monitor swdp_scan
Target voltage: 3.2V
SW-DP scan failed!
Failed
(gdb) monitor swdp_scan
Target voltage: 3.3V
SW-DP scan failed!
Failed
(gdb) monitor swdp_scanQuit
(gdb) quit
mrc@mrc-devbox ~/Downloads $ bmputil flash blackmagic-native-v1_8_2.elf 
Found: Black Magic Probe v1.9.0-rc1
  Serial: 98B71791
  Port:  1-2
Erasing flash...
Flashing...
 100% |██████████████████████████████████████████████████| 102.16KiB/102.16KiB [4.32KiB/s 22s]
Black Magic Probe successfully rebooted into firmware version  v1.8.2
mrc@mrc-devbox ~/Downloads $ arm-none-eabi-gdb
GNU gdb (Gentoo 12.1 vanilla) 12.1
(gdb) monitor tpwr enable
Enabling target power
(gdb) monitor swdp_scan
Target voltage: 3.2V
Available Targets:
No. Att Driver
 1      Raspberry RP2040 M0+
 2      Raspberry RP2040 M0+
 3      Raspberry RP2040 Rescue(Attach to reset!) 
(gdb) quit
mrc@mrc-devbox ~/Downloads $ bmputil flash blackmagic-native-v1_9_0-rc0.elf 
Found: Black Magic Probe  v1.8.2
  Serial: 98B71791
  Port:  1-2
Erasing flash...
Flashing...
 100% |██████████████████████████████████████████████████| 106.29KiB/106.29KiB [4.34KiB/s 23s]
Black Magic Probe successfully rebooted into firmware version v1.9.0-rc0
mrc@mrc-devbox ~/Downloads $ arm-none-eabi-gdb
GNU gdb (Gentoo 12.1 vanilla) 12.1
(gdb) monitor tpwr enable
Enabling target power
(gdb) monitor swdp_scan
Target voltage: 3.2V
Available Targets:
No. Att Driver
 1      Raspberry RP2040 M0+
 2      Raspberry RP2040 M0+
 3      Raspberry RP2040 Rescue (Attach to reset!) 
(gdb) 

Metadata

Metadata

Assignees

No one assigned

    Labels

    BMP FirmwareBlack Magic Probe Firmware (not PC hosted software)BugConfirmed bugRegressionBug caused by a regression

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions