No wonder as you're using the latest but too old release (0.12 from January 2023) and RP2350 flash support was merged in April 2025. Don't combine config files downloaded from untrustworthy sources with different OpenOCD binary. Either use fresh upstream git master (build from source or a prebuild pack) - it will support rp2350 except RISC-V cores, or use RPi fork https://github.com/raspberrypi/openocd for complete rp2350 support
--- **[tickets:#467] RP2350 flash fails with Incorrect RP2040 BOOT ROM version** **Status:** new **Milestone:** 0.12.0 **Labels:** PICO RP2350 **Created:** Fri Mar 06, 2026 09:22 AM UTC by symdeb **Last Updated:** Fri Mar 06, 2026 09:22 AM UTC **Owner:** nobody **Attachments:** - [openocd_rp2350.log](https://sourceforge.net/p/openocd/tickets/467/attachment/openocd_rp2350.log) (80.9 kB; text/x-log) - [rp2350_olddebugproberepo.cfg](https://sourceforge.net/p/openocd/tickets/467/attachment/rp2350_olddebugproberepo.cfg) (2.5 kB; application/octet-stream) - [rp2350_openocd_repo.cfg](https://sourceforge.net/p/openocd/tickets/467/attachment/rp2350_openocd_repo.cfg) (6.8 kB; application/octet-stream) - [rp2350_raspberry_repo.cfg](https://sourceforge.net/p/openocd/tickets/467/attachment/rp2350_raspberry_repo.cfg) (14.0 kB; application/octet-stream) Using an RP2040 pr RP2350 with a debugprobe firmware from the raspberry repo openocd install with sudo apt-get install it seem openocd is missing the rp2350.cfg so copied the .cfg file to ~~~ sudo cp rp2350.cfg /usr/share/openocd/scripts/target/. ~~~ Ubuntu 25.10 Targets 2040 and 2040W flash is fine: ~~~ sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program build/uart.elf verify reset exit ~~~ Targets 2350 and 2340W fail (elf file build with correct options for RP2350) ~~~ sudo openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" -c "program build/uart.elf verify reset exit" ~~~ There are several rp2350.cfg files around. Attached 3 versions. only olddebugproberepo.cfg found in an old openocd repo from raspberry downstream seems to work. the other can't even detect the board. the others are the ones from openocd repo, and the current raaspberry git openocd downstream repo ``` -rw-rw-r-- 1 user user 2494 Feb 15 2025 rp2350_olddebugproberepo.cfg -rw-rw-r-- 1 user user 6752 Mar 6 15:24 rp2350_openocd_repo.cfg -rw-rw-r-- 1 user user 14009 Mar 6 15:16 rp2350_raspberry_repo.cfg ``` The debug port seems to work ~~~ openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 1000" -c "tcl_port 6888" -c "telnet_port 5666" ~~~ ~~~ Open On-Chip Debugger 0.12.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : Hardware thread awareness created Info : Hardware thread awareness created Info : Hardware thread awareness created Info : Hardware thread awareness created cortex_m reset_config sysresetreq adapter speed: 1000 kHz Info : Listening on port 6888 for tcl connections Info : Listening on port 5666 for telnet connections Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6625C05E7877123 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 1000 kHz Info : SWD DPIDR 0x4c013477 Info : [rp2350.dap.core0] Cortex-M33 r1p0 processor detected Info : [rp2350.dap.core0] target has 8 breakpoints, 4 watchpoints Info : [rp2350.dap.core1] Cortex-M33 r1p0 processor detected Info : [rp2350.dap.core1] target has 8 breakpoints, 4 watchpoints Info : starting gdb server for rp2350.dap.core0 on 3333 ~~~ --- Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
