It was the Raspberry repo of openocd. Apologies for this. On Sat, Feb 15, 2025, 17:05 Symdeb <happy.debugg...@gmail.com> wrote:
> Thanks. I did not modify the source. Will double check which source this > came from. > > On Sat, Feb 15, 2025, 16:27 Tomas Vanek <tom_...@users.sourceforge.net> > wrote: > >> On 15/02/2025 02:26, Symbolic Debugger wrote: >> >> Hi >> >> Trying to get a NanoDAP to work with a PICO2 via SWD. >> >> Changing the command according to the instruction does not work. >> >> openocd --command "adapter driver cmsis-dap; cmsis_dap_backend hid" >> Open On-Chip Debugger 0.12.0+dev-gcf9c0b41c-dirty (2025-02-15-08:55) >> Licensed under GNU GPL v2 >> For bug reports, read >> http://openocd.org/doc/doxygen/bugs.html >> *DEPRECATED! use 'cmsis-dap backend', not 'cmsis_dap_backend'* >> invalid backend argument to cmsis-dap backend <backend> >> >> openocd --command "adapter driver cmsis-dap; cmsis-dap backend hid" >> Open On-Chip Debugger 0.12.0+dev-gcf9c0b41c-dirty (2025-02-15-08:55) >> Licensed under GNU GPL v2 >> For bug reports, read >> http://openocd.org/doc/doxygen/bugs.html >> *invalid backend argument to cmsis-dap backend <backend>* >> >> Thanks >> >> >> I'm not able to reproduce the issue, >> >> openocd --command "adapter driver cmsis-dap; cmsis-dap backend hid" >> >> OpenOCD compiled from the current git master does not >> complain about invalid argument. >> >> Open On-Chip Debugger 0.12.0+dev-gcf9c0b41c-dirty (2025-02-15-08:55) >> >> >> Your OpenOCD is compiled from a modified source. Do you have tcl >> scripts in sync with the compiled binary? >> Anyway use non modified source from our git before reporting an issue. >> >> Tomas >> >>