The debugger can and does tell you the real status, if you are really using it:
And when working: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
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: 20000 kHz
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Error: unable to find a matching CMSIS-DAP device
Code:
Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=XXXInfo : 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 20000 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 — Sat Feb 22, 2025 4:33 pm