Dirk, https://github.com/raspberrypi/openocd.git
is a Raspberry Pi's fork of OpenOCD. Report errors to their github, not here. Tomas On 03/09/2025 17:07, Dirk-Willem van Gulik wrote:
Against OpenOCD head as of today (0.12.0+dev-g5855e5c (2025-09-03-13:57)) - I am getting an odd $ sudo openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" -c "program hello_serial.elf verify reset exit" ... Error: Target not examined yet Error: SYSINFO CHIP_ID read failed Error: auto_probe failed ** Programming Failed ** against two (otherwise brand new) Pico W on which the (Wifi) blink example via the BOOTSEL/usb-drive deploy works fine. And above OpenOCD command does seem to halt the CPU (blink stops, is restarted upon power cycle; so no erase). The debugger used is: https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html Which was updated to Debugprobe release v2.2.3 via: https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html#updating-the-firmware-on-the-debug-probe onhttps://github.com/raspberrypi/debugprobe/releases/tag/debugprobe-v2.2.3 in response to openocd suggesting this: Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6647C740388422C Warn : *** Warn : *** Old Raspberry Pi Debugprobe firmware detected (1.0.1) Warn : *** Using low-performance workaround Warn : *** Please update to the latest release at: Warn : ***https://github.com/raspberrypi/debugprobe/releases/latest Warn : *** This when following the canonical/simple hello world example at: https://www.raspberrypi.com/documentation/microcontrollers/debug-probe.html The short and full output is below. This is against: https://github.com/raspberrypi/openocd.git with the normal bootstrap - and make; to which I added ./configure --enable-picoprobe --disable-werror and for sanity purposes this against the hello workd/sdk of: https://github.com/raspberrypi/pico-sdk https://github.com/raspberrypi/pico-examples.git on OSX (24.6.0). Any suggestions - did I update to recent a version of the CMIS-DAP code ? Or is target/rp2350.cfg not yet ready for prime time ??? Any and all suggestions appreciated to get to the bottom of this. With kind regards, Dw. sudo openocd -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" -c "program hello_serial.elf verify reset exit" 2>&1 Open On-Chip Debugger 0.12.0+dev-g5855e5c (2025-09-03-13:57) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html Info : [rp2350.cm0] Hardware thread awareness created Info : [rp2350.cm1] Hardware thread awareness created ocd_process_reset_inner adapter speed: 5000 kHz Info : Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6647C740388422C 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 Info : SWD DPIDR 0x10212927 Info : [rp2350.cm0] become unavailable Info : [rp2350.cm1] become unavailable Info : [rp2350.cm0] starting gdb server on 3333 Info : Listening on port 3333 for gdb connections ** Programming Started ** Error: Target not examined yet Error: SYSINFO CHIP_ID read failed Error: auto_probe failed ** Programming Failed ** shutdown command invoked sudo openocd -d3 -f interface/cmsis-dap.cfg -f target/rp2350.cfg -c "adapter speed 5000" -c "program hello_serial.elf verify reset exit" 2>&1 Open On-Chip Debugger 0.12.0+dev-g5855e5c (2025-09-03-13:57) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 3 1 options.c:52 configuration_output_handler(): debug_level: 3User : 4 1 options.c:52 configuration_output_handler(): Debug: 5 1 options.c:348 parse_cmdline_args(): ARGV[0] = "openocd" Debug: 6 1 options.c:348 parse_cmdline_args(): ARGV[1] = "-d3" Debug: 7 1 options.c:348 parse_cmdline_args(): ARGV[2] = "-f" Debug: 8 1 options.c:348 parse_cmdline_args(): ARGV[3] = "interface/cmsis-dap.cfg" Debug: 9 1 options.c:348 parse_cmdline_args(): ARGV[4] = "-f" Debug: 10 1 options.c:348 parse_cmdline_args(): ARGV[5] = "target/rp2350.cfg" Debug: 11 1 options.c:348 parse_cmdline_args(): ARGV[6] = "-c" Debug: 12 1 options.c:348 parse_cmdline_args(): ARGV[7] = "adapter speed 5000" Debug: 13 1 options.c:348 parse_cmdline_args(): ARGV[8] = "-c" Debug: 14 1 options.c:348 parse_cmdline_args(): ARGV[9] = "program hello_serial.elf verify reset exit" Debug: 15 1 options.c:233 add_default_dirs(): bindir=/usr/local/bin Debug: 16 1 options.c:234 add_default_dirs(): pkgdatadir=/usr/local/share/openocd Debug: 17 1 options.c:235 add_default_dirs(): exepath=/usr/local/bin Debug: 18 1 options.c:236 add_default_dirs(): bin2data=../share/openocd Debug: 19 1 configuration.c:33 add_script_search_dir(): adding /Users/dirkx/Library/Preferences/org.openocd Debug: 20 1 configuration.c:33 add_script_search_dir(): adding /Users/dirkx/.config/openocd Debug: 21 1 configuration.c:33 add_script_search_dir(): adding /Users/dirkx/.openocd Debug: 22 1 configuration.c:33 add_script_search_dir(): adding /usr/local/bin/../share/openocd/site Debug: 23 1 configuration.c:33 add_script_search_dir(): adding /usr/local/bin/../share/openocd/scripts Debug: 24 1 command.c:86 script_debug(): command - ocd_find interface/cmsis-dap.cfg Debug: 25 2 configuration.c:89 find_file(): found /usr/local/bin/../share/openocd/scripts/interface/cmsis-dap.cfg Debug: 26 2 command.c:86 script_debug(): command - adapter driver cmsis-dap Debug: 27 2 command.c:86 script_debug(): command - ocd_find target/rp2350.cfg Debug: 28 2 configuration.c:89 find_file(): found /usr/local/bin/../share/openocd/scripts/target/rp2350.cfg Debug: 29 2 command.c:86 script_debug(): command - transport select swd Debug: 30 2 command.c:86 script_debug(): command - ocd_find bitsbytes.tcl Debug: 31 2 configuration.c:89 find_file(): found /usr/local/bin/../share/openocd/scripts/bitsbytes.tcl Debug: 32 2 command.c:86 script_debug(): command - ocd_find target/swj-dp.tcl Debug: 33 2 configuration.c:89 find_file(): found /usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl Debug: 34 2 command.c:86 script_debug(): command - transport select Debug: 35 2 command.c:86 script_debug(): command - transport select Debug: 36 2 command.c:86 script_debug(): command - transport select Debug: 37 2 command.c:86 script_debug(): command - swd newdap rp2350 cpu -expected-id 0x00040927 Debug: 38 2 tcl.c:405 handle_jtag_newtap_args(): Creating New Tap, Chip: rp2350, Tap: cpu, Dotted: rp2350.cpu, 2 params Debug: 39 2 core.c:1491 jtag_tap_init(): Created Tap: rp2350.cpu @ abs position 0, irlen 0, capture: 0x1 mask: 0x3 Debug: 40 2 command.c:86 script_debug(): command - dap create rp2350.dap -adiv6 -chain-position rp2350.cpu Debug: 41 2 command.c:86 script_debug(): command - target create rp2350.cm0 cortex_m -dap rp2350.dap -ap-num 0x2000 Debug: 42 2 command.c:191 register_command(): command 'tpiu' is already registered Debug: 43 2 command.c:191 register_command(): command 'rtt' is already registered Debug: 44 2 command.c:86 script_debug(): command - rp2350.cm0 cortex_m reset_config sysresetreq Debug: 45 2 command.c:86 script_debug(): command - rp2350.cm0 configure -event reset-init rp2xxx rom_api_call FC Debug: 46 2 command.c:86 script_debug(): command - rp2350.cm0 configure -event check-availability _cm_available_examine rp2350.cm0 rp2350.dap 0 Debug: 47 2 command.c:86 script_debug(): command - target create rp2350.cm1 cortex_m -dap rp2350.dap -ap-num 0x4000 Debug: 48 2 command.c:191 register_command(): command 'arm' is already registered Debug: 49 2 command.c:191 register_command(): command 'arm core_state' is already registered Debug: 50 2 command.c:191 register_command(): command 'arm disassemble' is already registered Debug: 51 2 command.c:191 register_command(): command 'arm semihosting' is already registered Debug: 52 2 command.c:191 register_command(): command 'arm semihosting_redirect' is already registered Debug: 53 2 command.c:191 register_command(): command 'arm semihosting_cmdline' is already registered Debug: 54 2 command.c:191 register_command(): command 'arm semihosting_fileio' is already registered Debug: 55 2 command.c:191 register_command(): command 'arm semihosting_resexit' is already registered Debug: 56 2 command.c:191 register_command(): command 'arm semihosting_read_user_param' is already registered Debug: 57 2 command.c:191 register_command(): command 'arm semihosting_basedir' is already registered Debug: 58 2 command.c:191 register_command(): command 'itm' is already registered Debug: 59 2 command.c:191 register_command(): command 'itm port' is already registered Debug: 60 2 command.c:191 register_command(): command 'itm ports' is already registered Debug: 61 2 command.c:191 register_command(): command 'tpiu' is already registered Debug: 62 2 command.c:191 register_command(): command 'tpiu config' is already registered Debug: 63 2 command.c:191 register_command(): command 'cortex_m' is already registered Debug: 64 2 command.c:191 register_command(): command 'cortex_m maskisr' is already registered Debug: 65 2 command.c:191 register_command(): command 'cortex_m vector_catch' is already registered Debug: 66 2 command.c:191 register_command(): command 'cortex_m reset_config' is already registered Debug: 67 2 command.c:191 register_command(): command 'cortex_m smp' is already registered Debug: 68 2 command.c:191 register_command(): command 'cortex_m smp_gdb' is already registered Debug: 69 2 command.c:191 register_command(): command 'rtt' is already registered Debug: 70 2 command.c:191 register_command(): command 'rtt setup' is already registered Debug: 71 2 command.c:191 register_command(): command 'rtt start' is already registered Debug: 72 2 command.c:191 register_command(): command 'rtt stop' is already registered Debug: 73 2 command.c:191 register_command(): command 'rtt polling_interval' is already registered Debug: 74 2 command.c:191 register_command(): command 'rtt channels' is already registered Debug: 75 2 command.c:191 register_command(): command 'rtt channellist' is already registered Debug: 76 2 command.c:86 script_debug(): command - rp2350.cm1 cortex_m reset_config sysresetreq Debug: 77 2 command.c:86 script_debug(): command - rp2350.cm1 configure -event check-availability _cm_available_examine rp2350.cm1 rp2350.dap 4 Debug: 78 2 command.c:86 script_debug(): command - rp2350.cm0 configure -rtos hwthread Info : 79 2 hwthread.c:410 hwthread_create(): [rp2350.cm0] Hardware thread awareness created Debug: 80 2 command.c:86 script_debug(): command - rp2350.cm1 configure -rtos hwthread Info : 81 3 hwthread.c:410 hwthread_create(): [rp2350.cm1] Hardware thread awareness created Debug: 82 3 command.c:86 script_debug(): command - target smp rp2350.cm0 rp2350.cm1 Debug: 83 3 target.c:6067 handle_target_smp(): 2 Debug: 84 3 target.c:6026 create_target_list_node(): rp2350.cm0 Debug: 85 3 target.c:6026 create_target_list_node(): rp2350.cm1 Debug: 86 3 hwthread.c:210 hwthread_update_threads(): [rp2350.cm1] current_thread=-1, threads_found=0 Debug: 87 3 command.c:86 script_debug(): command - rp2350.cm0 configure -work-area-phys 0x20010000 -work-area-size 0x10000 -work-area-backup 1 Debug: 88 3 target.c:2182 target_free_all_working_areas_restore(): freeing all working areas Debug: 89 3 target.c:2182 target_free_all_working_areas_restore(): freeing all working areas Debug: 90 3 target.c:2182 target_free_all_working_areas_restore(): freeing all working areas Debug: 91 3 command.c:86 script_debug(): command - flash bank rp2350.flash rp2xxx 0x10000000 0 0 0 rp2350.cm0 Debug: 92 3 tcl.c:1433 handle_flash_bank_command(): 'rp2xxx' driver usage field missing Debug: 93 3 command.c:86 script_debug(): command - flash bank rp2350.alias virtual 0x10000000 0 0 0 rp2350.cm1 rp2350.flash Debug: 94 3 tcl.c:1433 handle_flash_bank_command(): 'virtual' driver usage field missing Debug: 95 3 command.c:86 script_debug(): command - targets rp2350.cm0 User : 96 3 options.c:52 configuration_output_handler(): ocd_process_reset_innerUser : 97 3 options.c:52 configuration_output_handler(): Debug: 98 3 command.c:86 script_debug(): command - adapter speed 5000 Debug: 99 3 adapter.c:252 adapter_config_khz(): handle adapter khz Debug: 100 3 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 101 3 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value User : 102 3 options.c:52 configuration_output_handler(): adapter speed: 5000 kHzUser : 103 3 options.c:52 configuration_output_handler(): Debug: 104 3 command.c:86 script_debug(): command - init Debug: 105 3 command.c:86 script_debug(): command - target init Debug: 106 3 command.c:86 script_debug(): command - target names Debug: 107 3 command.c:86 script_debug(): command - rp2350.cm0 cget -event gdb-flash-erase-start Debug: 108 3 command.c:86 script_debug(): command - rp2350.cm0 configure -event gdb-flash-erase-start reset init Debug: 109 3 command.c:86 script_debug(): command - rp2350.cm0 cget -event gdb-flash-write-end Debug: 110 3 command.c:86 script_debug(): command - rp2350.cm0 configure -event gdb-flash-write-end reset halt Debug: 111 3 command.c:86 script_debug(): command - rp2350.cm0 cget -event gdb-attach Debug: 112 3 command.c:86 script_debug(): command - rp2350.cm0 configure -event gdb-attach halt 1000 Debug: 113 3 command.c:86 script_debug(): command - rp2350.cm1 cget -event gdb-flash-erase-start Debug: 114 3 command.c:86 script_debug(): command - rp2350.cm1 configure -event gdb-flash-erase-start reset init Debug: 115 3 command.c:86 script_debug(): command - rp2350.cm1 cget -event gdb-flash-write-end Debug: 116 3 command.c:86 script_debug(): command - rp2350.cm1 configure -event gdb-flash-write-end reset halt Debug: 117 3 command.c:86 script_debug(): command - rp2350.cm1 cget -event gdb-attach Debug: 118 3 command.c:86 script_debug(): command - rp2350.cm1 configure -event gdb-attach halt 1000 Debug: 119 3 target.c:1640 handle_target_init_command(): Initializing targets... Debug: 120 3 semihosting_common.c:109 semihosting_common_init(): Debug: 121 3 semihosting_common.c:109 semihosting_common_init(): Debug: 122 35 cmsis_dap_usb_bulk.c:170 cmsis_dap_usb_open(): found product string of 0x2e8a:0x000c 'Debug Probe (CMSIS-DAP)' Debug: 123 35 cmsis_dap_usb_bulk.c:190 cmsis_dap_usb_open(): enumerating interfaces of 0x2e8a:0x000c Debug: 124 35 cmsis_dap_usb_bulk.c:237 cmsis_dap_usb_open(): found interface 0 string 'CMSIS-DAP v2 Interface' Info : 125 35 cmsis_dap_usb_bulk.c:340 cmsis_dap_usb_open(): Using CMSIS-DAPv2 interface with VID:PID=0x2e8a:0x000c, serial=E6647C740388422C Debug: 126 48 cmsis_dap_usb_bulk.c:526 cmsis_dap_usb_read(): USB timeout @ 0 Info : 127 49 cmsis_dap.c:1179 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD supported Info : 128 49 cmsis_dap.c:1179 cmsis_dap_get_caps_info(): CMSIS-DAP: Atomic commands supported Info : 129 49 cmsis_dap.c:1179 cmsis_dap_get_caps_info(): CMSIS-DAP: Test domain timer supported Info : 130 49 cmsis_dap.c:1156 cmsis_dap_get_version_info(): CMSIS-DAP: FW Version = 2.0.0 Info : 131 49 cmsis_dap.c:1313 cmsis_dap_swd_open(): CMSIS-DAP: Interface Initialised (SWD) Debug: 132 50 cmsis_dap.c:1398 cmsis_dap_init(): CMSIS-DAP: Packet Count = 2 Debug: 133 50 cmsis_dap.c:1401 cmsis_dap_init(): Allocating FIFO for 2 pending packets Info : 134 50 cmsis_dap.c:1218 cmsis_dap_get_status(): SWCLK/TCK = 0 SWDIO/TMS = 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0 Info : 135 51 cmsis_dap.c:1453 cmsis_dap_init(): CMSIS-DAP: Interface ready Debug: 136 51 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 137 51 adapter.c:219 adapter_khz_to_speed(): have adapter set up Debug: 138 51 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value Debug: 139 51 adapter.c:219 adapter_khz_to_speed(): have adapter set up Info : 140 51 adapter.c:180 adapter_init(): clock speed 5000 kHz Debug: 141 51 openocd.c:133 handle_init_command(): Debug Adapter init complete Debug: 142 51 command.c:86 script_debug(): command - transport init Debug: 143 51 transport.c:274 handle_transport_init(): handle_transport_init Debug: 144 51 command.c:86 script_debug(): command - dap init Debug: 145 51 arm_dap.c:96 dap_init_all(): Initializing all DAPs ... Debug: 146 51 arm_dap.c:124 dap_init_all(): DAP rp2350.cpu configured to use ADIv6 protocol by user cfg file Debug: 147 51 cmsis_dap.c:1257 cmsis_dap_swd_switch_seq(): JTAG-to-SWD Debug: 148 52 cmsis_dap.c:951 cmsis_dap_swd_read_process(): SWD ack not OK @ 0 JUNK Debug: 149 53 cmsis_dap.c:1262 cmsis_dap_swd_switch_seq(): JTAG-to-DORMANT Debug: 150 53 cmsis_dap.c:1277 cmsis_dap_swd_switch_seq(): DORMANT-to-SWD Debug: 151 54 adi_v5_swd.c:404 swd_connect_single(): DP IDR 0x10212927 Info : 152 54 adi_v5_swd.c:498 swd_connect_single(): SWD DPIDR 0x10212927 Debug: 153 54 arm_adi_v5.c:783 dap_dp_init(): rp2350.dap Debug: 154 54 arm_adi_v5.c:815 dap_dp_init(): DAP: wait CDBGPWRUPACK Debug: 155 54 arm_adi_v5.h:683 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000 Debug: 156 54 arm_adi_v5.c:823 dap_dp_init(): DAP: wait CSYSPWRUPACK Debug: 157 54 arm_adi_v5.h:683 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000 Debug: 158 55 cmsis_dap.c:854 cmsis_dap_swd_write_from_queue(): refusing to enable sticky overrun detection Debug: 159 55 openocd.c:150 handle_init_command(): Examining targets... Debug: 160 55 target.c:4726 target_handle_event_ret(): target: rp2350.cm0 (cortex_m) event: 22 (check-availability) action: _cm_available_examine rp2350.cm0 rp2350.dap 0 Debug: 161 55 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 162 55 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 163 55 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Info : 164 55 target.c:509 target_check_availability(): [rp2350.cm0] become unavailable Debug: 165 55 target.c:4726 target_handle_event_ret(): target: rp2350.cm1 (cortex_m) event: 22 (check-availability) action: _cm_available_examine rp2350.cm1 rp2350.dap 4 Debug: 166 55 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 167 55 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 168 56 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Info : 169 56 target.c:509 target_check_availability(): [rp2350.cm1] become unavailable Debug: 170 56 command.c:86 script_debug(): command - flash init Debug: 171 56 tcl.c:1490 handle_flash_init_command(): Initializing flash devices... Debug: 172 56 command.c:86 script_debug(): command - nand init Debug: 173 56 tcl.c:484 handle_nand_init_command(): Initializing NAND devices... Debug: 174 56 command.c:86 script_debug(): command - pld init Debug: 175 56 pld.c:337 handle_pld_init_command(): Initializing PLDs... Debug: 176 56 command.c:86 script_debug(): command - tpiu init Info : 177 56 gdb_server.c:3861 gdb_target_start(): [rp2350.cm0] starting gdb server on 3333 Info : 178 56 server.c:299 add_service(): Listening on port 3333 for gdb connections Debug: 179 56 command.c:86 script_debug(): command - target names Debug: 180 56 command.c:86 script_debug(): command - target names Debug: 181 56 command.c:86 script_debug(): command - rp2350.cm0 cget -type Debug: 182 56 command.c:86 script_debug(): command - rp2350.cm1 cget -type Debug: 183 56 command.c:86 script_debug(): command - reset init Debug: 184 56 target.c:1846 target_call_reset_callbacks(): target reset 3 (init) Debug: 185 56 target.c:1846 target_call_reset_callbacks(): target reset 3 (init) Debug: 186 56 command.c:86 script_debug(): command - target names Debug: 187 56 command.c:86 script_debug(): command - rp2350.cm0 invoke-event reset-start Debug: 188 56 command.c:86 script_debug(): command - rp2350.cm1 invoke-event reset-start Debug: 189 56 command.c:86 script_debug(): command - transport select Debug: 190 56 command.c:86 script_debug(): command - transport select Debug: 191 56 command.c:86 script_debug(): command - rp2350.cm0 cget -dap Debug: 192 56 command.c:86 script_debug(): command - rp2350.cm0 cget -type Debug: 193 56 command.c:86 script_debug(): command - rp2350.cm0 cget -ap-num Debug: 194 56 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 195 56 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 196 56 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 197 56 command.c:86 script_debug(): command - transport select Debug: 198 56 command.c:86 script_debug(): command - rp2350.cm1 cget -dap Debug: 199 56 command.c:86 script_debug(): command - rp2350.cm1 cget -type Debug: 200 56 command.c:86 script_debug(): command - rp2350.cm1 cget -ap-num Debug: 201 56 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 202 56 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 203 56 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 204 57 command.c:86 script_debug(): command - rp2350.cm0 invoke-event reset-assert-pre Debug: 205 57 command.c:86 script_debug(): command - rp2350.cm1 invoke-event reset-assert-pre Debug: 206 57 command.c:86 script_debug(): command - transport select Debug: 207 57 command.c:86 script_debug(): command - rp2350.cm0 cget -dap Debug: 208 57 command.c:86 script_debug(): command - rp2350.cm0 cget -type Debug: 209 57 command.c:86 script_debug(): command - rp2350.cm0 cget -ap-num Debug: 210 57 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 211 57 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 212 57 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 213 57 command.c:86 script_debug(): command - transport select Debug: 214 57 command.c:86 script_debug(): command - rp2350.cm1 cget -dap Debug: 215 57 command.c:86 script_debug(): command - rp2350.cm1 cget -type Debug: 216 57 command.c:86 script_debug(): command - rp2350.cm1 cget -ap-num Debug: 217 57 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 218 57 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 219 57 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 220 57 command.c:86 script_debug(): command - rp2350.cm0 invoke-event reset-assert-post Debug: 221 57 command.c:86 script_debug(): command - rp2350.cm1 invoke-event reset-assert-post Debug: 222 57 command.c:86 script_debug(): command - rp2350.cm0 invoke-event reset-deassert-pre Debug: 223 57 command.c:86 script_debug(): command - rp2350.cm1 invoke-event reset-deassert-pre Debug: 224 57 command.c:86 script_debug(): command - transport select Debug: 225 57 command.c:86 script_debug(): command - rp2350.cm0 cget -dap Debug: 226 57 command.c:86 script_debug(): command - rp2350.cm0 cget -type Debug: 227 57 command.c:86 script_debug(): command - rp2350.cm0 cget -ap-num Debug: 228 57 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 229 57 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 230 58 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 231 58 command.c:86 script_debug(): command - transport select Debug: 232 58 command.c:86 script_debug(): command - rp2350.cm1 cget -dap Debug: 233 58 command.c:86 script_debug(): command - rp2350.cm1 cget -type Debug: 234 58 command.c:86 script_debug(): command - rp2350.cm1 cget -ap-num Debug: 235 58 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 236 58 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 237 58 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 238 58 command.c:86 script_debug(): command - rp2350.cm0 invoke-event reset-deassert-post Debug: 239 58 command.c:86 script_debug(): command - rp2350.cm1 invoke-event reset-deassert-post Debug: 240 58 command.c:86 script_debug(): command - transport select Debug: 241 58 command.c:86 script_debug(): command - rp2350.cm0 cget -dap Debug: 242 58 command.c:86 script_debug(): command - rp2350.cm0 cget -type Debug: 243 58 command.c:86 script_debug(): command - rp2350.cm0 cget -ap-num Debug: 244 58 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 245 58 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 246 58 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 247 58 command.c:86 script_debug(): command - transport select Debug: 248 58 command.c:86 script_debug(): command - rp2350.cm1 cget -dap Debug: 249 58 command.c:86 script_debug(): command - rp2350.cm1 cget -type Debug: 250 58 command.c:86 script_debug(): command - rp2350.cm1 cget -ap-num Debug: 251 58 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 252 58 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 253 58 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 254 59 command.c:86 script_debug(): command - transport select Debug: 255 59 command.c:86 script_debug(): command - rp2350.cm0 cget -dap Debug: 256 59 command.c:86 script_debug(): command - rp2350.cm0 cget -type Debug: 257 59 command.c:86 script_debug(): command - rp2350.cm0 cget -ap-num Debug: 258 59 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 259 59 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 260 59 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 261 59 command.c:86 script_debug(): command - transport select Debug: 262 59 command.c:86 script_debug(): command - rp2350.cm1 cget -dap Debug: 263 59 command.c:86 script_debug(): command - rp2350.cm1 cget -type Debug: 264 59 command.c:86 script_debug(): command - rp2350.cm1 cget -ap-num Debug: 265 59 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 266 59 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 267 59 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 268 59 command.c:86 script_debug(): command - rp2350.cm0 invoke-event reset-end Debug: 269 59 command.c:86 script_debug(): command - rp2350.cm1 invoke-event reset-end Debug: 270 59 target.c:4726 target_handle_event_ret(): target: rp2350.cm0 (cortex_m) event: 22 (check-availability) action: _cm_available_examine rp2350.cm0 rp2350.dap 0 Debug: 271 59 command.c:86 script_debug(): command - rp2350.dap apreg 0 0 Debug: 272 59 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 273 59 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 274 59 target.c:4726 target_handle_event_ret(): target: rp2350.cm1 (cortex_m) event: 22 (check-availability) action: _cm_available_examine rp2350.cm1 rp2350.dap 4 Debug: 275 59 command.c:86 script_debug(): command - rp2350.dap apreg 0 4 Debug: 276 59 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1 Debug: 277 59 arm_adi_v5.c:1218 dap_put_ap(): refcount AP#0x0 put 0 Debug: 278 60 command.c:86 script_debug(): command - echo ** Programming Started ** User : 279 60 command.c:607 handle_echo(): ** Programming Started ** Debug: 280 60 command.c:86 script_debug(): command - flash write_image erase hello_serial.elf Debug: 281 60 configuration.c:89 find_file(): found hello_serial.elf Debug: 282 60 image.c:69 autodetect_image_type(): ELF image detected. Debug: 283 60 configuration.c:89 find_file(): found hello_serial.elf Debug: 284 60 image.c:638 image_elf_read_headers(): ELF32 image detected. Error: 285 60 target.c:2605 target_read_u32(): Target not examined yet Error: 286 60 rp2xxx.c:1225 rp2xxx_flash_probe(): SYSINFO CHIP_ID read failed Error: 287 60 core.c:316 get_flash_bank_by_addr(): auto_probe failed Debug: 288 60 command.c:458 exec_command(): Command 'flash write_image' failed with error code -4 Debug: 289 60 command.c:86 script_debug(): command - echo ** Programming Failed ** User : 290 60 command.c:607 handle_echo(): ** Programming Failed ** Debug: 291 60 command.c:86 script_debug(): command - shutdown error User : 292 60 server.c:760 handle_shutdown_command(): shutdown command invoked Debug: 293 60 command.c:458 exec_command(): Command 'shutdown' failed with error code -4 User : 294 60 command.c:530 command_run_line(): Debug: 295 60 breakpoints.c:328 breakpoint_remove_all_internal(): [rp2350.cm0] Delete all breakpoints Debug: 296 60 breakpoints.c:328 breakpoint_remove_all_internal(): [rp2350.cm1] Delete all breakpoints Debug: 297 60 target.c:2182 target_free_all_working_areas_restore(): freeing all working areas Debug: 298 60 breakpoints.c:328 breakpoint_remove_all_internal(): [rp2350.cm1] Delete all breakpoints Debug: 299 60 target.c:2182 target_free_all_working_areas_restore(): freeing all working areas Debug: 300 60 cmsis_dap.c:1272 cmsis_dap_swd_switch_seq(): SWD-to-DORMANT Debug: 301 61 cmsis_dap.c:1282 cmsis_dap_swd_switch_seq(): DORMANT-to-JTAG