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

General discussion • pico probe on mac

$
0
0
Hello,

I'm Tom. I'm new to Pico and I'm working through the "getting-started-with-pico" . I have successfully built blink.c and can transfer the .uf2 file and I get the expected ouput on serial monitor. I am using a macbook pro m1 with VSCode. I built blink.c with the debug option. I'm in the directory that holds the blink.elf file. When I try to use the "sudo openocd" command to try my debug probe, I get the following.

MacBook-Pro-2 build % sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c
"program blink.elf verify reset exit"
Password:
Open On-Chip Debugger 0.12.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
openocd: option requires an argument -- c
zsh: command not found: program blink.elf verify reset exit

I have the -c argument in there, so I'm confused.

It looks like some kind of sytaxx error.

Any pointers would be appreciated.

Thanks

Tom

Statistics: Posted by thomasfoltz — Thu May 08, 2025 8:46 pm — Replies 0 — Views 13



Viewing all articles
Browse latest Browse all 7333

Trending Articles