Hi,
I found the following behavior which generates tons of error messages.
*OS:*
Win11 + WSL + Ubuntu 22.04.5 LTS + usbipd-win
*Target PCB/board description*: Raspberry Pi Pico W board RP2040
*Configuration scripts: *openocd.cfg
source [find interface/cmsis-dap.cfg]
source [find target/rp2040.cfg]
adapter speed 1000
*OpenOCD command line:*
/usr/local/bin/openocd -d
*GDB Version:*
Package: gdb-multiarch
Version: 12.1-0ubuntu1~22.04.2
Priority: optional
Section: universe/devel
Source: gdb
Origin: Ubuntu
*List of commands issued or GDB operations performed*
gdb-multiarch build/hello_world.elf
target remote localhost:3333
load
monitor reset halt
continue
*Expected result*
No error reports.
*Actual result*
Both the GDB and OpenOCD terminal windows is flooded by the following error
logs:
*Error: 12463 388465 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy
command USB transfer at 0Error: 12464 388466 cmsis_dap_usb_bulk.c:547
cmsis_dap_usb_write(): USB write: late transfer competed*
Note:
The error pops up in the OpenOCD terminal continuously even without GDB
connection.
The error pops up in GDB only when the target is running (continue, step,
etc).
I wanted to try with *cmsis-dap quirk enable* but that option resulted in a
segfault as it was described in
https://sourceforge.net/p/openocd/tickets/420/.
Basic GDB commands seem to work properly so it seems "only" the UI
(terminal) is cluttered with tons of error messages however these are
logged with error level so I wanted to report this.
*Logs using debug_level 3 (or with '-d 3' on the command line)*
I attached a short GDB and OpenOCD log as text files with limited number
error messages.
Thanks in advance.
Best regards,
Quentis Ghyll
GNU gdb (Ubuntu 12.1-0ubuntu1~22.04.2) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from build/hello_world.elf...
(gdb) target remote localhost:3333
Remote debugging using localhost:3333
warning: multi-threaded target stopped without sending a thread-id, using first
non-exited thread
0x1000144e in timer_time_reached (t=11902229, timer=0x40054000) at
/home/quentisgh/repos/rpico/pico-sdk/src/rp2_common/hardware_timer/include/hardware/timer.h:323
323 uint32_t hi = timer->timerawh;
(gdb) load
Loading section .boot2, size 0x100 lma 0x10000000
Loading section .text, size 0x72cc lma 0x10000100
Loading section .rodata, size 0x393f4 lma 0x100073d0
Loading section .binary_info, size 0x28 lma 0x100407c4
Loading section .data, size 0x598 lma 0x100407ec
Start address 0x100001e8, load size 265600
Transfer rate: 11 KB/sec, 13280 bytes/write.
(gdb) monitor reset halt
[rp2040.core0] halted due to breakpoint, current mode: Thread
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
[rp2040.core1] halted due to breakpoint, current mode: Thread
xPSR: 0xf1000000 pc: 0x000000ea msp: 0x20041f00
(gdb) c
Continuing.
busy command USB transfer at 0
USB write: late transfer competed
busy command USB transfer at 0
USB write: late transfer competed
busy command USB transfer at 0
USB write: late transfer competed
Open On-Chip Debugger 0.12.0+dev-00801-g133dd9d66 (2024-12-01-18:58)
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:346 parse_cmdline_args(): ARGV[0] =
"/usr/local/bin/openocd"
Debug: 6 1 options.c:346 parse_cmdline_args(): ARGV[1] = "-d"
Debug: 7 1 options.c:233 add_default_dirs(): bindir=/usr/local/bin
Debug: 8 1 options.c:234 add_default_dirs(): pkgdatadir=/usr/local/share/openocd
Debug: 9 1 options.c:235 add_default_dirs(): exepath=/usr/local/bin
Debug: 10 1 options.c:236 add_default_dirs(): bin2data=../share/openocd
Debug: 11 1 configuration.c:33 add_script_search_dir(): adding
/home/quentisgh/.config/openocd
Debug: 12 1 configuration.c:33 add_script_search_dir(): adding
/home/quentisgh/.openocd
Debug: 13 1 configuration.c:33 add_script_search_dir(): adding
/usr/local/bin/../share/openocd/site
Debug: 14 1 configuration.c:33 add_script_search_dir(): adding
/usr/local/bin/../share/openocd/scripts
Debug: 15 1 command.c:153 script_debug(): command - ocd_find openocd.cfg
Debug: 16 1 configuration.c:88 find_file(): found openocd.cfg
Debug: 17 1 command.c:153 script_debug(): command - ocd_find
interface/cmsis-dap.cfg
Debug: 18 1 configuration.c:88 find_file(): found
/usr/local/bin/../share/openocd/scripts/interface/cmsis-dap.cfg
Debug: 19 1 command.c:153 script_debug(): command - adapter driver cmsis-dap
Debug: 20 1 command.c:153 script_debug(): command - ocd_find target/rp2040.cfg
Debug: 21 1 configuration.c:88 find_file(): found
/usr/local/bin/../share/openocd/scripts/target/rp2040.cfg
Debug: 22 1 command.c:153 script_debug(): command - transport select swd
Debug: 23 1 command.c:153 script_debug(): command - ocd_find target/swj-dp.tcl
Debug: 24 1 configuration.c:88 find_file(): found
/usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl
Debug: 25 1 command.c:153 script_debug(): command - transport select
Debug: 26 2 command.c:153 script_debug(): command - transport select
Debug: 27 2 command.c:153 script_debug(): command - transport select
Debug: 28 2 command.c:153 script_debug(): command - swd newdap rp2040 cpu
-expected-id 0x01002927
Debug: 29 2 tcl.c:404 handle_jtag_newtap_args(): Creating New Tap, Chip:
rp2040, Tap: cpu, Dotted: rp2040.cpu, 2 params
Debug: 30 2 core.c:1481 jtag_tap_init(): Created Tap: rp2040.cpu @ abs position
0, irlen 0, capture: 0x1 mask: 0x3
Debug: 31 2 command.c:153 script_debug(): command - dap create rp2040.dap0
-chain-position rp2040.cpu -dp-id 0x01002927 -instance-id 0
Debug: 32 2 command.c:153 script_debug(): command - target create rp2040.core0
cortex_m -dap rp2040.dap0 -coreid 0
Debug: 33 2 command.c:259 register_command(): command 'tpiu' is already
registered
Debug: 34 2 command.c:259 register_command(): command 'rtt' is already
registered
Debug: 35 2 command.c:153 script_debug(): command - rp2040.core0 cortex_m
reset_config sysresetreq
Debug: 36 2 command.c:153 script_debug(): command - dap create rp2040.dap1
-chain-position rp2040.cpu -dp-id 0x01002927 -instance-id 1
Debug: 37 2 command.c:153 script_debug(): command - target create rp2040.core1
cortex_m -dap rp2040.dap1 -coreid 1
Debug: 38 2 command.c:259 register_command(): command 'arm' is already
registered
Debug: 39 2 command.c:259 register_command(): command 'arm core_state' is
already registered
Debug: 40 2 command.c:259 register_command(): command 'arm disassemble' is
already registered
Debug: 41 2 command.c:259 register_command(): command 'arm semihosting' is
already registered
Debug: 42 2 command.c:259 register_command(): command 'arm
semihosting_redirect' is already registered
Debug: 43 2 command.c:259 register_command(): command 'arm semihosting_cmdline'
is already registered
Debug: 44 2 command.c:259 register_command(): command 'arm semihosting_fileio'
is already registered
Debug: 45 2 command.c:259 register_command(): command 'arm semihosting_resexit'
is already registered
Debug: 46 2 command.c:259 register_command(): command 'arm
semihosting_read_user_param' is already registered
Debug: 47 2 command.c:259 register_command(): command 'arm semihosting_basedir'
is already registered
Debug: 48 2 command.c:259 register_command(): command 'itm' is already
registered
Debug: 49 2 command.c:259 register_command(): command 'itm port' is already
registered
Debug: 50 2 command.c:259 register_command(): command 'itm ports' is already
registered
Debug: 51 2 command.c:259 register_command(): command 'tpiu' is already
registered
Debug: 52 2 command.c:259 register_command(): command 'tpiu config' is already
registered
Debug: 53 2 command.c:259 register_command(): command 'cortex_m' is already
registered
Debug: 54 2 command.c:259 register_command(): command 'cortex_m maskisr' is
already registered
Debug: 55 2 command.c:259 register_command(): command 'cortex_m vector_catch'
is already registered
Debug: 56 2 command.c:259 register_command(): command 'cortex_m reset_config'
is already registered
Debug: 57 2 command.c:259 register_command(): command 'cortex_m smp' is already
registered
Debug: 58 2 command.c:259 register_command(): command 'cortex_m smp_gdb' is
already registered
Debug: 59 2 command.c:259 register_command(): command 'rtt' is already
registered
Debug: 60 2 command.c:259 register_command(): command 'rtt setup' is already
registered
Debug: 61 2 command.c:259 register_command(): command 'rtt start' is already
registered
Debug: 62 2 command.c:259 register_command(): command 'rtt stop' is already
registered
Debug: 63 2 command.c:259 register_command(): command 'rtt polling_interval' is
already registered
Debug: 64 2 command.c:259 register_command(): command 'rtt channels' is already
registered
Debug: 65 2 command.c:259 register_command(): command 'rtt channellist' is
already registered
Debug: 66 2 command.c:153 script_debug(): command - rp2040.core1 cortex_m
reset_config sysresetreq
Debug: 67 2 command.c:153 script_debug(): command - rp2040.core0 configure
-rtos hwthread
Info : 68 2 hwthread.c:407 hwthread_create(): Hardware thread awareness created
Debug: 69 2 command.c:153 script_debug(): command - rp2040.core1 configure
-rtos hwthread
Info : 70 2 hwthread.c:407 hwthread_create(): Hardware thread awareness created
Debug: 71 2 command.c:153 script_debug(): command - target smp rp2040.core0
rp2040.core1
Debug: 72 2 target.c:6016 handle_target_smp(): 2
Debug: 73 2 target.c:5975 create_target_list_node(): rp2040.core0
Debug: 74 2 target.c:5975 create_target_list_node(): rp2040.core1
Debug: 75 2 hwthread.c:209 hwthread_update_threads(): hwthread_update_threads
current_thread=-1
Debug: 76 2 command.c:153 script_debug(): command - rp2040.core0 configure
-work-area-phys 0x20010000 -work-area-size 0x10000 -work-area-backup 1
Debug: 77 2 target.c:2130 target_free_all_working_areas_restore(): freeing all
working areas
Debug: 78 2 target.c:2130 target_free_all_working_areas_restore(): freeing all
working areas
Debug: 79 2 target.c:2130 target_free_all_working_areas_restore(): freeing all
working areas
Debug: 80 2 command.c:153 script_debug(): command - flash bank rp2040.flash
rp2040_flash 0x10000000 0 0 0 rp2040.core0
Debug: 81 2 tcl.c:1307 handle_flash_bank_command(): 'rp2040_flash' driver usage
field missing
Debug: 82 2 command.c:153 script_debug(): command - flash bank rp2040.alias
virtual 0x10000000 0 0 0 rp2040.core1 rp2040.flash
Debug: 83 2 tcl.c:1307 handle_flash_bank_command(): 'virtual' driver usage
field missing
Debug: 84 2 command.c:153 script_debug(): command - targets rp2040.core0
Debug: 85 2 command.c:153 script_debug(): command - adapter speed 1000
Debug: 86 2 adapter.c:253 adapter_config_khz(): handle adapter khz
Debug: 87 2 adapter.c:216 adapter_khz_to_speed(): convert khz to adapter
specific speed value
Debug: 88 2 adapter.c:216 adapter_khz_to_speed(): convert khz to adapter
specific speed value
User : 89 2 options.c:52 configuration_output_handler(): adapter speed: 1000
kHzUser : 90 2 options.c:52 configuration_output_handler():
Info : 91 2 server.c:298 add_service(): Listening on port 6666 for tcl
connections
Info : 92 2 server.c:298 add_service(): Listening on port 4444 for telnet
connections
Debug: 93 2 command.c:153 script_debug(): command - init
Debug: 94 2 command.c:153 script_debug(): command - target init
Debug: 95 2 command.c:153 script_debug(): command - target names
Debug: 96 2 command.c:153 script_debug(): command - rp2040.core0 cget -event
gdb-flash-erase-start
Debug: 97 3 command.c:153 script_debug(): command - rp2040.core0 configure
-event gdb-flash-erase-start reset init
Debug: 98 3 command.c:153 script_debug(): command - rp2040.core0 cget -event
gdb-flash-write-end
Debug: 99 3 command.c:153 script_debug(): command - rp2040.core0 configure
-event gdb-flash-write-end reset halt
Debug: 100 3 command.c:153 script_debug(): command - rp2040.core0 cget -event
gdb-attach
Debug: 101 3 command.c:153 script_debug(): command - rp2040.core0 configure
-event gdb-attach halt 1000
Debug: 102 3 command.c:153 script_debug(): command - rp2040.core1 cget -event
gdb-flash-erase-start
Debug: 103 3 command.c:153 script_debug(): command - rp2040.core1 configure
-event gdb-flash-erase-start reset init
Debug: 104 3 command.c:153 script_debug(): command - rp2040.core1 cget -event
gdb-flash-write-end
Debug: 105 3 command.c:153 script_debug(): command - rp2040.core1 configure
-event gdb-flash-write-end reset halt
Debug: 106 3 command.c:153 script_debug(): command - rp2040.core1 cget -event
gdb-attach
Debug: 107 3 command.c:153 script_debug(): command - rp2040.core1 configure
-event gdb-attach halt 1000
Debug: 108 3 target.c:1588 handle_target_init_command(): Initializing targets...
Debug: 109 3 semihosting_common.c:109 semihosting_common_init():
Debug: 110 3 semihosting_common.c:109 semihosting_common_init():
Debug: 111 4 cmsis_dap_usb_bulk.c:124 cmsis_dap_usb_open(): could not open
device 0x1d6b:0x0003: Access denied (insufficient permissions)
Debug: 112 9 cmsis_dap_usb_bulk.c:169 cmsis_dap_usb_open(): found product
string of 0x2e8a:0x000c 'Debug Probe (CMSIS-DAP)'
Debug: 113 9 cmsis_dap_usb_bulk.c:189 cmsis_dap_usb_open(): enumerating
interfaces of 0x2e8a:0x000c
Debug: 114 11 cmsis_dap_usb_bulk.c:236 cmsis_dap_usb_open(): found interface 0
string 'CMSIS-DAP v2 Interface'
Info : 115 11 cmsis_dap_usb_bulk.c:339 cmsis_dap_usb_open(): Using CMSIS-DAPv2
interface with VID:PID=0x2e8a:0x000c, serial=E6616407E3103A29
Debug: 116 25 cmsis_dap_usb_bulk.c:508 cmsis_dap_usb_read(): USB timeout @ 0
Info : 117 26 cmsis_dap.c:1174 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD
supported
Info : 118 26 cmsis_dap.c:1174 cmsis_dap_get_caps_info(): CMSIS-DAP: Atomic
commands supported
Info : 119 26 cmsis_dap.c:1174 cmsis_dap_get_caps_info(): CMSIS-DAP: Test
domain timer supported
Info : 120 27 cmsis_dap.c:1151 cmsis_dap_get_version_info(): CMSIS-DAP: FW
Version = 2.0.0
Info : 121 29 cmsis_dap.c:1308 cmsis_dap_swd_open(): CMSIS-DAP: Interface
Initialised (SWD)
Debug: 122 31 cmsis_dap.c:1393 cmsis_dap_init(): CMSIS-DAP: Packet Count = 2
Debug: 123 31 cmsis_dap.c:1396 cmsis_dap_init(): Allocating FIFO for 2 pending
packets
Info : 124 31 cmsis_dap.c:1207 cmsis_dap_get_status(): SWCLK/TCK = 0 SWDIO/TMS
= 0 TDI = 0 TDO = 0 nTRST = 0 nRESET = 0
Info : 125 35 cmsis_dap.c:1448 cmsis_dap_init(): CMSIS-DAP: Interface ready
Debug: 126 35 adapter.c:216 adapter_khz_to_speed(): convert khz to adapter
specific speed value
Debug: 127 35 adapter.c:220 adapter_khz_to_speed(): have adapter set up
Debug: 128 36 adapter.c:216 adapter_khz_to_speed(): convert khz to adapter
specific speed value
Debug: 129 36 adapter.c:220 adapter_khz_to_speed(): have adapter set up
Info : 130 36 adapter.c:180 adapter_init(): clock speed 1000 kHz
Debug: 131 36 openocd.c:133 handle_init_command(): Debug Adapter init complete
Debug: 132 36 command.c:153 script_debug(): command - transport init
Debug: 133 36 transport.c:219 handle_transport_init(): handle_transport_init
Debug: 134 36 command.c:153 script_debug(): command - dap init
Debug: 135 36 arm_dap.c:96 dap_init_all(): Initializing all DAPs ...
Debug: 136 36 arm_dap.c:120 dap_init_all(): DAP rp2040.cpu configured by
default to use ADIv5 protocol
Debug: 137 36 cmsis_dap.c:1257 cmsis_dap_swd_switch_seq(): JTAG-to-DORMANT
Debug: 138 38 cmsis_dap.c:1272 cmsis_dap_swd_switch_seq(): DORMANT-to-SWD
Info : 139 41 adi_v5_swd.c:328 swd_connect_multidrop(): SWD DPIDR 0x0bc12477,
DLPIDR 0x00000001
Debug: 140 41 arm_adi_v5.c:783 dap_dp_init(): rp2040.dap0
Debug: 141 41 arm_adi_v5.c:816 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 142 41 arm_adi_v5.h:682 dap_dp_poll_register(): DAP: poll 4, mask
0x20000000, value 0x20000000
Debug: 143 42 arm_adi_v5.c:824 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 144 42 arm_adi_v5.h:682 dap_dp_poll_register(): DAP: poll 4, mask
0x80000000, value 0x80000000
Debug: 145 43 cmsis_dap.c:845 cmsis_dap_swd_write_from_queue(): refusing to
enable sticky overrun detection
Debug: 146 44 arm_dap.c:120 dap_init_all(): DAP rp2040.cpu configured by
default to use ADIv5 protocol
Info : 147 47 adi_v5_swd.c:328 swd_connect_multidrop(): SWD DPIDR 0x0bc12477,
DLPIDR 0x10000001
Debug: 148 47 arm_adi_v5.c:783 dap_dp_init(): rp2040.dap1
Debug: 149 47 arm_adi_v5.c:816 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 150 47 arm_adi_v5.h:682 dap_dp_poll_register(): DAP: poll 4, mask
0x20000000, value 0x20000000
Debug: 151 48 arm_adi_v5.c:824 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 152 48 arm_adi_v5.h:682 dap_dp_poll_register(): DAP: poll 4, mask
0x80000000, value 0x80000000
Debug: 153 48 cmsis_dap.c:845 cmsis_dap_swd_write_from_queue(): refusing to
enable sticky overrun detection
Debug: 154 49 openocd.c:150 handle_init_command(): Examining targets...
Debug: 155 49 target.c:674 target_examine_one(): [rp2040.core0] Examination
started
Debug: 156 49 target.c:1774 target_call_event_callbacks(): target event 19
(examine-start) for core rp2040.core0
Debug: 157 49 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1
Debug: 158 53 arm_adi_v5.c:1136 dap_find_get_ap(): Found MEM-AP AHB3 at AP
index: 0 (IDR=0x04770031)
Debug: 159 53 arm_adi_v5.c:934 mem_ap_init(): MEM_AP CFG: large data 0, long
address 0, big-endian 0
Debug: 160 54 target.c:2562 target_read_u32(): address: 0xe000ed00, value:
0x410cc601
Info : 161 54 cortex_m.c:2643 cortex_m_examine(): [rp2040.core0] Cortex-M0+
r0p1 processor detected
Debug: 162 54 cortex_m.c:2666 cortex_m_examine(): [rp2040.core0] cpuid:
0x410cc601
Debug: 163 55 target.c:2562 target_read_u32(): address: 0xe000edf0, value:
0x00030003
Debug: 164 55 target.c:2650 target_write_u32(): address: 0xe000edfc, value:
0x01000000
Debug: 165 56 target.c:2650 target_write_u32(): address: 0xe0000fb0, value:
0xc5acce55
Debug: 166 58 target.c:2562 target_read_u32(): address: 0xe0000e80, value:
0x00000000
Debug: 167 58 target.c:2650 target_write_u32(): address: 0xe0000e80, value:
0x00000000
Debug: 168 60 target.c:2562 target_read_u32(): address: 0xe0000e80, value:
0x00000000
Debug: 169 60 target.c:2650 target_write_u32(): address: 0xe0000e80, value:
0x00010009
Debug: 170 61 target.c:2650 target_write_u32(): address: 0xe0000e00, value:
0x00000001
Debug: 171 62 target.c:2650 target_write_u32(): address: 0xe0000e04, value:
0x00000000
Debug: 172 63 target.c:2650 target_write_u32(): address: 0xe0000e08, value:
0x00000000
Debug: 173 64 target.c:2650 target_write_u32(): address: 0xe0000e0c, value:
0x00000000
Debug: 174 65 target.c:2650 target_write_u32(): address: 0xe0000e10, value:
0x00000000
Debug: 175 66 target.c:2650 target_write_u32(): address: 0xe0000e14, value:
0x00000000
Debug: 176 67 target.c:2650 target_write_u32(): address: 0xe0000e18, value:
0x00000000
Debug: 177 68 target.c:2650 target_write_u32(): address: 0xe0000e1c, value:
0x00000000
Debug: 178 69 target.c:2562 target_read_u32(): address: 0xe0002000, value:
0x00000041
Debug: 179 69 target.c:2650 target_write_u32(): address: 0xe0002008, value:
0x00000000
Debug: 180 70 target.c:2650 target_write_u32(): address: 0xe000200c, value:
0x00000000
Debug: 181 70 target.c:2650 target_write_u32(): address: 0xe0002010, value:
0x00000000
Debug: 182 71 target.c:2650 target_write_u32(): address: 0xe0002014, value:
0x00000000
Debug: 183 72 cortex_m.c:2782 cortex_m_examine(): [rp2040.core0] FPB fpcr 0x41,
numcode 4, numlit 0
Debug: 184 73 target.c:2562 target_read_u32(): address: 0xe0001000, value:
0x20000000
Debug: 185 73 cortex_m.c:2460 cortex_m_dwt_setup(): [rp2040.core0] DWT_CTRL:
0x20000000
Debug: 186 74 target.c:2562 target_read_u32(): address: 0xe0001fbc, value:
0x00000000
Debug: 187 74 cortex_m.c:2467 cortex_m_dwt_setup(): [rp2040.core0] DWT_DEVARCH:
0x0
Debug: 188 74 target.c:2650 target_write_u32(): address: 0xe0001028, value:
0x00000000
Debug: 189 75 target.c:2650 target_write_u32(): address: 0xe0001038, value:
0x00000000
Debug: 190 76 cortex_m.c:2514 cortex_m_dwt_setup(): [rp2040.core0] DWT dwtcr
0x20000000, comp 2, watch/trigger
Info : 191 76 cortex_m.c:2792 cortex_m_examine(): [rp2040.core0] target has 4
breakpoints, 2 watchpoints
Debug: 192 76 target.c:1774 target_call_event_callbacks(): target event 21
(examine-end) for core rp2040.core0
Info : 193 76 target.c:690 target_examine_one(): [rp2040.core0] Examination
succeed
Debug: 194 76 target.c:674 target_examine_one(): [rp2040.core1] Examination
started
Debug: 195 76 target.c:1774 target_call_event_callbacks(): target event 19
(examine-start) for core rp2040.core1
Debug: 196 76 arm_adi_v5.c:1193 dap_get_ap(): refcount AP#0x0 get 1
Debug: 197 117 arm_adi_v5.c:1136 dap_find_get_ap(): Found MEM-AP AHB3 at AP
index: 0 (IDR=0x04770031)
Debug: 198 119 arm_adi_v5.c:934 mem_ap_init(): MEM_AP CFG: large data 0, long
address 0, big-endian 0
Debug: 199 120 target.c:2562 target_read_u32(): address: 0xe000ed00, value:
0x410cc601
Info : 200 120 cortex_m.c:2643 cortex_m_examine(): [rp2040.core1] Cortex-M0+
r0p1 processor detected
Debug: 201 120 cortex_m.c:2666 cortex_m_examine(): [rp2040.core1] cpuid:
0x410cc601
Debug: 202 122 target.c:2562 target_read_u32(): address: 0xe000edf0, value:
0x00030003
Debug: 203 123 target.c:2650 target_write_u32(): address: 0xe000edfc, value:
0x01000000
Debug: 204 133 target.c:2650 target_write_u32(): address: 0xe0000fb0, value:
0xc5acce55
Debug: 205 152 target.c:2562 target_read_u32(): address: 0xe0000e80, value:
0x00000000
Debug: 206 152 target.c:2650 target_write_u32(): address: 0xe0000e80, value:
0x00000000
Debug: 207 167 target.c:2562 target_read_u32(): address: 0xe0000e80, value:
0x00000000
Debug: 208 167 target.c:2650 target_write_u32(): address: 0xe0000e80, value:
0x00010009
Debug: 209 170 target.c:2650 target_write_u32(): address: 0xe0000e00, value:
0x00000001
Debug: 210 190 target.c:2650 target_write_u32(): address: 0xe0000e04, value:
0x00000000
Debug: 211 201 target.c:2650 target_write_u32(): address: 0xe0000e08, value:
0x00000000
Debug: 212 205 target.c:2650 target_write_u32(): address: 0xe0000e0c, value:
0x00000000
Debug: 213 218 target.c:2650 target_write_u32(): address: 0xe0000e10, value:
0x00000000
Debug: 214 219 target.c:2650 target_write_u32(): address: 0xe0000e14, value:
0x00000000
Debug: 215 234 target.c:2650 target_write_u32(): address: 0xe0000e18, value:
0x00000000
Debug: 216 236 target.c:2650 target_write_u32(): address: 0xe0000e1c, value:
0x00000000
Debug: 217 252 target.c:2562 target_read_u32(): address: 0xe0002000, value:
0x00000041
Debug: 218 252 target.c:2650 target_write_u32(): address: 0xe0002008, value:
0x00000000
Debug: 219 269 target.c:2650 target_write_u32(): address: 0xe000200c, value:
0x00000000
Debug: 220 271 target.c:2650 target_write_u32(): address: 0xe0002010, value:
0x00000000
Debug: 221 272 target.c:2650 target_write_u32(): address: 0xe0002014, value:
0x00000000
Debug: 222 273 cortex_m.c:2782 cortex_m_examine(): [rp2040.core1] FPB fpcr
0x41, numcode 4, numlit 0
Debug: 223 288 target.c:2562 target_read_u32(): address: 0xe0001000, value:
0x20000000
Debug: 224 288 cortex_m.c:2460 cortex_m_dwt_setup(): [rp2040.core1] DWT_CTRL:
0x20000000
Debug: 225 298 target.c:2562 target_read_u32(): address: 0xe0001fbc, value:
0x00000000
Debug: 226 298 cortex_m.c:2467 cortex_m_dwt_setup(): [rp2040.core1]
DWT_DEVARCH: 0x0
Debug: 227 298 target.c:2650 target_write_u32(): address: 0xe0001028, value:
0x00000000
Debug: 228 304 target.c:2650 target_write_u32(): address: 0xe0001038, value:
0x00000000
Debug: 229 321 cortex_m.c:2514 cortex_m_dwt_setup(): [rp2040.core1] DWT dwtcr
0x20000000, comp 2, watch/trigger
Info : 230 321 cortex_m.c:2792 cortex_m_examine(): [rp2040.core1] target has 4
breakpoints, 2 watchpoints
Debug: 231 321 target.c:1774 target_call_event_callbacks(): target event 21
(examine-end) for core rp2040.core1
Info : 232 321 target.c:690 target_examine_one(): [rp2040.core1] Examination
succeed
Debug: 233 321 command.c:153 script_debug(): command - flash init
Debug: 234 321 tcl.c:1364 handle_flash_init_command(): Initializing flash
devices...
Debug: 235 321 command.c:153 script_debug(): command - nand init
Debug: 236 321 tcl.c:484 handle_nand_init_command(): Initializing NAND
devices...
Debug: 237 321 command.c:153 script_debug(): command - pld init
Debug: 238 321 pld.c:337 handle_pld_init_command(): Initializing PLDs...
Debug: 239 321 command.c:153 script_debug(): command - tpiu init
Info : 240 321 gdb_server.c:3831 gdb_target_start(): [rp2040.core0] starting
gdb server on 3333
Info : 241 321 server.c:298 add_service(): Listening on port 3333 for gdb
connections
Debug: 242 321 command.c:153 script_debug(): command - target names
Debug: 243 321 command.c:153 script_debug(): command - target names
Debug: 244 321 command.c:153 script_debug(): command - rp2040.core0 cget -type
Debug: 245 322 command.c:153 script_debug(): command - rp2040.core1 cget -type
Error: 246 1161 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 247 1161 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write: late
transfer competed
Error: 248 2454 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 249 2454 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write: late
transfer competed
Error: 250 10766 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 251 10766 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write:
late transfer competed
Error: 252 15304 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 253 15304 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write:
late transfer competed
Error: 254 15864 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 255 15865 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write:
late transfer competed
Error: 256 17797 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 257 17797 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write:
late transfer competed
Error: 258 21279 cmsis_dap_usb_bulk.c:532 cmsis_dap_usb_write(): busy command
USB transfer at 0
Error: 259 21279 cmsis_dap_usb_bulk.c:547 cmsis_dap_usb_write(): USB write:
late transfer competed