Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8621

SDK • Re: Debugging C on 2350 with VSCode

$
0
0
Its not gdb, its openocd. If I run the same thing in a terminal I get:

openocd -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s /Users/petedouma/Projects/blink2 -f /Users/petedouma/.vscode/extensions/marus25.cortex-debug-1.12.1/support/openocd-helpers.tcl -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000"
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
CDLiveWatchSetup
embedded:startup.tcl:28: Error: Can't find target/rp2350.cfg
in procedure 'script'
at file "embedded:startup.tcl", line 28

I'm on a Mac and installed openocd with brew, but it does not have the rp2350.cfg.

Statistics: Posted by CrabbyPete — Thu Mar 20, 2025 10:07 pm



Viewing all articles
Browse latest Browse all 8621

Trending Articles