Sharing my progress limited as it is.
It seems clear there is no official version of openocd that supports RP2350.
At some point in the past raspberry pi had a github repo openocd-2350 but it is gone.
I saw a link to it on the official openocd repo on gerrit.
The openocd available to install on a raspberry pi 4 does not have support for RP2350.
More details if you want them.
I'm a software guy but I broke out the soldering iron and soldered the headers on the PICO 2 and the three header pins for the debug port.
Picture of my work included. Don't be too critical![Smile :-)]()
The Pico 2 worked fine with thonny and a USB cable.
I moved on to trying the debug probe.
I tried launching openocd the usual way:
Openocd would not connect but minicom would.
I had a thought and googled "openocd rp2350.cfg". I got some hits from the gerrit site for openocd.
I am not gerrit literate.
I blindly downloaded the file and copied it to /usr/share/openocd/scripts/target.
I tried the commandOpenocd now connected but gdb did not.
I am successful using the debug probe and gdb with a PICO H.
It seems clear there is no official version of openocd that supports RP2350.
At some point in the past raspberry pi had a github repo openocd-2350 but it is gone.
I saw a link to it on the official openocd repo on gerrit.
The openocd available to install on a raspberry pi 4 does not have support for RP2350.
More details if you want them.
I'm a software guy but I broke out the soldering iron and soldered the headers on the PICO 2 and the three header pins for the debug port.
Picture of my work included. Don't be too critical

The Pico 2 worked fine with thonny and a USB cable.
I moved on to trying the debug probe.
I tried launching openocd the usual way:
Code:
sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000"
I had a thought and googled "openocd rp2350.cfg". I got some hits from the gerrit site for openocd.
I am not gerrit literate.
I blindly downloaded the file and copied it to /usr/share/openocd/scripts/target.
I tried the command
Code:
sudo openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000"
I am successful using the debug probe and gdb with a PICO H.
Statistics: Posted by cpottle9 — Sat Jan 11, 2025 9:27 pm