After doing some Googling, I found a post saying that I'd need to add "-s tcl". I guess tcl needs to point to wherever my tcl folder is, so I gave this a try:I tried the below command from another link I found: https://community.element14.com/product ... windows-10
This doesn't work either:I'm assuming this is one step closer.. but I'm still stuck Image may be NSFW.
Clik here to view.
Code:
C:\pico\pico-projects\PIOCount\build>openocd -f interface/cmsis-dap.cfg -f target/rp2040.cfg -c "adapter speed 5000" -c "program counter_pio.elf verify reset exit" -s ../../../openocd/tclOpen On-Chip Debugger 0.12.0-g4d87f6d (2023-12-12-17:15)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlInfo : Hardware thread awareness createdInfo : Hardware thread awareness createdadapter speed: 5000 kHzInfo : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6614103E74F2225Info : CMSIS-DAP: SWD supportedInfo : CMSIS-DAP: Atomic commands supportedInfo : CMSIS-DAP: Test domain timer supportedInfo : CMSIS-DAP: FW Version = 2.0.0Info : CMSIS-DAP: Interface Initialised (SWD)Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0Info : CMSIS-DAP: Interface readyInfo : clock speed 5000 kHzError: Failed to connect multidrop rp2040.dap0in procedure 'program'** OpenOCD init failed **shutdown command invoked
This doesn't work either:
Code:
C:\pico\openocd>openocd -f interface/picoprobe.cfg -f target/rp2040.cfg -s tclOpen On-Chip Debugger 0.12.0-g4d87f6d (2023-12-12-17:15)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlembedded:startup.tcl:28: Error: Can't find interface/picoprobe.cfgin procedure 'script'at file "embedded:startup.tcl", line 28
Clik here to view.

Statistics: Posted by SparkyNZ — Tue Dec 12, 2023 4:52 am