Sparkfun pro micro - rp2350 debug problem

i hooked a pico debug probe (with the latest firmware) up to the units C and D pads and tried:

openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c “adapter speed 5000”

i got the following error:

Info : Listening on port 6666 for tcl connections

Info : Listening on port 4444 for telnet connections

Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6633861A39C662C

Info : CMSIS-DAP: SWD supported

Info : CMSIS-DAP: Atomic commands supported

Info : CMSIS-DAP: Test domain timer supported

Info : CMSIS-DAP: FW Version = 2.0.0

Info : CMSIS-DAP: Interface Initialised (SWD)

Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0

Info : CMSIS-DAP: Interface ready

Info : clock speed 5000 kHz

Error: Failed to connect multidrop rp2040.dap0

any clues as how to proceed? i tried using the same cmd line as above with rp2350.cfg but there was no config file for that

thanks for help

Hmmm…I just have some general suggestions

Check physical connections:
Make sure that the Pico debug probe is correctly connected to the target board’s SWD pins (SWCLK, SWDIO, GND, and VSYS).

Try a lower clock speed:
The 5000 kHz clock speed might be too high. Try reducing it:

openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 1000"

Update OpenOCD:
Ensure you’re using the latest version of OpenOCD that supports the RP2350

  1. Use verbose output:
    Add the -d flag to get more detailed debug information:
openocd -d -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 1000"

Try a different USB port/cable (can resolve some connection issues)

It is required to use rp2350.cfg for the RP2350. If you don’t have that file, you probably don’t have the latest OpenOCD installed. Please follow Raspberry Pi’s instructions in Appendix A here: https://datasheets.raspberrypi.com/pico/getting-started-with-pico.pdf

Thanks for all the help.

I used the getting-started-with-pico guide and was able to compile and install the rpi openocd program on my Mac (m1). I used an rpi debug probe to connect to the sparkfun rp2350 board.

Then i used the arm-none-eabi-gdb program (I used brew to install it) to connect to the openocd server.

It worked perfectly!