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

General discussion • Debugging Pico2 riscv core

$
0
0
I posted an issue "Can't connect to rp2350 riscv core via jlink" over on the raspberry/openocd GitHub site (https://github.com/raspberrypi/openocd/issues/104). I thought perhaps I should get an RPi debug probe, but even after updating to v2.0.1 of the code I still can't connect: I run openocd via this script,

Code:

openocd                        \    -c "adapter speed 5000"                     \    -f interface/cmsis-dap.cfg                  \    -c "set USE_CORE 0"                         \    -f target/rp2350-riscv.cfg 
It fails in pretty-much the same way as the J-Link adaptor, with

Code:

$ gdbserver-rp2350Open On-Chip Debugger 0.12.0+dev-gebec9504d (2024-08-23-11:27)Licensed under GNU GPL v2For bug reports, readhttp://openocd.org/doc/doxygen/bugs.htmladapter speed: 5000 kHz0Info : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connectionsInfo : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6632891E30F8533Info : 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 kHzInfo : SWD DPIDR 0x4c013477Info : [rp2350.dap.core0] datacount=1 progbufsize=2Info : [rp2350.dap.core0] unavailable.Error: [rp2350.dap.core0] Examination failedWarn : target rp2350.dap.core0 examination failedInfo : starting gdb server for rp2350.dap.core0 on 3333Info : Listening on port 3333 for gdb connections
What am I missing???

Statistics: Posted by sjw — Wed Aug 28, 2024 4:07 pm — Replies 1 — Views 73



Viewing all articles
Browse latest Browse all 7513

Trending Articles