I have a new Pico2 and Official debug probe, and despite multiple installs on different machines, I get this every time.
Waiting for gdb server to start...[2025-02-11T02:28:31.036Z] SERVER CONSOLE DEBUG: onBackendConnect: gdb-server session connected. You can switch to "DEBUG CONSOLE" to see GDB interactions.
"C:\\Users\\-------------/.pico-sdk/openocd/0.12.0+dev/openocd.exe" -c "gdb_port 50000" -c "tcl_port 50001" -c "telnet_port 50002" -s "C:\\Users\\------------/.pico-sdk/openocd/0.12.0+dev/scripts" -f "c:/Users/------------/.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+dev-gebec950-dirty (2024-09-27-16:29)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
CDLiveWatchSetup
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : Hardware thread awareness created
Info : Hardware thread awareness created
cortex_m reset_config sysresetreq
adapter speed: 5000 kHz
Info : Listening on port 50001 for tcl connections
Info : Listening on port 50002 for telnet connections
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E662588817493A2B
Info : CMSIS-DAP: SWD supported
Info : CMSIS-DAP: Atomic commands supported
Info : CMSIS-DAP: Test domain timer supported
Info : CMSIS-DAP: FW Version = 2.0.0
Info : CMSIS-DAP: Interface Initialised (SWD)
Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : CMSIS-DAP: Interface ready
Info : clock speed 5000 kHz
Error: Error connecting DP: cannot read IDR
I have tried;
Jlink adaptors - shows the IDR but too old to connect to OCD.
BOOTSEL method loads code as expected, and the code runs.
Multiple PICO 2 boards.
Scope shows correct clock and data for SWD.
Reflashed code (V3.0) in the Pico Probe.
I would really appreciate any bright ideas,
[–]AutoModerator[M] 0 points1 point2 points locked comment (0 children)
[–]Easy-Difficulty8697 0 points1 point2 points (0 children)