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