I'm following an official tutorial getting started.pdf . I got the sdk installed. Everything compiles and I can download uf2 files to the pico by pressing bootloader button. I wanted to load programs with another pico as a picoprobe.
I installed openOCD with
$ sudo apt install openocd
Then I tried to flash the blink.elf file from examples with
$ sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c
"program blink.elf verify reset exit"
It gives me this error:
embedded:startup.tcl:26: Error:
Can't find target/rp2040.cfg in procedure 'script'
at file "embedded:startup.tcl", line 26
I don't know what I'm doing wrong
Any help is appreciated
I installed openOCD with
$ sudo apt install openocd
Then I tried to flash the blink.elf file from examples with
$ sudo openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c
"program blink.elf verify reset exit"
It gives me this error:
embedded:startup.tcl:26: Error:
Can't find target/rp2040.cfg in procedure 'script'
at file "embedded:startup.tcl", line 26
I don't know what I'm doing wrong
Any help is appreciated
Statistics: Posted by teka — Thu May 16, 2024 7:05 pm — Replies 1 — Views 41