Skip to content

Instantly share code, notes, and snippets.

@pdp7
Last active February 3, 2021 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pdp7/8ad3056959d4c626a540a9894c59bbcc to your computer and use it in GitHub Desktop.
Save pdp7/8ad3056959d4c626a540a9894c59bbcc to your computer and use it in GitHub Desktop.
Cypress OpenOCD with MiniProg4 and CCG3PA EVK
pdp7@x1:~/dev/dojofive/bcd/openocd$ openocd -d4 -s ../scripts -f interface/kitprog3.cfg -f target/psoc4.cfg -c "kitprog3 power_config on 3300; kitprog3 acquire_config on 0 1 5; init; kitprog3 acquire_psoc; reset init; shutdown"
Open On-Chip Debugger 0.10.0+dev-gd526e667dedf-dirty (2021-02-03-00:37)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 13 2 options.c:63 configuration_output_handler(): debug_level: 4
Debug: 14 2 configuration.c:42 add_script_search_dir(): adding ../scripts
Debug: 15 2 options.c:187 add_default_dirs(): bindir=/usr/local/bin
Debug: 16 2 options.c:188 add_default_dirs(): pkgdatadir=/usr/local/share/openocd
Debug: 17 2 options.c:189 add_default_dirs(): exepath=/usr/local/bin
Debug: 18 2 options.c:190 add_default_dirs(): bin2data=../share/openocd
Debug: 19 2 configuration.c:42 add_script_search_dir(): adding /home/pdp7/.openocd
Debug: 20 2 configuration.c:42 add_script_search_dir(): adding /usr/local/bin/../share/openocd/site
Debug: 21 2 configuration.c:42 add_script_search_dir(): adding /usr/local/bin/../share/openocd/scripts
Debug: 22 2 configuration.c:97 find_file(): found /usr/local/bin/../share/openocd/scripts/interface/kitprog3.cfg
Debug: 23 2 command.c:148 script_debug(): command - adapter driver kitprog3
Debug: 25 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 26 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 27 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 28 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 29 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 30 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 31 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 32 2 command.c:354 register_command_handler(): registering 'kitprog3'...
Debug: 33 2 command.c:354 register_command_handler(): registering 'cmsis-dap'...
Debug: 34 2 command.c:354 register_command_handler(): registering 'cmsis-dap'...
Debug: 35 2 command.c:354 register_command_handler(): registering 'cmsis_dap_vid_pid'...
Debug: 36 2 command.c:354 register_command_handler(): registering 'cmsis_dap_serial'...
Debug: 37 2 configuration.c:97 find_file(): found /usr/local/bin/../share/openocd/scripts/target/psoc4.cfg
Debug: 38 2 configuration.c:97 find_file(): found /usr/local/bin/../share/openocd/scripts/target/swj-dp.tcl
Debug: 39 2 command.c:148 script_debug(): command - transport select
Info : 40 2 transport.c:285 jim_transport_select(): auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Debug: 41 2 command.c:354 register_command_handler(): registering 'swd'...
Debug: 42 2 command.c:148 script_debug(): command - adapter speed 2000
Debug: 44 2 core.c:1822 jtag_config_khz(): handle jtag khz
Debug: 45 2 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 46 2 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 47 2 options.c:63 configuration_output_handler(): adapter speed: 2000 kHz
Debug: 48 2 command.c:148 script_debug(): command - adapter name
Debug: 49 2 command.c:148 script_debug(): command - echo ** Auto-acquire enabled, use "set PSOC4_USE_ACQUIRE 0" to disable
User : 51 2 command.c:781 jim_echo(): ** Auto-acquire enabled, use "set PSOC4_USE_ACQUIRE 0" to disable
Debug: 52 2 command.c:148 script_debug(): command - adapter name
Debug: 53 2 command.c:148 script_debug(): command - adapter name
Debug: 54 2 command.c:148 script_debug(): command - kitprog3 acquire_config on 0 1 3
Error: 56 2 kitprog3.c:593 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): CMD_ARGC=4
Error: 57 2 kitprog3.c:594 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): CMD_ARGV[0]=on
Error: 58 2 kitprog3.c:611 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): enabled is TRUE
Error: 59 2 kitprog3.c:618 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): target=0
Error: 60 2 kitprog3.c:620 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): mode=1
Error: 61 2 kitprog3.c:622 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): attempts=3
Error: 62 2 kitprog3.c:637 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): return ERROR_OK=0
Debug: 63 2 command.c:148 script_debug(): command - echo ** Enabling target power (1 mV) "set ENABLE_POWER_SUPPLY 0" to disable
User : 65 2 command.c:781 jim_echo(): ** Enabling target power (1 mV) "set ENABLE_POWER_SUPPLY 0" to disable
Debug: 66 2 command.c:148 script_debug(): command - kitprog3 power_config on 1
Debug: 68 2 command.c:148 script_debug(): command - transport select
Debug: 69 2 command.c:148 script_debug(): command - transport select
Debug: 70 2 command.c:148 script_debug(): command - transport select
Debug: 71 2 command.c:148 script_debug(): command - swd newdap psoc4 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0bb11477
Debug: 72 2 tcl.c:566 jim_newtap_cmd(): Creating New Tap, Chip: psoc4, Tap: cpu, Dotted: psoc4.cpu, 8 params
Debug: 73 2 core.c:1484 jtag_tap_init(): Created Tap: psoc4.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 74 2 command.c:148 script_debug(): command - dap create psoc4.dap -chain-position psoc4.cpu
Debug: 75 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 76 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 77 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 78 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 79 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 80 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 81 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 82 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 83 2 command.c:354 register_command_handler(): registering 'psoc4.dap'...
Debug: 84 2 command.c:148 script_debug(): command - target create psoc4.cpu cortex_m -dap psoc4.dap
Debug: 85 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 86 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 87 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 88 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 89 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 90 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 91 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 92 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 93 2 command.c:354 register_command_handler(): registering 'arm'...
Debug: 94 2 command.c:354 register_command_handler(): registering 'tpiu'...
Debug: 95 2 command.c:354 register_command_handler(): registering 'itm'...
Debug: 96 2 command.c:354 register_command_handler(): registering 'itm'...
Debug: 97 3 command.c:354 register_command_handler(): registering 'cortex_m'...
Debug: 98 3 command.c:354 register_command_handler(): registering 'cortex_m'...
Debug: 99 3 command.c:354 register_command_handler(): registering 'cortex_m'...
Debug: 100 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 101 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 102 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 103 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 104 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 105 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 106 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 107 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 108 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 109 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 110 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 111 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 112 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 113 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 114 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 115 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 116 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 117 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 118 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 119 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 120 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 121 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 122 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 123 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 124 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 125 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 126 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 127 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 128 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 129 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 130 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 131 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 132 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 133 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 134 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 135 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 136 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 137 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 138 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 139 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 140 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 141 3 command.c:354 register_command_handler(): registering 'psoc4.cpu'...
Debug: 142 3 command.c:148 script_debug(): command - psoc4.cpu cortex_m reset_config sysresetreq
User : 144 3 options.c:63 configuration_output_handler(): cortex_m reset_config sysresetreq
Debug: 145 3 command.c:148 script_debug(): command - psoc4.cpu configure -work-area-phys 0x20000000 -work-area-size 0x800 -work-area-backup 0
Debug: 146 3 target.c:2146 target_free_all_working_areas_restore(): freeing all working areas
Debug: 147 3 target.c:2146 target_free_all_working_areas_restore(): freeing all working areas
Debug: 148 3 target.c:2146 target_free_all_working_areas_restore(): freeing all working areas
Debug: 149 3 command.c:148 script_debug(): command - psoc4.cpu configure -event reset-deassert-post psoc4_deassert_post psoc4.cpu
Debug: 150 3 command.c:148 script_debug(): command - psoc4.cpu configure -event examine-end psoc4 silicon_info
Debug: 151 3 command.c:148 script_debug(): command - flash bank psoc4.mflash psoc4 0x00000000 0 0 0 psoc4.cpu
Debug: 153 3 command.c:354 register_command_handler(): registering 'psoc4'...
Debug: 154 3 command.c:354 register_command_handler(): registering 'psoc4'...
Debug: 155 3 command.c:354 register_command_handler(): registering 'psoc4'...
Debug: 156 3 tcl.c:1501 handle_flash_bank_command(): 'psoc4' driver usage field missing
Debug: 157 3 command.c:148 script_debug(): command - flash bank psoc4.sflash psoc4 0x0FFFF200 0 0 0 psoc4.cpu
Debug: 159 3 command.c:375 register_command(): command 'psoc4' is already registered in '<global>' context
Debug: 160 3 command.c:375 register_command(): command 'mass_erase' is already registered in 'psoc4' context
Debug: 161 3 command.c:375 register_command(): command 'reset_halt' is already registered in 'psoc4' context
Debug: 162 3 command.c:375 register_command(): command 'silicon_info' is already registered in 'psoc4' context
Debug: 163 3 tcl.c:1501 handle_flash_bank_command(): 'psoc4' driver usage field missing
Debug: 164 3 command.c:148 script_debug(): command - flash bank psoc4.flashp psoc4_flash_prot 0x90400000 0 0 0 psoc4.cpu
Debug: 166 3 command.c:375 register_command(): command 'psoc4' is already registered in '<global>' context
Debug: 167 3 command.c:375 register_command(): command 'mass_erase' is already registered in 'psoc4' context
Debug: 168 3 command.c:375 register_command(): command 'reset_halt' is already registered in 'psoc4' context
Debug: 169 3 command.c:375 register_command(): command 'silicon_info' is already registered in 'psoc4' context
Debug: 170 3 tcl.c:1501 handle_flash_bank_command(): 'psoc4_flash_prot' driver usage field missing
Debug: 171 3 command.c:148 script_debug(): command - add_verify_range psoc4.cpu 0x00000000 0x00080000
Debug: 173 3 command.c:148 script_debug(): command - add_verify_range psoc4.cpu 0x0FFFF200 0x00000800
Debug: 175 3 command.c:148 script_debug(): command - add_verify_range psoc4.cpu 0x20000000 0x00040000
Debug: 177 3 command.c:148 script_debug(): command - add_verify_range psoc4.cpu 0x90400000 0x00000400
Debug: 179 3 command.c:148 script_debug(): command - kitprog3 power_config on 3300
Debug: 181 3 command.c:148 script_debug(): command - kitprog3 acquire_config on 0 1 5
Error: 183 3 kitprog3.c:593 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): CMD_ARGC=4
Error: 184 3 kitprog3.c:594 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): CMD_ARGV[0]=on
Error: 185 3 kitprog3.c:611 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): enabled is TRUE
Error: 186 3 kitprog3.c:618 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): target=0
Error: 187 3 kitprog3.c:620 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): mode=1
Error: 188 3 kitprog3.c:622 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): attempts=5
Error: 189 3 kitprog3.c:637 cmsis_dap_handle_acquire_config_command(): DEBUG cmsis_dap_handle_acquire_config_command(): return ERROR_OK=0
Debug: 190 3 command.c:148 script_debug(): command - init
Debug: 192 3 command.c:148 script_debug(): command - target init
Debug: 194 3 command.c:148 script_debug(): command - target names
Debug: 195 3 command.c:148 script_debug(): command - psoc4.cpu cget -event gdb-flash-erase-start
Debug: 196 3 command.c:148 script_debug(): command - psoc4.cpu configure -event gdb-flash-erase-start reset init
Debug: 197 3 command.c:148 script_debug(): command - psoc4.cpu cget -event gdb-flash-write-end
Debug: 198 3 command.c:148 script_debug(): command - psoc4.cpu configure -event gdb-flash-write-end reset halt
Debug: 199 3 command.c:148 script_debug(): command - psoc4.cpu cget -event gdb-attach
Debug: 200 3 command.c:148 script_debug(): command - psoc4.cpu configure -event gdb-attach halt
Debug: 201 3 target.c:1608 handle_target_init_command(): Initializing targets...
Debug: 202 3 semihosting_common.c:97 semihosting_common_init():
Debug: 203 3 command.c:354 register_command_handler(): registering 'target_request'...
Debug: 204 3 command.c:354 register_command_handler(): registering 'trace'...
Debug: 205 3 command.c:354 register_command_handler(): registering 'trace'...
Debug: 206 3 command.c:354 register_command_handler(): registering 'fast_load_image'...
Debug: 207 3 command.c:354 register_command_handler(): registering 'fast_load'...
Debug: 208 3 command.c:354 register_command_handler(): registering 'profile'...
Debug: 209 3 command.c:354 register_command_handler(): registering 'virt2phys'...
Debug: 210 3 command.c:354 register_command_handler(): registering 'reg'...
Debug: 211 3 command.c:354 register_command_handler(): registering 'poll'...
Debug: 212 3 command.c:354 register_command_handler(): registering 'wait_halt'...
Debug: 213 3 command.c:354 register_command_handler(): registering 'halt'...
Debug: 214 3 command.c:354 register_command_handler(): registering 'resume'...
Debug: 215 3 command.c:354 register_command_handler(): registering 'reset'...
Debug: 216 3 command.c:354 register_command_handler(): registering 'soft_reset_halt'...
Debug: 217 3 command.c:354 register_command_handler(): registering 'step'...
Debug: 218 3 command.c:354 register_command_handler(): registering 'mdd'...
Debug: 219 3 command.c:354 register_command_handler(): registering 'mdw'...
Debug: 220 3 command.c:354 register_command_handler(): registering 'mdh'...
Debug: 221 3 command.c:354 register_command_handler(): registering 'mdb'...
Debug: 222 3 command.c:354 register_command_handler(): registering 'mwd'...
Debug: 223 3 command.c:354 register_command_handler(): registering 'mww'...
Debug: 224 3 command.c:354 register_command_handler(): registering 'mwh'...
Debug: 225 3 command.c:354 register_command_handler(): registering 'mwb'...
Debug: 226 3 command.c:354 register_command_handler(): registering 'bp'...
Debug: 227 3 command.c:354 register_command_handler(): registering 'rbp'...
Debug: 228 3 command.c:354 register_command_handler(): registering 'wp'...
Debug: 229 3 command.c:354 register_command_handler(): registering 'rwp'...
Debug: 230 3 command.c:354 register_command_handler(): registering 'load_image'...
Debug: 231 3 command.c:354 register_command_handler(): registering 'dump_image'...
Debug: 232 3 command.c:354 register_command_handler(): registering 'verify_image_checksum'...
Debug: 233 3 command.c:354 register_command_handler(): registering 'verify_image'...
Debug: 234 3 command.c:354 register_command_handler(): registering 'test_image'...
Debug: 235 3 command.c:354 register_command_handler(): registering 'reset_nag'...
Debug: 236 3 command.c:354 register_command_handler(): registering 'ps'...
Debug: 237 3 command.c:354 register_command_handler(): registering 'test_mem_access'...
Debug: 238 5 cmsis_dap_usb.c:356 cmsis_dap_usb_open(): CMSIS-DAP USB: libusb_get_device_list = 9
Debug: 239 5 cmsis_dap_usb.c:284 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk vid = 1D6B pid = 03
Debug: 240 5 cmsis_dap_usb.c:266 get_string_descriptor(): CMSIS-DAP USB: Bulk libusb_open = -3
Debug: 241 5 cmsis_dap_usb.c:284 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk vid = 1D6B pid = 02
Debug: 242 5 cmsis_dap_usb.c:266 get_string_descriptor(): CMSIS-DAP USB: Bulk libusb_open = -3
Debug: 243 5 cmsis_dap_usb.c:284 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk vid = 1D6B pid = 03
Debug: 244 5 cmsis_dap_usb.c:266 get_string_descriptor(): CMSIS-DAP USB: Bulk libusb_open = -3
Debug: 245 5 cmsis_dap_usb.c:284 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk vid = 6CB pid = BD
Debug: 246 5 cmsis_dap_usb.c:284 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk vid = 5986 pid = 114E
Debug: 247 5 cmsis_dap_usb.c:266 get_string_descriptor(): CMSIS-DAP USB: Bulk libusb_open = -3
Debug: 248 5 cmsis_dap_usb.c:284 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk vid = 4B4 pid = F151
Debug: 249 5 cmsis_dap_usb.c:266 get_string_descriptor(): CMSIS-DAP USB: Bulk libusb_open = 0
Debug: 250 6 cmsis_dap_usb.c:288 cmsis_dap_is_bulk(): CMSIS-DAP USB: Bulk product str = Cypress MiniProg4 (CMSIS-DAP)
Info : 251 58 cmsis_dap_usb.c:1138 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD Supported
Info : 252 58 cmsis_dap_usb.c:1140 cmsis_dap_get_caps_info(): CMSIS-DAP: JTAG Supported
Info : 253 58 cmsis_dap_usb.c:1118 cmsis_dap_get_version_info(): CMSIS-DAP: FW Version = 2.0.0
Info : 254 59 cmsis_dap_usb.c:1251 cmsis_dap_swd_open(): CMSIS-DAP: Interface Initialised (SWD)
Debug: 255 59 cmsis_dap_usb.c:1344 cmsis_dap_init(): CMSIS-DAP: Packet Size = 64
Debug: 256 59 cmsis_dap_usb.c:1357 cmsis_dap_init(): CMSIS-DAP: Packet Count = 64
Debug: 257 59 cmsis_dap_usb.c:1360 cmsis_dap_init(): Allocating FIFO for 32 pending HID requests
Info : 258 59 cmsis_dap_usb.c:1153 cmsis_dap_get_status(): SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : 259 60 cmsis_dap_usb.c:1413 cmsis_dap_init(): CMSIS-DAP: Interface ready
Error: 260 60 kitprog3.c:548 kitprog3_init(): DEBUG kitprog3_init(): kitprog3_reset_acquire_params()
Error: 261 60 kitprog3.c:499 kitprog3_reset_acquire_params(): DEBUG kitprog3_reset_acquire_params()
Info : 262 61 kitprog3.c:475 kitprog3_check_version(): KitProg3: FW version: 2.10.878
Info : 263 61 kitprog3.c:486 kitprog3_check_version(): KitProg3: Pipelined transfers enabled
Error: 264 61 kitprog3.c:556 kitprog3_init(): DEBUG kitprog3_init(): call kitprog3_power_control()
Info : 265 62 kitprog3.c:320 kitprog3_power_control(): kitprog3: powering up target device using KitProg3 (VTarg = 3300 mV)
Error: 266 108 kitprog3.c:558 kitprog3_init(): DEBUG kitprog3_init(): kitprog3_power_control() returned hr=0
Info : 267 108 kitprog3.c:565 kitprog3_init(): VTarget = 3.309 V
Error: 268 108 kitprog3.c:373 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc()
Info : 269 108 kitprog3.c:374 kitprog3_acquire_psoc(): kitprog3: acquiring the device...
Error: 270 109 kitprog3.c:410 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): KP3_REQUEST_ACQUIRE target_type=0 acquire_mode=1 attempts=5
Error: 271 109 kitprog3.c:412 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): call kitprog3_usb_request()
Debug: 272 2179 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (2179 ms). This may cause trouble with GDB connections.
Debug: 274 4048 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (1869 ms). This may cause trouble with GDB connections.
Debug: 276 5917 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (1869 ms). This may cause trouble with GDB connections.
Debug: 278 7786 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (1869 ms). This may cause trouble with GDB connections.
Error: 280 7787 kitprog3.c:418 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): kitprog3_usb_request() returned ERROR_OK (hr=0)
Error: 281 7787 kitprog3.c:420 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): dap->packet_buffer[2]=0
Error: 282 7787 kitprog3.c:422 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): ERROR dap->packet_buffer[2] == 0
Error: 283 7787 kitprog3.c:431 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): return ERROR_FAIL=-4
Debug: 284 7788 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 285 7788 core.c:1789 adapter_khz_to_speed(): have interface set up
Debug: 286 7788 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 287 7788 core.c:1789 adapter_khz_to_speed(): have interface set up
Info : 288 7788 core.c:1565 adapter_init(): clock speed 2000 kHz
Debug: 289 7788 openocd.c:142 handle_init_command(): Debug Adapter init complete
Debug: 290 7788 command.c:148 script_debug(): command - transport init
Debug: 292 7789 transport.c:239 handle_transport_init(): handle_transport_init
Debug: 293 7789 command.c:148 script_debug(): command - dap init
Debug: 295 7790 arm_dap.c:106 dap_init_all(): Initializing all DAPs ...
Debug: 296 7790 cmsis_dap_usb.c:1193 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Debug: 297 7791 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 298 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 0 0
Debug: 299 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 0 1e
Debug: 300 7791 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 301 7791 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: bb11477
Info : 302 7791 adi_v5_swd.c:146 swd_connect(): SWD DPIDR 0x0bb11477
Debug: 303 7791 arm_adi_v5.c:653 dap_dp_init(): psoc4.dap
Debug: 304 7791 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 305 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 0
Debug: 306 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 307 7791 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 308 7791 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 40
Debug: 309 7791 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 310 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 4 50000020
Debug: 311 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 312 7791 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 4 50000000
Debug: 313 7792 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 314 7792 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: f0000040
Debug: 315 7792 arm_adi_v5.c:711 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 316 7792 arm_adi_v5.h:511 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Debug: 317 7792 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 1 queued transactions from FIFO index 0
Debug: 318 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 319 7792 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 1 queued transactions FIFO index 0
Debug: 320 7792 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: f0000040
Debug: 321 7792 arm_adi_v5.c:718 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 322 7792 arm_adi_v5.h:511 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
Debug: 323 7792 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 1 queued transactions from FIFO index 0
Debug: 324 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 325 7792 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 1 queued transactions FIFO index 0
Debug: 326 7792 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: f0000040
Debug: 327 7792 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 328 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 329 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 4 50000001
Debug: 330 7792 cmsis_dap_usb.c:950 cmsis_dap_swd_write_from_queue(): refusing to enable sticky overrun detection
Debug: 331 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 332 7792 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 333 7792 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: f0000040
Debug: 334 7792 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: f0000040
Debug: 335 7792 openocd.c:159 handle_init_command(): Examining targets...
Debug: 336 7792 target.c:1794 target_call_event_callbacks(): target event 19 (examine-start) for core psoc4.cpu
Debug: 337 7792 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 338 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 f0
Debug: 339 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 340 7792 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 341 7793 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 342 7793 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 4770021
Debug: 343 7793 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 344 7793 arm_adi_v5.c:902 dap_find_ap(): Found AHB3-AP at AP index: 0 (IDR=0x04770021)
Debug: 345 7793 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 8 queued transactions from FIFO index 0
Debug: 346 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 0
Debug: 347 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 0 a2000020
Debug: 348 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 0
Debug: 349 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 0 0
Debug: 350 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 351 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 f0
Debug: 352 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 4 0
Debug: 353 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 354 7793 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 8 queued transactions FIFO index 0
Debug: 355 7793 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 3000040
Debug: 356 7793 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 357 7793 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 358 7793 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 359 7793 arm_adi_v5.c:796 mem_ap_init(): MEM_AP Packed Transfers: disabled
Debug: 360 7793 arm_adi_v5.c:807 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 361 7793 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 5 queued transactions from FIFO index 0
Debug: 362 7793 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 0
Debug: 363 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 0 a2000012
Debug: 364 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e000ed00
Debug: 365 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 366 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 367 7794 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 5 queued transactions FIFO index 0
Debug: 368 7794 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 410cc200
Debug: 369 7794 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 370 7794 target.c:2587 target_read_u32(): address: 0xe000ed00, value: 0x410cc200
Debug: 371 7794 cortex_m.c:2034 cortex_m_examine(): Cortex-M0 r0p0 processor detected
Debug: 372 7794 cortex_m.c:2046 cortex_m_examine(): cpuid: 0x410cc200
Debug: 373 7794 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 374 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e000edf0
Debug: 375 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 376 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 377 7794 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 378 7794 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 3000000
Debug: 379 7794 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 380 7794 target.c:2587 target_read_u32(): address: 0xe000edf0, value: 0x03000000
Debug: 381 7794 target.c:2675 target_write_u32(): address: 0xe000edf0, value: 0xa05f0001
Debug: 382 7794 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 383 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e000edf0
Debug: 384 7794 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c a05f0001
Debug: 385 7795 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 386 7795 target.c:2675 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 387 7795 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 388 7795 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e000edfc
Debug: 389 7795 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 1000000
Debug: 390 7795 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 391 7795 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 392 7795 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e0002000
Debug: 393 7795 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 394 7795 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 395 7795 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 396 7795 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 40
Debug: 397 7795 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 398 7795 target.c:2587 target_read_u32(): address: 0xe0002000, value: 0x00000040
Debug: 399 7795 target.c:2675 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 400 7795 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 401 7795 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e0002008
Debug: 402 7796 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 0
Debug: 403 7796 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 404 7796 target.c:2675 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 405 7796 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 1 queued transactions from FIFO index 0
Debug: 406 7796 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 0
Debug: 407 7796 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 1 queued transactions FIFO index 0
Debug: 408 7796 target.c:2675 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 409 7796 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 1 queued transactions from FIFO index 0
Debug: 410 7796 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 0
Debug: 411 7797 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 1 queued transactions FIFO index 0
Debug: 412 7797 target.c:2675 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 413 7797 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 1 queued transactions from FIFO index 0
Debug: 414 7797 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 0
Debug: 415 7797 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 1 queued transactions FIFO index 0
Debug: 416 7797 cortex_m.c:2149 cortex_m_examine(): FPB fpcr 0x40, numcode 4, numlit 0
Debug: 417 7797 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 418 7797 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e0001000
Debug: 419 7797 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 420 7797 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 421 7797 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 422 7797 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 20000000
Debug: 423 7797 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 424 7797 target.c:2587 target_read_u32(): address: 0xe0001000, value: 0x20000000
Debug: 425 7797 cortex_m.c:1834 cortex_m_dwt_setup(): DWT_CTRL: 0x20000000
Debug: 426 7797 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 427 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e0001fbc
Debug: 428 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 429 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 430 7798 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 431 7798 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 432 7798 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 433 7798 target.c:2587 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
Debug: 434 7798 cortex_m.c:1841 cortex_m_dwt_setup(): DWT_DEVARCH: 0x0
Debug: 435 7798 target.c:2675 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 436 7798 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 437 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e0001028
Debug: 438 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 0
Debug: 439 7798 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 440 7798 target.c:2675 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 441 7798 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 442 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e0001038
Debug: 443 7798 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c 0
Debug: 444 7799 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 445 7799 cortex_m.c:1888 cortex_m_dwt_setup(): DWT dwtcr 0x20000000, comp 2, watch/trigger
Info : 446 7799 cortex_m.c:2159 cortex_m_examine(): psoc4.cpu: hardware has 4 breakpoints, 2 watchpoints
Debug: 447 7799 target.c:1794 target_call_event_callbacks(): target event 21 (examine-end) for core psoc4.cpu
Debug: 448 7799 target.c:4907 target_handle_event(): target(0): psoc4.cpu (cortex_m) event: 21 (examine-end) action: psoc4 silicon_info
Debug: 449 7799 command.c:148 script_debug(): command - psoc4 silicon_info
Debug: 450 7799 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 4 queued transactions from FIFO index 0
Debug: 451 7799 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e000edf0
Debug: 452 7799 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 10
Debug: 453 7799 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 0 0
Debug: 454 7799 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 455 7800 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 4 queued transactions FIFO index 0
Debug: 456 7800 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 1000001
Debug: 457 7800 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Error: 459 7800 psoc4.c:1988 psoc4_handle_silicon_info_command(): DEBUG psoc4_handle_silicon_info_command()
Error: 460 7800 psoc4.c:1641 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): ENTER
Error: 461 7800 psoc4.c:1650 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): call psoc4_read_geometry()
Error: 462 7800 psoc4.c:1548 psoc4_read_geometry(): DEBUG psoc4_read_geometry(): ENTER
Error: 463 7800 psoc4.c:749 psoc4_get_family(): DEBUG psoc4_get_family(): call target_read_memory(PSOC4_ROMTABLE_PID0)
Debug: 464 7800 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 7 queued transactions from FIFO index 0
Debug: 465 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 0
Debug: 466 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 f0000fe0
Debug: 467 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 468 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 469 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 470 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 471 7800 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 472 7800 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 7 queued transactions FIFO index 0
Debug: 473 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: b0
Debug: 474 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 40
Debug: 475 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 1b
Debug: 476 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 20
Debug: 477 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Error: 478 7801 psoc4.c:756 psoc4_get_family(): DEBUG psoc4_get_family(): call target_buffer_get_u32()
Error: 479 7801 psoc4.c:756 psoc4_get_family(): DEBUG psoc4_get_family(): call target_buffer_get_u32()
Error: 480 7801 psoc4.c:756 psoc4_get_family(): DEBUG psoc4_get_family(): call target_buffer_get_u32()
Error: 481 7801 psoc4.c:756 psoc4_get_family(): DEBUG psoc4_get_family(): call target_buffer_get_u32()
Error: 482 7801 psoc4.c:1550 psoc4_read_geometry(): DEBUG psoc4_read_geometry(): psoc4_get_family() returned 0
Error: 483 7801 psoc4.c:1554 psoc4_read_geometry(): DEBUG psoc4_read_geometry(): family_id=176
Error: 484 7801 psoc4.c:1555 psoc4_read_geometry(): DEBUG psoc4_read_geometry(): revision_id=18
Debug: 485 7801 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 486 7801 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40110000
Debug: 487 7801 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 488 7801 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 489 7801 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 490 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 40c0ff
Debug: 491 7801 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 492 7801 target.c:2587 target_read_u32(): address: 0x40110000, value: 0x0040c0ff
Error: 493 7801 psoc4.c:1652 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): psoc4_read_geometry() return hr=0
Error: 494 7801 psoc4.c:1674 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): call psoc4_get_silicon_id(bank, true, NULL, NULL, &protection)
Error: 495 7801 psoc4.c:686 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id()
Error: 496 7801 psoc4.c:688 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): no_algo IS TRUE
Debug: 497 7801 target.c:2675 target_write_u32(): address: 0x40100008, value: 0x0000d3b6
Debug: 498 7801 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 499 7801 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40100008
Debug: 500 7801 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c d3b6
Debug: 501 7801 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 502 7802 target.c:2675 target_write_u32(): address: 0x40100004, value: 0xc0000000
Debug: 503 7802 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 504 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40100004
Debug: 505 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c c0000000
Debug: 506 7802 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 507 7802 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 508 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40100004
Debug: 509 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 510 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 511 7802 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 512 7802 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 400010b0
Debug: 513 7802 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 514 7802 target.c:2587 target_read_u32(): address: 0x40100004, value: 0x400010b0
Debug: 515 7802 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 516 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 517 7802 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 518 7803 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 519 7803 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: a0122003
Debug: 520 7803 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 521 7803 target.c:2587 target_read_u32(): address: 0x40100008, value: 0xa0122003
Error: 522 7803 psoc4.c:690 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): psoc4_sysreq_mem_ap(bank, PSOC4_CMD_GET_SILICON_ID, 0, NULL, 0, &part0) returned 0
Debug: 523 7803 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 524 7803 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40100004
Debug: 525 7803 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 526 7803 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 527 7803 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 528 7803 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 400010b0
Debug: 529 7803 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 530 7803 target.c:2587 target_read_u32(): address: 0x40100004, value: 0x400010b0
Error: 531 7803 psoc4.c:709 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): target_read_u32(target, psoc4_info->cpuss_sysreq_addr, &part1) return 0
Error: 532 7803 psoc4.c:718 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): part0=0xa0122003
Error: 533 7803 psoc4.c:719 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): part1=0x400010b0
Error: 534 7803 psoc4.c:1676 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): psoc4_get_silicon_id returned 0
Error: 535 7803 psoc4.c:1678 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): call psoc4_get_silicon_id(bank, false, NULL, NULL, &protection)
Error: 536 7803 psoc4.c:686 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id()
Error: 537 7803 psoc4.c:695 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): no_algo IS FALSE
Debug: 538 7803 target.c:1993 target_alloc_working_area_try(): MMU disabled, using physical address for working memory 0x20000000
Debug: 539 7803 target.c:2048 target_alloc_working_area_try(): allocated new working area of 260 bytes at address 0x20000000
Debug: 540 7803 target.c:1909 print_wa_layout(): * 0x20000000-0x20000103 (260 bytes)
Debug: 541 7803 target.c:1909 print_wa_layout(): 0x20000104-0x200007ff (1788 bytes)
Debug: 542 7803 target.c:2363 target_write_buffer(): writing buffer of 2 byte at 0x20000000
Debug: 543 7803 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 544 7804 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 0 a2000011
Debug: 545 7804 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 20000000
Debug: 546 7804 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c be00
Debug: 547 7804 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 548 7804 psoc4.c:604 psoc4_sysreq(): SYSREQ 00 0000 0000d3b6
Debug: 549 7804 target.c:2675 target_write_u32(): address: 0x40100008, value: 0x0000d3b6
Debug: 550 7804 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 551 7804 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 0 a2000012
Debug: 552 7804 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40100008
Debug: 553 7804 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c d3b6
Debug: 554 7805 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 555 7805 target.c:2675 target_write_u32(): address: 0x40100004, value: 0xc0000000
Debug: 556 7805 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 557 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 40100004
Debug: 558 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg c c0000000
Debug: 559 7805 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Warn : 560 7805 armv7m.c:520 armv7m_start_algorithm(): target not halted
Error: 561 7805 psoc4.c:639 psoc4_sysreq(): sysreq wait code execution failed
Debug: 562 7805 target.c:2117 target_free_working_area_restore(): freed 260 bytes of working area at address 0x20000000
Debug: 563 7805 target.c:1909 print_wa_layout(): 0x20000000-0x200007ff (2048 bytes)
Error: 564 7805 psoc4.c:697 psoc4_get_silicon_id(): DEBUG psoc4_get_silicon_id(): psoc4_sysreq(bank, PSOC4_CMD_GET_SILICON_ID, 0, NULL, 0, &part0) return -304
Error: 565 7805 psoc4.c:1680 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): psoc4_get_silicon_id returned -304
Error: 566 7805 psoc4.c:1683 psoc4_decode_silicon_info(): SPCIF geometry: 64 kb flash, row 128 bytes.
Error: 567 7805 psoc4.c:1686 psoc4_decode_silicon_info(): Read silicon id from SFLASH
Error: 568 7805 psoc4.c:1688 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): call psoc4_sflash_by_geometry()
Debug: 569 7805 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 570 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 ffff144
Debug: 571 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 572 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 573 7805 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 574 7805 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 2003
Debug: 575 7805 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 576 7805 target.c:2587 target_read_u32(): address: 0x0ffff144, value: 0x00002003
Error: 577 7805 psoc4.c:1696 psoc4_decode_silicon_info(): DEBUG Read Protection and translate into format returned by SROM API
Error: 578 7805 psoc4.c:1697 psoc4_decode_silicon_info(): DEBUG psoc4_decode_silicon_info(): call target_read_u32()
Debug: 579 7805 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 580 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 ffff07c
Debug: 581 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 582 7805 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 583 7806 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 584 7806 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 585 7806 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 586 7806 target.c:2587 target_read_u32(): address: 0x0ffff07c, value: 0x00000000
Debug: 587 7806 configuration.c:97 find_file(): found /usr/local/bin/../share/openocd/scripts/target/cympn.cfg
Error: 588 7812 psoc4.c:1734 psoc4_decode_silicon_info(): *****************************************
Error: 589 7812 psoc4.c:1735 psoc4_decode_silicon_info(): ** Silicon: 0x2003, Family: 0xB0, Rev.: 0x12 (A1)
Debug: 590 7812 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 3 queued transactions from FIFO index 0
Debug: 591 7812 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 ffff140
Debug: 592 7812 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg c 0
Debug: 593 7812 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 594 7813 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 3 queued transactions FIFO index 0
Debug: 595 7813 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 596 7813 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 597 7813 target.c:2587 target_read_u32(): address: 0x0ffff140, value: 0x00000000
Error: 598 7813 psoc4.c:1745 psoc4_decode_silicon_info(): ** Detected Family: CCG3PA USB Type-C Port Controller
Error: 599 7813 psoc4.c:1746 psoc4_decode_silicon_info(): ** Detected Main Flash size, kb: 64
Error: 600 7813 psoc4.c:1747 psoc4_decode_silicon_info(): ** Chip Protection: protection OPEN
Error: 601 7813 psoc4.c:1748 psoc4_decode_silicon_info(): *****************************************
Debug: 602 7813 command.c:148 script_debug(): command - flash init
Debug: 603 7814 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 4 queued transactions from FIFO index 0
Debug: 604 7814 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP write reg 4 e000edf0
Debug: 605 7814 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 8 10
Debug: 606 7814 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 0 0
Debug: 607 7814 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 608 7814 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 4 queued transactions FIFO index 0
Debug: 609 7814 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 1000001
Debug: 610 7814 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 612 7814 tcl.c:1567 handle_flash_init_command(): Initializing flash devices...
Debug: 613 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 614 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 615 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 616 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 617 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 618 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 619 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 620 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 621 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 622 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 623 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 624 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 625 7814 command.c:354 register_command_handler(): registering 'flash'...
Debug: 626 7815 command.c:354 register_command_handler(): registering 'flash'...
Debug: 627 7815 command.c:354 register_command_handler(): registering 'flash'...
Debug: 628 7815 command.c:354 register_command_handler(): registering 'flash'...
Debug: 629 7815 command.c:354 register_command_handler(): registering 'flash'...
Debug: 630 7815 command.c:354 register_command_handler(): registering 'flash'...
Debug: 631 7815 command.c:354 register_command_handler(): registering 'flash'...
Debug: 632 7815 command.c:148 script_debug(): command - nand init
Debug: 633 7815 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 634 7815 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 0 0
Debug: 635 7815 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 636 7816 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 637 7816 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 1000001
Debug: 638 7816 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 640 7816 tcl.c:498 handle_nand_init_command(): Initializing NAND devices...
Debug: 641 7816 command.c:148 script_debug(): command - pld init
Debug: 642 7817 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 643 7817 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 0 0
Debug: 644 7817 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 645 7817 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 646 7817 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 1000001
Debug: 647 7817 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Debug: 649 7817 pld.c:206 handle_pld_init_command(): Initializing PLDs...
Info : 650 7817 gdb_server.c:3621 gdb_target_start(): starting gdb server for psoc4.cpu on 3333
Info : 651 7817 server.c:310 add_service(): Listening on port 3333 for gdb connections
Debug: 652 7817 command.c:148 script_debug(): command - kitprog3 acquire_psoc
Debug: 653 7818 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 654 7818 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): AP read reg 0 0
Debug: 655 7818 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg c 0
Debug: 656 7819 cmsis_dap_usb.c:1011 cmsis_dap_swd_read_process(): Received results of 2 queued transactions FIFO index 0
Debug: 657 7819 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 1000001
Debug: 658 7819 cmsis_dap_usb.c:1021 cmsis_dap_swd_read_process(): Read result: 0
Error: 660 7819 kitprog3.c:669 cmsis_dap_handle_acquire_psoc_command(): DEBUG cmsis_dap_handle_acquire_psoc_command(): CMD_ARGC=0
Error: 661 7819 kitprog3.c:373 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc()
Info : 662 7819 kitprog3.c:374 kitprog3_acquire_psoc(): kitprog3: acquiring the device...
Error: 663 7819 kitprog3.c:410 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): KP3_REQUEST_ACQUIRE target_type=0 acquire_mode=1 attempts=5
Error: 664 7819 kitprog3.c:412 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): call kitprog3_usb_request()
Debug: 665 9940 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (2154 ms). This may cause trouble with GDB connections.
Debug: 667 11809 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (1869 ms). This may cause trouble with GDB connections.
Debug: 669 13679 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (1870 ms). This may cause trouble with GDB connections.
Debug: 671 15548 log.c:436 gdb_timeout_warning(): keep_alive() was not invoked in the 1000 ms timelimit (1869 ms). This may cause trouble with GDB connections.
Error: 673 15548 kitprog3.c:418 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): kitprog3_usb_request() returned ERROR_OK (hr=0)
Error: 674 15548 kitprog3.c:420 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): dap->packet_buffer[2]=0
Error: 675 15548 kitprog3.c:422 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): ERROR dap->packet_buffer[2] == 0
Error: 676 15548 kitprog3.c:431 kitprog3_acquire_psoc(): DEBUG kitprog3_acquire_psoc(): return ERROR_FAIL=-4
Debug: 677 15548 command.c:638 run_command(): Command 'kitprog3 acquire_psoc' failed with error code -4
Debug: 678 15548 target.c:2146 target_free_all_working_areas_restore(): freeing all working areas
Debug: 679 15548 target.c:1909 print_wa_layout(): 0x20000000-0x200007ff (2048 bytes)
Info : 680 15548 adi_v5_swd.c:334 swd_quit(): psoc4.dap: powering down debug domain...
Debug: 681 15548 arm_adi_v5.h:511 dap_dp_poll_register(): DAP: poll 4, mask 0xa0000000, value 0x00000000
Debug: 682 15548 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 2 queued transactions from FIFO index 0
Debug: 683 15548 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP write reg 4 0
Debug: 684 15548 cmsis_dap_usb.c:930 cmsis_dap_swd_write_from_queue(): DP read reg 4 0
Debug: 685 15548 cmsis_dap_usb.c:1001 cmsis_dap_swd_read_process(): SWD ack not OK @ 0 JUNK
Warn : 686 15548 adi_v5_swd.c:339 swd_quit(): Failed to power down Debug Domains
Debug: 687 15549 cmsis_dap_usb.c:1198 cmsis_dap_swd_switch_seq(): SWD-to-JTAG
Debug: 688 15549 cmsis_dap_usb.c:909 cmsis_dap_swd_write_from_queue(): Executing 0 queued transactions from FIFO index 0
Error: 689 15549 kitprog3.c:499 kitprog3_reset_acquire_params(): DEBUG kitprog3_reset_acquire_params()
pdp7@x1:~/dev/dojofive/bcd/openocd$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment