I am using SWD debugging every day, at 24MHz, on many type of boards with RP2040, and RP2350A/B.
And I strongly advice against such sloppy methods (like Using Fishing Wire To Hold In Pin Headers) even at the default rate of 5MHz.
SWD needs reliable bidirectional signaling, just solder the pins, and use good cables/connectors.
P.S. In case of emergency can use some SMD hooks, but won't last long.
Pogo pins are better, but they are ugly.
And I strongly advice against such sloppy methods (like Using Fishing Wire To Hold In Pin Headers) even at the default rate of 5MHz.
SWD needs reliable bidirectional signaling, just solder the pins, and use good cables/connectors.
P.S. In case of emergency can use some SMD hooks, but won't last long.
Pogo pins are better, but they are ugly.
Code:
Open On-Chip Debugger 0.12.0+dev-gebec950-dirty (2024-11-25-10:23)Licensed under GNU GPL v2For bug reports, readhttp://openocd.org/doc/doxygen/bugs.htmlInfo : Hardware thread awareness createdInfo : Hardware thread awareness createdInfo : Hardware thread awareness createdInfo : Hardware thread awareness createdcortex_m reset_config sysresetreqadapter speed: 24000 kHzStarted by GNU MCU EclipseInfo : Listening on port 6666 for tcl connectionsInfo : Listening on port 4444 for telnet connectionsInfo : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=xxInfo : CMSIS-DAP: SWD supportedInfo : CMSIS-DAP: Atomic commands supportedInfo : CMSIS-DAP: Test domain timer supportedInfo : CMSIS-DAP: FW Version = 2.1.2Info : CMSIS-DAP: Serial# = xxInfo : CMSIS-DAP: Interface Initialised (SWD)Info : SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1Info : CMSIS-DAP: Interface readyInfo : clock speed 24000 kHzInfo : SWD DPIDR 0x4c013477Info : [rp2350.dap.core0] Cortex-M33 r1p0 processor detectedInfo : [rp2350.dap.core0] target has 8 breakpoints, 4 watchpointsInfo : [rp2350.dap.core0] Examination succeedInfo : [rp2350.dap.core1] Cortex-M33 r1p0 processor detectedInfo : [rp2350.dap.core1] target has 8 breakpoints, 4 watchpointsInfo : [rp2350.dap.core1] Examination succeedInfo : starting gdb server for rp2350.dap.core0 on 3333Info : Listening on port 3333 for gdb connectionsInfo : accepting 'gdb' connection on tcp/3333Info : RP2040 Flash Probe: 33554432 bytes @0x10000000, in 8192 sectorsInfo : New GDB Connection: 1, Target rp2350.dap.core0, state: haltedundefined debug reason 8 (UNDEFINED) - target needs resetWarn : Prefer GDB command "target extended-remote :3333" instead of "target remote :3333"Warn : [rp2350.dap.core1] VECTRESET is not supported on this Cortex-M core, using SYSRESETREQ instead.Warn : [rp2350.dap.core1] Set 'cortex_m reset_config sysresetreq'.[rp2350.dap.core0] halted due to breakpoint, current mode: Thread xPSR: 0xf9000000 pc: 0x00000088 msp: 0xf0000000[rp2350.dap.core1] halted due to debug-request, current mode: Thread xPSR: 0xf9000000 pc: 0x00000088 msp: 0xf0000000Statistics: Posted by gmx — Mon Apr 28, 2025 4:12 am