Skip to content

Instantly share code, notes, and snippets.

@jonathanpallant
Created July 6, 2023 15:51
Show Gist options
  • Save jonathanpallant/0bfddc08a9b34b5609e4c752d1a4be52 to your computer and use it in GitHub Desktop.
Save jonathanpallant/0bfddc08a9b34b5609e4c752d1a4be52 to your computer and use it in GitHub Desktop.
Infineon OpenOCD PSoC6 log
$ ./bin/openocd -s ./scripts -f interface/cmsis-dap.cfg -f target/psoc6_2m.cfg -d3
Open On-Chip Debugger 0.11.0+dev-4.4.0.2134 (2022-09-08-21:18)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
User : 3 3 options.c:54 configuration_output_handler(): debug_level: 3
Debug: 4 3 options.c:240 add_default_dirs(): bindir=/Users/jenkinsuser/builds/dbykvR6R/0/repo/cyopenocd/build/install/openocd/bin
Debug: 5 3 options.c:241 add_default_dirs(): pkgdatadir=/Users/jenkinsuser/builds/dbykvR6R/0/repo/cyopenocd/build/install/openocd
Debug: 6 3 options.c:242 add_default_dirs(): exepath=/Users/jonathan/Documents/ferrous-systems/knurling/infineon/openocd/bin
Debug: 7 3 options.c:243 add_default_dirs(): bin2data=..
Debug: 8 3 configuration.c:33 add_script_search_dir(): adding /Users/jonathan/Library/Preferences/org.openocd
Debug: 9 3 configuration.c:33 add_script_search_dir(): adding /Users/jonathan/.config/openocd
Debug: 10 3 configuration.c:33 add_script_search_dir(): adding /Users/jonathan/.openocd
Debug: 11 3 configuration.c:33 add_script_search_dir(): adding /Users/jonathan/Documents/ferrous-systems/knurling/infineon/openocd/bin/../site
Debug: 12 3 configuration.c:33 add_script_search_dir(): adding /Users/jonathan/Documents/ferrous-systems/knurling/infineon/openocd/bin/../scripts
Debug: 13 4 command.c:157 script_debug(): command - ocd_find interface/cmsis-dap.cfg
Debug: 14 4 configuration.c:88 find_file(): found ./scripts/interface/cmsis-dap.cfg
Debug: 15 4 command.c:157 script_debug(): command - adapter driver cmsis-dap
Debug: 16 4 command.c:157 script_debug(): command - ocd_find target/psoc6_2m.cfg
Debug: 17 4 configuration.c:88 find_file(): found ./scripts/target/psoc6_2m.cfg
Debug: 18 4 command.c:157 script_debug(): command - ocd_find target/mxs40/psoc6_common.cfg
Debug: 19 4 configuration.c:88 find_file(): found ./scripts/target/mxs40/psoc6_common.cfg
Debug: 20 5 command.c:157 script_debug(): command - ocd_find target/swj-dp.tcl
Debug: 21 5 configuration.c:88 find_file(): found ./scripts/target/swj-dp.tcl
Debug: 22 5 command.c:157 script_debug(): command - transport select
Info : 23 5 transport.c:266 jim_transport_select(): auto-selecting first available session transport "swd". To override use 'transport select <transport>'.
Debug: 24 5 command.c:157 script_debug(): command - ocd_find target/mxs40/mxs40_common.cfg
Debug: 25 5 configuration.c:88 find_file(): found ./scripts/target/mxs40/mxs40_common.cfg
Debug: 26 5 command.c:157 script_debug(): command - ocd_find target/mxs40/migration.cfg
Debug: 27 5 configuration.c:88 find_file(): found ./scripts/target/mxs40/migration.cfg
Debug: 28 5 command.c:157 script_debug(): command - add_usage_text acquire target
Debug: 29 5 command.c:157 script_debug(): command - add_help_text acquire Acquires the device in Test Mode
Debug: 30 5 command.c:157 script_debug(): command - ocd_find mem_helper.tcl
Debug: 31 5 configuration.c:88 find_file(): found ./scripts/mem_helper.tcl
Debug: 32 5 command.c:157 script_debug(): command - add_usage_text mrw address
Debug: 33 5 command.c:157 script_debug(): command - add_help_text mrw Returns value of word in memory.
Debug: 34 5 command.c:157 script_debug(): command - add_usage_text mrh address
Debug: 35 5 command.c:157 script_debug(): command - add_help_text mrh Returns value of halfword in memory.
Debug: 36 5 command.c:157 script_debug(): command - add_usage_text mrb address
Debug: 37 5 command.c:157 script_debug(): command - add_help_text mrb Returns value of byte in memory.
Debug: 38 5 command.c:157 script_debug(): command - add_usage_text mmw address setbits clearbits
Debug: 39 5 command.c:157 script_debug(): command - add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits;
Debug: 40 5 command.c:157 script_debug(): command - ocd_find target/mxs40/cy_get_set_device_param.cfg
Debug: 41 5 configuration.c:88 find_file(): found ./scripts/target/mxs40/cy_get_set_device_param.cfg
Debug: 42 5 command.c:157 script_debug(): command - ocd_find target/mxs40/psoc6_detect_geometry.cfg
Debug: 43 5 configuration.c:88 find_file(): found ./scripts/target/mxs40/psoc6_detect_geometry.cfg
Debug: 44 5 command.c:157 script_debug(): command - ocd_find target/mxs40/cympn_parser.cfg
Debug: 45 5 configuration.c:88 find_file(): found ./scripts/target/mxs40/cympn_parser.cfg
Debug: 46 5 command.c:157 script_debug(): command - ocd_find target/cympn.cfg
Debug: 47 6 configuration.c:88 find_file(): found ./scripts/target/cympn.cfg
Debug: 48 8 command.c:157 script_debug(): command - ocd_find target/mxs40/traveo2_detect_geometry.cfg
Debug: 49 8 configuration.c:88 find_file(): found ./scripts/target/mxs40/traveo2_detect_geometry.cfg
Debug: 50 8 command.c:157 script_debug(): command - ocd_find target/mxs40/cympn_parser.cfg
Debug: 51 8 configuration.c:88 find_file(): found ./scripts/target/mxs40/cympn_parser.cfg
Debug: 52 8 command.c:157 script_debug(): command - ocd_find target/cympn.cfg
Debug: 53 8 configuration.c:88 find_file(): found ./scripts/target/cympn.cfg
Debug: 54 9 command.c:157 script_debug(): command - transport select
Debug: 55 9 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 56 9 command.c:157 script_debug(): command - adapter speed 2000
Debug: 57 9 adapter.c:180 adapter_config_khz(): handle adapter khz
Debug: 58 9 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
Debug: 59 10 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
User : 60 10 options.c:54 configuration_output_handler(): adapter speed: 2000 kHz
Debug: 61 10 command.c:157 script_debug(): command - adapter srst delay 25
User : 62 10 options.c:54 configuration_output_handler(): adapter srst delay: 25
Debug: 63 10 command.c:157 script_debug(): command - adapter srst pulse_width 25
User : 64 10 options.c:54 configuration_output_handler(): adapter srst pulse_width: 25
Debug: 65 10 command.c:157 script_debug(): command - add_usage_text mxs40_acquire target
Debug: 66 10 command.c:157 script_debug(): command - add_help_text mxs40_acquire Acquires the device in Test Mode
Debug: 67 10 command.c:157 script_debug(): command - add_help_text erase_all Erases all non-virtual flash banks (in reverse order, for SMIF compatibility)
Debug: 68 10 command.c:157 script_debug(): command - add_usage_text detect_smif sflash_base (optional, 0x16000000 by default)
Debug: 69 10 command.c:157 script_debug(): command - add_help_text detect_smif Detects SMIF regions and displays flash bank configuration
Debug: 70 10 command.c:157 script_debug(): command - transport select
Debug: 71 10 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 72 10 command.c:157 script_debug(): command - adapter name
Debug: 73 10 command.c:157 script_debug(): command - echo ** Test Mode acquire not supported by selected adapter
User : 74 10 command.c:697 handle_echo(): ** Test Mode acquire not supported by selected adapter
Debug: 75 10 command.c:157 script_debug(): command - transport select
Debug: 76 10 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 77 10 command.c:157 script_debug(): command - transport select
Debug: 78 10 command.c:157 script_debug(): command - expr [ string first "swd" $_TRANSPORT ] != -1
Debug: 79 10 command.c:157 script_debug(): command - swd newdap psoc6 cpu -irlen 4 -ircapture 0x1 -irmask 0xf
Debug: 80 10 tcl.c:558 jim_newtap_cmd(): Creating New Tap, Chip: psoc6, Tap: cpu, Dotted: psoc6.cpu, 6 params
Debug: 81 10 core.c:1461 jtag_tap_init(): Created Tap: psoc6.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 82 10 command.c:157 script_debug(): command - dap create psoc6.dap -chain-position psoc6.cpu -power-down-on-quit
Debug: 83 10 command.c:157 script_debug(): command - target create psoc6.cpu.cm0 cortex_m -dap psoc6.dap -ap-num 1 -coreid 0
Debug: 84 10 command.c:291 register_command(): command 'tpiu' is already registered
Debug: 85 10 command.c:291 register_command(): command 'cortex_m smp_gdb' is already registered
Debug: 86 10 command.c:291 register_command(): command 'rtt' is already registered
Debug: 87 10 command.c:291 register_command(): command 'psoc6.cpu.cm0 cortex_m smp_gdb' is already registered
Debug: 88 10 command.c:157 script_debug(): command - psoc6.cpu.cm0 configure -work-area-phys 0x08000000 -work-area-size 0x8000 -work-area-backup 0
Debug: 89 10 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 90 10 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 91 10 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 92 10 command.c:157 script_debug(): command - flash bank psoc6_main_cm0 psoc6_2m 0x10000000 0 0 0 psoc6.cpu.cm0
Debug: 93 11 tcl.c:1553 handle_flash_bank_command(): 'psoc6_2m' driver usage field missing
Debug: 94 11 command.c:157 script_debug(): command - flash bank psoc6_work_cm0 psoc6_2m 0x14000000 0 0 0 psoc6.cpu.cm0
Debug: 95 11 command.c:291 register_command(): command 'psoc6' is already registered
Debug: 96 11 command.c:291 register_command(): command 'psoc6 secure_acquire' is already registered
Debug: 97 11 command.c:291 register_command(): command 'psoc6 mass_erase' is already registered
Debug: 98 11 command.c:291 register_command(): command 'psoc6 reset_halt' is already registered
Debug: 99 11 command.c:291 register_command(): command 'psoc6 sflash_restrictions' is already registered
Debug: 100 11 command.c:291 register_command(): command 'psoc6 set_region_size' is already registered
Debug: 101 11 command.c:291 register_command(): command 'psoc6 sromcall_prepare' is already registered
Debug: 102 11 command.c:291 register_command(): command 'psoc6 sromcall' is already registered
Debug: 103 11 command.c:291 register_command(): command 'psoc6 sromcall_release' is already registered
Debug: 104 11 tcl.c:1553 handle_flash_bank_command(): 'psoc6_2m' driver usage field missing
Debug: 105 11 command.c:157 script_debug(): command - flash bank psoc6_super_cm0 psoc6_2m 0x16000000 0 0 0 psoc6.cpu.cm0
Debug: 106 11 command.c:291 register_command(): command 'psoc6' is already registered
Debug: 107 11 command.c:291 register_command(): command 'psoc6 secure_acquire' is already registered
Debug: 108 11 command.c:291 register_command(): command 'psoc6 mass_erase' is already registered
Debug: 109 11 command.c:291 register_command(): command 'psoc6 reset_halt' is already registered
Debug: 110 11 command.c:291 register_command(): command 'psoc6 sflash_restrictions' is already registered
Debug: 111 11 command.c:291 register_command(): command 'psoc6 set_region_size' is already registered
Debug: 112 11 command.c:291 register_command(): command 'psoc6 sromcall_prepare' is already registered
Debug: 113 11 command.c:291 register_command(): command 'psoc6 sromcall' is already registered
Debug: 114 11 command.c:291 register_command(): command 'psoc6 sromcall_release' is already registered
Debug: 115 11 tcl.c:1553 handle_flash_bank_command(): 'psoc6_2m' driver usage field missing
Debug: 116 11 command.c:157 script_debug(): command - flash bank psoc6_efuse_cm0 psoc6_2m_efuse 0x90700000 1024 1 1 psoc6.cpu.cm0 external
Debug: 117 11 command.c:291 register_command(): command 'psoc6' is already registered
Debug: 118 11 tcl.c:1553 handle_flash_bank_command(): 'psoc6_2m_efuse' driver usage field missing
Debug: 119 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm0 0x08000000 0x00200000
Debug: 120 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm0 0x10000000 0x00200000
Debug: 121 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm0 0x14000000 0x00200000
Debug: 122 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm0 0x16000000 0x00200000
Debug: 123 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm0 0x90700000 0x00000400
Debug: 124 11 command.c:157 script_debug(): command - psoc6.cpu.cm0 cortex_m reset_config sysresetreq
User : 125 11 options.c:54 configuration_output_handler(): cortex_m reset_config sysresetreq
Debug: 126 11 command.c:157 script_debug(): command - psoc6.cpu.cm0 configure -event reset-deassert-post mxs40_reset_deassert_post psoc6 psoc6.cpu.cm0
Debug: 127 11 command.c:157 script_debug(): command - psoc6.cpu.cm0 configure -event examine-end cy_get_set_device_param psoc6_2m psoc6_main_cm0 psoc6_work_cm0
Debug: 128 11 command.c:157 script_debug(): command - target create psoc6.cpu.cm4 cortex_m -dap psoc6.dap -ap-num 2 -coreid 1
Debug: 129 11 command.c:291 register_command(): command 'arm' is already registered
Debug: 130 11 command.c:291 register_command(): command 'arm reg' is already registered
Debug: 131 11 command.c:291 register_command(): command 'arm core_state' is already registered
Debug: 132 11 command.c:291 register_command(): command 'arm disassemble' is already registered
Debug: 133 11 command.c:291 register_command(): command 'arm mcr' is already registered
Debug: 134 11 command.c:291 register_command(): command 'arm mrc' is already registered
Debug: 135 11 command.c:291 register_command(): command 'arm semihosting' is already registered
Debug: 136 11 command.c:291 register_command(): command 'arm semihosting_redirect' is already registered
Debug: 137 11 command.c:291 register_command(): command 'arm semihosting_cmdline' is already registered
Debug: 138 11 command.c:291 register_command(): command 'arm semihosting_fileio' is already registered
Debug: 139 11 command.c:291 register_command(): command 'arm semihosting_resexit' is already registered
Debug: 140 11 command.c:291 register_command(): command 'arm semihosting_read_user_param' is already registered
Debug: 141 11 command.c:291 register_command(): command 'arm semihosting_basedir' is already registered
Debug: 142 11 command.c:291 register_command(): command 'itm' is already registered
Debug: 143 11 command.c:291 register_command(): command 'itm port' is already registered
Debug: 144 11 command.c:291 register_command(): command 'itm ports' is already registered
Debug: 145 11 command.c:291 register_command(): command 'tpiu' is already registered
Debug: 146 11 command.c:291 register_command(): command 'tpiu config' is already registered
Debug: 147 11 command.c:291 register_command(): command 'cortex_m' is already registered
Debug: 148 11 command.c:291 register_command(): command 'cortex_m smp_gdb' is already registered
Debug: 149 11 command.c:291 register_command(): command 'cortex_m maskisr' is already registered
Debug: 150 11 command.c:291 register_command(): command 'cortex_m vector_catch' is already registered
Debug: 151 11 command.c:291 register_command(): command 'cortex_m reset_config' is already registered
Debug: 152 11 command.c:291 register_command(): command 'cortex_m smp' is already registered
Debug: 153 11 command.c:291 register_command(): command 'cortex_m smp_gdb' is already registered
Debug: 154 11 command.c:291 register_command(): command 'rtt' is already registered
Debug: 155 11 command.c:291 register_command(): command 'rtt setup' is already registered
Debug: 156 11 command.c:291 register_command(): command 'rtt start' is already registered
Debug: 157 11 command.c:291 register_command(): command 'rtt stop' is already registered
Debug: 158 11 command.c:291 register_command(): command 'rtt polling_interval' is already registered
Debug: 159 11 command.c:291 register_command(): command 'rtt channels' is already registered
Debug: 160 11 command.c:291 register_command(): command 'rtt channellist' is already registered
Debug: 161 11 command.c:291 register_command(): command 'psoc6.cpu.cm4 cortex_m smp_gdb' is already registered
Debug: 162 11 command.c:157 script_debug(): command - psoc6.cpu.cm4 configure -work-area-phys 0x08000000 -work-area-size 0x8000 -work-area-backup 0
Debug: 163 11 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 164 11 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 165 11 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 166 11 command.c:157 script_debug(): command - flash bank psoc6_main_cm4 virtual 0x10000000 0 0 0 psoc6.cpu.cm4 psoc6_main_cm0
Debug: 167 11 tcl.c:1553 handle_flash_bank_command(): 'virtual' driver usage field missing
Debug: 168 11 command.c:157 script_debug(): command - flash bank psoc6_work_cm4 virtual 0x14000000 0 0 0 psoc6.cpu.cm4 psoc6_work_cm0
Debug: 169 11 tcl.c:1553 handle_flash_bank_command(): 'virtual' driver usage field missing
Debug: 170 11 command.c:157 script_debug(): command - flash bank psoc6_super_cm4 virtual 0x16000000 0 0 0 psoc6.cpu.cm4 psoc6_super_cm0
Debug: 171 11 tcl.c:1553 handle_flash_bank_command(): 'virtual' driver usage field missing
Debug: 172 11 command.c:157 script_debug(): command - flash bank psoc6_efuse_cm4 virtual 0x90700000 1024 1 1 psoc6.cpu.cm4 psoc6_efuse_cm0 external
Debug: 173 11 tcl.c:1553 handle_flash_bank_command(): 'virtual' driver usage field missing
Debug: 174 11 command.c:157 script_debug(): command - psoc6.cpu.cm4 configure -event reset-assert
Debug: 175 11 command.c:157 script_debug(): command - targets psoc6.cpu.cm0
Debug: 176 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm4 0x08000000 0x00200000
Debug: 177 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm4 0x10000000 0x00200000
Debug: 178 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm4 0x14000000 0x00200000
Debug: 179 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm4 0x16000000 0x00200000
Debug: 180 11 command.c:157 script_debug(): command - add_verify_range psoc6.cpu.cm4 0x90700000 0x00000400
Debug: 181 11 command.c:157 script_debug(): command - psoc6.cpu.cm4 cortex_m reset_config sysresetreq
User : 182 11 options.c:54 configuration_output_handler(): cortex_m reset_config sysresetreq
Debug: 183 11 command.c:157 script_debug(): command - psoc6.cpu.cm4 configure -event reset-deassert-post mxs40_reset_deassert_post psoc6 psoc6.cpu.cm4
Debug: 184 11 command.c:157 script_debug(): command - transport select
Debug: 185 11 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 186 11 command.c:157 script_debug(): command - ocd_find qspi_config.cfg
Debug: 187 11 command.c:157 script_debug(): command - gdb_smart_program enable
Info : 188 12 server.c:298 add_service(): Listening on port 6666 for tcl connections
Info : 189 12 server.c:298 add_service(): Listening on port 4444 for telnet connections
Debug: 190 12 command.c:157 script_debug(): command - init
Debug: 191 12 command.c:157 script_debug(): command - target init
Debug: 192 12 command.c:157 script_debug(): command - target names
Debug: 193 12 command.c:157 script_debug(): command - psoc6.cpu.cm0 cget -event gdb-flash-erase-start
Debug: 194 12 command.c:157 script_debug(): command - psoc6.cpu.cm0 configure -event gdb-flash-erase-start reset init
Debug: 195 12 command.c:157 script_debug(): command - psoc6.cpu.cm0 cget -event gdb-flash-write-end
Debug: 196 12 command.c:157 script_debug(): command - psoc6.cpu.cm0 configure -event gdb-flash-write-end reset halt
Debug: 197 12 command.c:157 script_debug(): command - psoc6.cpu.cm0 cget -event gdb-attach
Debug: 198 12 command.c:157 script_debug(): command - psoc6.cpu.cm0 configure -event gdb-attach halt 1000
Debug: 199 12 command.c:157 script_debug(): command - psoc6.cpu.cm4 cget -event gdb-flash-erase-start
Debug: 200 12 command.c:157 script_debug(): command - psoc6.cpu.cm4 configure -event gdb-flash-erase-start reset init
Debug: 201 12 command.c:157 script_debug(): command - psoc6.cpu.cm4 cget -event gdb-flash-write-end
Debug: 202 12 command.c:157 script_debug(): command - psoc6.cpu.cm4 configure -event gdb-flash-write-end reset halt
Debug: 203 12 command.c:157 script_debug(): command - psoc6.cpu.cm4 cget -event gdb-attach
Debug: 204 12 command.c:157 script_debug(): command - psoc6.cpu.cm4 configure -event gdb-attach halt 1000
Debug: 205 12 target.c:1745 handle_target_init_command(): Initializing targets...
Debug: 206 12 semihosting_common.c:109 semihosting_common_init():
Debug: 207 12 semihosting_common.c:109 semihosting_common_init():
Debug: 208 18 cmsis_dap_usb_bulk.c:179 cmsis_dap_usb_open(): enumerating interfaces of 0x046d:0x0893
Debug: 209 21 cmsis_dap_usb_bulk.c:179 cmsis_dap_usb_open(): enumerating interfaces of 0x04d9:0x2013
Debug: 210 25 cmsis_dap_usb_bulk.c:159 cmsis_dap_usb_open(): found product string of 0x04b4:0xf155 'KitProg3 CMSIS-DAP'
Debug: 211 25 cmsis_dap_usb_bulk.c:179 cmsis_dap_usb_open(): enumerating interfaces of 0x04b4:0xf155
Debug: 212 29 cmsis_dap_usb_bulk.c:226 cmsis_dap_usb_open(): found interface 0 string 'KitProg3 CMSIS-DAP'
Info : 213 29 cmsis_dap_usb_bulk.c:327 cmsis_dap_usb_open(): Using CMSIS-DAPv2 interface with VID:PID=0x04b4:0xf155, serial=171109F801071400
Info : 214 41 cmsis_dap.c:1051 cmsis_dap_get_caps_info(): CMSIS-DAP: SWD supported
Info : 215 41 cmsis_dap.c:1051 cmsis_dap_get_caps_info(): CMSIS-DAP: Atomic commands supported
Info : 216 41 cmsis_dap.c:1028 cmsis_dap_get_version_info(): CMSIS-DAP: FW Version = 2.0.0
Info : 217 41 cmsis_dap.c:1180 cmsis_dap_swd_open(): CMSIS-DAP: Interface Initialised (SWD)
Debug: 218 42 cmsis_dap.c:1262 cmsis_dap_init(): CMSIS-DAP: Packet Count = 64
Debug: 219 42 cmsis_dap.c:1265 cmsis_dap_init(): Allocating FIFO for 28 pending packets
Info : 220 43 cmsis_dap.c:1090 cmsis_dap_get_status(): SWCLK/TCK = 1 SWDIO/TMS = 1 TDI = 0 TDO = 0 nTRST = 0 nRESET = 1
Info : 221 44 cmsis_dap.c:1316 cmsis_dap_init(): CMSIS-DAP: Interface ready
Debug: 222 44 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
Debug: 223 44 adapter.c:148 adapter_khz_to_speed(): have adapter set up
Debug: 224 44 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
Debug: 225 44 adapter.c:148 adapter_khz_to_speed(): have adapter set up
Info : 226 44 adapter.c:108 adapter_init(): clock speed 2000 kHz
Debug: 227 44 openocd.c:133 handle_init_command(): Debug Adapter init complete
Debug: 228 44 command.c:157 script_debug(): command - transport init
Debug: 229 44 transport.c:219 handle_transport_init(): handle_transport_init
Debug: 230 44 command.c:157 script_debug(): command - dap init
Debug: 231 44 arm_dap.c:159 dap_init_all(): Initializing all DAPs ...
Debug: 232 45 cmsis_dap.c:1124 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Info : 233 45 adi_v5_swd.c:368 swd_connect_single(): SWD DPIDR 0x6ba02477
Debug: 234 45 arm_adi_v5.c:679 dap_dp_init(): psoc6.dap
Debug: 235 46 arm_adi_v5.c:724 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 236 46 arm_adi_v5.h:642 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Debug: 237 46 arm_adi_v5.c:731 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 238 46 arm_adi_v5.h:642 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
Debug: 239 46 cmsis_dap.c:813 cmsis_dap_swd_write_from_queue(): refusing to enable sticky overrun detection
Debug: 240 47 openocd.c:150 handle_init_command(): Examining targets...
Debug: 241 47 target.c:1933 target_call_event_callbacks(): target event 19 (examine-start) for core psoc6.cpu.cm0
Debug: 242 47 arm_adi_v5.c:1115 dap_get_ap(): refcount AP#0x1 get 1
Debug: 243 47 arm_adi_v5.c:846 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 244 47 arm_adi_v5.c:857 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 245 48 target.c:2739 target_read_u32(): address: 0xe000ed00, value: 0x410cc601
Info : 246 48 cortex_m.c:2492 cortex_m_examine(): [psoc6.cpu.cm0] Cortex-M0+ r0p1 processor detected
Debug: 247 48 cortex_m.c:2504 cortex_m_examine(): [psoc6.cpu.cm0] cpuid: 0x410cc601
Debug: 248 48 target.c:2739 target_read_u32(): address: 0xe000edf0, value: 0x00030003
Debug: 249 48 target.c:2827 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 250 49 target.c:2739 target_read_u32(): address: 0xe0002000, value: 0x00000041
Debug: 251 49 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 252 49 target.c:2827 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 253 49 target.c:2827 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 254 50 target.c:2827 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 255 50 cortex_m.c:2597 cortex_m_examine(): [psoc6.cpu.cm0] FPB fpcr 0x41, numcode 4, numlit 0
Debug: 256 50 target.c:2739 target_read_u32(): address: 0xe0001000, value: 0x20000000
Debug: 257 50 cortex_m.c:2320 cortex_m_dwt_setup(): [psoc6.cpu.cm0] DWT_CTRL: 0x20000000
Debug: 258 50 target.c:2739 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
Debug: 259 50 cortex_m.c:2327 cortex_m_dwt_setup(): [psoc6.cpu.cm0] DWT_DEVARCH: 0x0
Debug: 260 50 target.c:2827 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 261 51 target.c:2827 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 262 51 cortex_m.c:2376 cortex_m_dwt_setup(): [psoc6.cpu.cm0] DWT dwtcr 0x20000000, comp 2, watch/trigger
Info : 263 51 cortex_m.c:2606 cortex_m_examine(): [psoc6.cpu.cm0] target has 4 breakpoints, 2 watchpoints
Debug: 264 51 target.c:1933 target_call_event_callbacks(): target event 21 (examine-end) for core psoc6.cpu.cm0
Debug: 265 51 target.c:5351 target_handle_event(): target(0): psoc6.cpu.cm0 (cortex_m) event: 21 (examine-end) action: cy_get_set_device_param psoc6_2m psoc6_main_cm0 psoc6_work_cm0
Debug: 266 51 command.c:157 script_debug(): command - target current
Debug: 267 51 command.c:157 script_debug(): command - expr [string first "." ${tgt}] - 1
Debug: 268 52 command.c:157 script_debug(): command - echo ***************************************
User : 269 52 command.c:697 handle_echo(): ***************************************
Debug: 270 52 command.c:157 script_debug(): command - target current
Debug: 271 52 command.c:157 script_debug(): command - expr [string first "." ${tgt}] - 1
Debug: 272 53 command.c:157 script_debug(): command - expr [mrw $addr_siid] >> 16
Debug: 273 53 command.c:157 script_debug(): command - read_memory 0x16000000 32 1
Debug: 274 53 command.c:157 script_debug(): command - expr ([mrw $addr_siid] & 0x0000FF00) >> 8
Debug: 275 54 command.c:157 script_debug(): command - read_memory 0x16000000 32 1
Debug: 276 54 command.c:157 script_debug(): command - expr [mrw $addr_family] & 0x00000FFF
Debug: 277 55 command.c:157 script_debug(): command - read_memory 0x1600000C 32 1
Debug: 278 55 command.c:157 script_debug(): command - expr $rev_major + 0x40
Debug: 279 56 command.c:157 script_debug(): command - expr $rev_minor - 1
Debug: 280 56 command.c:157 script_debug(): command - expr $rev_major + 0x40
Debug: 281 56 command.c:157 script_debug(): command - echo ** Silicon: 0xE402, Family: 0x102, Rev.: 0x11 (A0)
User : 282 57 command.c:697 handle_echo(): ** Silicon: 0xE402, Family: 0x102, Rev.: 0x11 (A0)
Debug: 283 57 command.c:157 script_debug(): command - echo ** Detected Device: CY8C624ABZI-D44
User : 284 57 command.c:697 handle_echo(): ** Detected Device: CY8C624ABZI-D44
Debug: 285 57 command.c:157 script_debug(): command - target current
Debug: 286 57 command.c:157 script_debug(): command - expr [string first "." ${tgt}] - 1
Debug: 287 57 command.c:157 script_debug(): command - echo ** Detected Main Flash size, kb: 2048
User : 288 58 command.c:697 handle_echo(): ** Detected Main Flash size, kb: 2048
Debug: 289 58 command.c:157 script_debug(): command - expr $main_size * 1024
Debug: 290 58 command.c:157 script_debug(): command - psoc6 set_region_size psoc6_main_cm0 2097152
Debug: 291 58 command.c:157 script_debug(): command - read_memory 0x16002004 32 1
Debug: 292 59 command.c:157 script_debug(): command - read_memory 0x16002018 32 1
Debug: 293 60 command.c:157 script_debug(): command - expr $fb_ver_hi >> 28
Debug: 294 60 command.c:157 script_debug(): command - expr ($fb_ver_hi >> 24) & 0xF
Debug: 295 60 command.c:157 script_debug(): command - expr ($fb_ver_hi >> 16) & 0xFF
Debug: 296 61 command.c:157 script_debug(): command - expr $fb_ver_hi & 0x0000FFFF
Debug: 297 61 command.c:157 script_debug(): command - expr $fb_ver_lo >> 24
Debug: 298 61 command.c:157 script_debug(): command - expr $fb_ver_lo & 0xFFFF
Debug: 299 61 command.c:157 script_debug(): command - echo ** Flash Boot version: 3.1.0.129
User : 300 62 command.c:697 handle_echo(): ** Flash Boot version: 3.1.0.129
Debug: 301 62 command.c:157 script_debug(): command - read_memory 0x16000028 32 1
Debug: 302 62 command.c:157 script_debug(): command - read_memory 0x402020C4 32 1
Debug: 303 63 command.c:157 script_debug(): command - echo ** Chip Protection: NORMAL
User : 304 63 command.c:697 handle_echo(): ** Chip Protection: NORMAL
Debug: 305 63 command.c:157 script_debug(): command - echo ***************************************
User : 306 64 command.c:697 handle_echo(): ***************************************
Debug: 307 64 target.c:1933 target_call_event_callbacks(): target event 19 (examine-start) for core psoc6.cpu.cm4
Debug: 308 64 arm_adi_v5.c:1115 dap_get_ap(): refcount AP#0x2 get 1
Debug: 309 64 arm_adi_v5.c:846 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 310 64 arm_adi_v5.c:857 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 311 65 target.c:2739 target_read_u32(): address: 0xe000ed00, value: 0x410fc241
Info : 312 65 cortex_m.c:2492 cortex_m_examine(): [psoc6.cpu.cm4] Cortex-M4 r0p1 processor detected
Debug: 313 65 cortex_m.c:2504 cortex_m_examine(): [psoc6.cpu.cm4] cpuid: 0x410fc241
Debug: 314 65 target.c:2739 target_read_u32(): address: 0xe000ef40, value: 0x10110021
Debug: 315 65 target.c:2739 target_read_u32(): address: 0xe000ef44, value: 0x11000011
Debug: 316 65 cortex_m.c:2512 cortex_m_examine(): [psoc6.cpu.cm4] Cortex-M4 floating point feature FPv4_SP found
Debug: 317 66 target.c:2739 target_read_u32(): address: 0xe000edf0, value: 0x03050000
Debug: 318 66 target.c:2827 target_write_u32(): address: 0xe000edf0, value: 0xa05f0001
Debug: 319 66 target.c:2827 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 320 66 target.c:2739 target_read_u32(): address: 0xe0002000, value: 0x00000260
Debug: 321 66 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 322 67 target.c:2827 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 323 67 target.c:2827 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 324 67 target.c:2827 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 325 67 target.c:2827 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 326 68 target.c:2827 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 327 68 target.c:2827 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 328 68 target.c:2827 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 329 68 cortex_m.c:2597 cortex_m_examine(): [psoc6.cpu.cm4] FPB fpcr 0x260, numcode 6, numlit 2
Debug: 330 69 target.c:2739 target_read_u32(): address: 0xe0001000, value: 0x40000000
Debug: 331 69 cortex_m.c:2320 cortex_m_dwt_setup(): [psoc6.cpu.cm4] DWT_CTRL: 0x40000000
Debug: 332 69 target.c:2739 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
Debug: 333 69 cortex_m.c:2327 cortex_m_dwt_setup(): [psoc6.cpu.cm4] DWT_DEVARCH: 0x0
Debug: 334 69 target.c:2827 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 335 69 target.c:2827 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 336 70 target.c:2827 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 337 70 target.c:2827 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 338 70 cortex_m.c:2376 cortex_m_dwt_setup(): [psoc6.cpu.cm4] DWT dwtcr 0x40000000, comp 4, watch/trigger
Info : 339 70 cortex_m.c:2606 cortex_m_examine(): [psoc6.cpu.cm4] target has 6 breakpoints, 4 watchpoints
Debug: 340 70 target.c:1933 target_call_event_callbacks(): target event 21 (examine-end) for core psoc6.cpu.cm4
Debug: 341 70 command.c:157 script_debug(): command - flash init
Info : 342 71 cortex_m.c:986 cortex_m_poll(): [psoc6.cpu.cm4] external reset detected
Debug: 343 71 tcl.c:1623 handle_flash_init_command(): Initializing flash devices...
Debug: 344 71 command.c:157 script_debug(): command - nand init
Debug: 345 71 cortex_m.c:996 cortex_m_poll(): [psoc6.cpu.cm4] Exit from reset with dcb_dhcsr 0x50001
Debug: 346 72 cortex_m.c:583 cortex_m_endreset_event(): [psoc6.cpu.cm4] DCB_DEMCR = 0x01000000
Debug: 347 72 target.c:2827 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 348 73 target.c:2739 target_read_u32(): address: 0xe0002000, value: 0x00000261
Debug: 349 73 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 350 73 target.c:2827 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 351 73 target.c:2827 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 352 74 target.c:2827 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 353 74 target.c:2827 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 354 74 target.c:2827 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 355 74 target.c:2827 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 356 75 target.c:2827 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 357 75 target.c:2827 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 358 75 target.c:2827 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 359 75 target.c:2827 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 360 76 target.c:2827 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 361 76 target.c:2827 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 362 76 target.c:2827 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 363 76 target.c:2827 target_write_u32(): address: 0xe0001040, value: 0x00000000
Debug: 364 77 target.c:2827 target_write_u32(): address: 0xe0001044, value: 0x00000000
Debug: 365 77 target.c:2827 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 366 77 target.c:2827 target_write_u32(): address: 0xe0001050, value: 0x00000000
Debug: 367 77 target.c:2827 target_write_u32(): address: 0xe0001054, value: 0x00000000
Debug: 368 78 target.c:2827 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 369 78 tcl.c:487 handle_nand_init_command(): Initializing NAND devices...
Debug: 370 78 command.c:157 script_debug(): command - pld init
Debug: 371 79 pld.c:194 handle_pld_init_command(): Initializing PLDs...
Debug: 372 79 command.c:157 script_debug(): command - tpiu init
Info : 373 80 gdb_server.c:3865 gdb_target_start(): starting gdb server for psoc6.cpu.cm0 on 3333
Info : 374 80 server.c:298 add_service(): Listening on port 3333 for gdb connections
Info : 375 80 gdb_server.c:3865 gdb_target_start(): starting gdb server for psoc6.cpu.cm4 on 3334
Info : 376 80 server.c:298 add_service(): Listening on port 3334 for gdb connections
Info : 377 12371 server.c:90 add_connection(): accepting 'gdb' connection on tcp/3333
Debug: 378 12371 breakpoints.c:363 breakpoint_clear_target_internal(): Delete all breakpoints for target: psoc6.cpu.cm0
Debug: 379 12371 breakpoints.c:543 watchpoint_clear_target(): Delete all watchpoints for target: psoc6.cpu.cm0
Debug: 380 12371 target.c:1933 target_call_event_callbacks(): target event 22 (gdb-attach) for core psoc6.cpu.cm0
Debug: 381 12371 target.c:5351 target_handle_event(): target(0): psoc6.cpu.cm0 (cortex_m) event: 22 (gdb-attach) action: halt 1000
Debug: 382 12371 command.c:157 script_debug(): command - halt 1000
Debug: 383 12372 target.c:3419 handle_halt_command(): -
Debug: 384 12372 cortex_m.c:1072 cortex_m_halt(): [psoc6.cpu.cm0] target->state: halted
Debug: 385 12372 cortex_m.c:1075 cortex_m_halt(): [psoc6.cpu.cm0] target was already halted
Debug: 386 12373 target.c:2739 target_read_u32(): address: 0x16002004, value: 0x23018001
Debug: 387 12373 target.c:2739 target_read_u32(): address: 0x16002018, value: 0x00000081
Debug: 388 12374 target.c:2739 target_read_u32(): address: 0x16002004, value: 0x23018001
Debug: 389 12374 target.c:2739 target_read_u32(): address: 0x16002018, value: 0x00000081
Debug: 390 12374 target.c:2739 target_read_u32(): address: 0x16002004, value: 0x23018001
Debug: 391 12375 target.c:2739 target_read_u32(): address: 0x16002018, value: 0x00000081
Info : 392 12375 gdb_server.c:1076 gdb_new_connection(): New GDB Connection: 1, Target psoc6.cpu.cm0, state: halted
Debug: 393 12375 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+;memory-tagging+
Debug: 394 12375 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $PacketSize=4000;qXfer:memory-map:read+;qXfer:features:read+;qXfer:threads:read+;QStartNoAckMode+;vContSupported+#02
Debug: 395 12375 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: +
Debug: 396 12375 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vMustReplyEmpty
Debug: 397 12375 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $#00
Debug: 398 12375 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: +
Debug: 399 12375 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: QStartNoAckMode
Debug: 400 12375 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 401 12376 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: +
Debug: 402 12376 gdb_server.c:695 gdb_get_packet_inner(): Received first acknowledgment after entering noack mode. Ignoring it.
Debug: 403 12376 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: !
Debug: 404 12376 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 405 12377 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: Hg0
Debug: 406 12377 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 407 12378 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qXfer:features:read:target.xml:0,1000
Debug: 408 12378 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $l<?xml version="1.0"?>
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target version="1.0">
<architecture>arm</architecture>
<feature name="org.gnu.gdb.arm.m-profile">
<reg name="r0" bitsize="32" regnum="0" save-restore="yes" type="int" group="general"/>
<reg name="r1" bitsize="32" regnum="1" save-restore="yes" type="int" group="general"/>
<reg name="r2" bitsize="32" regnum="2" save-restore="yes" type="int" group="general"/>
<reg name="r3" bitsize="32" regnum="3" save-restore="yes" type="int" group="general"/>
<reg name="r4" bitsize="32" regnum="4" save-restore="yes" type="int" group="general"/>
<reg name="r5" bitsize="32" regnum="5" save-restore="yes" type="int" group="general"/>
<reg name="r6" bitsize="32" regnum="6" save-restore="yes" type="int" group="general"/>
<reg name="r7" bitsize="32" regnum="7" save-restore="yes" type="int" group="general"/>
<reg name="r8" bitsize="32" regnum="8" save-restore="yes" type="int" group="general"/>
<reg name="r9" bitsize="32" regnum="9" save-restore="yes" type="int" group="general"/>
<reg name="r10" bitsize="32" regnum="10" save-restore="yes" type="int" group="general"/>
<reg name="r11" bitsize="32" regnum="11" save-restore="yes" type="int" group="general"/>
<reg name="r12" bitsize="32" regnum="12" save-restore="yes" type="int" group="general"/>
<reg name="sp" bitsize="32" regnum="13" save-restore="yes" type="data_ptr" group="general"/>
<reg name="lr" bitsize="32" regnum="14" save-restore="yes" type="int" group="general"/>
<reg name="pc" bitsize="32" regnum="15" save-restore="yes" type="code_ptr" group="general"/>
<reg name="xPSR" bitsize="32" regnum="16" save-restore="yes" type="int" group="general"/>
</feature>
<feature name="org.gnu.gdb.arm.m-system">
<reg name="msp" bitsize="32" regnum="17" save-restore="yes" type="data_ptr" group="system"/>
<reg name="psp" bitsize="32" regnum="18" save-restore="yes" type="data_ptr" group="system"/>
<reg name="primask" bitsize="1" regnum="20" save-restore="yes" type="int8" group="system"/>
<reg name="basepri" bitsize="8" regnum="21" save-restore="yes" type="int8" group="system"/>
<reg name="faultmask" bitsize="1" regnum="22" save-restore="yes" type="int8" group="system"/>
<reg name="control" bitsize="3" regnum="23" save-restore="yes" type="int8" group="system"/>
</feature>
</target>
#da
Debug: 409 12379 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qTStatus
Debug: 410 12379 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $#00
Debug: 411 12379 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: ?
User : 412 12379 gdb_server.c:165 gdb_last_signal(): undefined debug reason 8 - target needs reset
Debug: 413 12379 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $T00thread:1;#d2
Debug: 414 12380 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qXfer:threads:read::0,1000
Debug: 415 12380 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $l<?xml version="1.0"?>
<threads>
<thread id="1">Name: Current Execution</thread>
</threads>
#50
Debug: 416 12381 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qAttached
Debug: 417 12381 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $1#31
Debug: 418 12381 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: Hc-1
Debug: 419 12381 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 420 12382 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qOffsets
Debug: 421 12382 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $Text=0;Data=0;Bss=0#04
Debug: 422 12382 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: g
Debug: 423 12383 armv7m.c:368 armv7m_read_core_reg(): read r0 value 0x00000000
Debug: 424 12383 armv7m.c:368 armv7m_read_core_reg(): read r1 value 0xffffffff
Debug: 425 12384 armv7m.c:368 armv7m_read_core_reg(): read r2 value 0x0000000b
Debug: 426 12384 armv7m.c:368 armv7m_read_core_reg(): read r3 value 0x00000005
Debug: 427 12384 armv7m.c:368 armv7m_read_core_reg(): read r4 value 0x100000c1
Debug: 428 12385 armv7m.c:368 armv7m_read_core_reg(): read r5 value 0xffff0000
Debug: 429 12385 armv7m.c:368 armv7m_read_core_reg(): read r6 value 0x00000001
Debug: 430 12385 armv7m.c:368 armv7m_read_core_reg(): read r7 value 0x08000ba0
Debug: 431 12386 armv7m.c:368 armv7m_read_core_reg(): read r8 value 0x080ff7c8
Debug: 432 12386 armv7m.c:368 armv7m_read_core_reg(): read r9 value 0x4b688f21
Debug: 433 12387 armv7m.c:368 armv7m_read_core_reg(): read r10 value 0x9180c352
Debug: 434 12387 armv7m.c:368 armv7m_read_core_reg(): read r11 value 0x9ac52018
Debug: 435 12387 armv7m.c:368 armv7m_read_core_reg(): read r12 value 0x00000400
Debug: 436 12388 armv7m.c:368 armv7m_read_core_reg(): read sp value 0x08000ba0
Debug: 437 12388 armv7m.c:368 armv7m_read_core_reg(): read lr value 0x100016f9
Debug: 438 12388 armv7m.c:368 armv7m_read_core_reg(): read pc value 0x100018ac
Debug: 439 12389 armv7m.c:368 armv7m_read_core_reg(): read xPSR value 0x61000000
Debug: 440 12389 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $00000000ffffffff0b00000005000000c10000100000ffff01000000a00b0008c8f70f08218f684b52c380911820c59a00040000a00b0008f9160010ac18001000000061#12
Debug: 441 12389 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qXfer:threads:read::0,1000
Debug: 442 12389 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $l<?xml version="1.0"?>
<threads>
<thread id="1">Name: Current Execution</thread>
</threads>
#50
Debug: 443 12390 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qSymbol::
Debug: 444 12390 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 445 14687 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qRcmd,7265736574
Debug: 446 14687 command.c:157 script_debug(): command - reset
Debug: 447 14688 target.c:1951 target_call_reset_callbacks(): target reset 1 (run)
Debug: 448 14688 target.c:1951 target_call_reset_callbacks(): target reset 1 (run)
Debug: 449 14688 command.c:157 script_debug(): command - expr [catch {ocd_process_reset_inner $MODE} result] == 0
Debug: 450 14688 command.c:157 script_debug(): command - target names
Debug: 451 14688 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event reset-start
Debug: 452 14688 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event reset-start
Debug: 453 14688 command.c:157 script_debug(): command - transport select
Debug: 454 14688 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 455 14688 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event examine-start
Debug: 456 14688 command.c:157 script_debug(): command - psoc6.cpu.cm0 arp_examine allow-defer
Debug: 457 14688 arm_adi_v5.c:1140 dap_put_ap(): refcount AP#0x1 put 0
Debug: 458 14688 arm_adi_v5.c:1115 dap_get_ap(): refcount AP#0x1 get 1
Debug: 459 14689 arm_adi_v5.c:846 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 460 14689 arm_adi_v5.c:857 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 461 14689 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event examine-end
Debug: 462 14689 target.c:5351 target_handle_event(): target(0): psoc6.cpu.cm0 (cortex_m) event: 21 (examine-end) action: cy_get_set_device_param psoc6_2m psoc6_main_cm0 psoc6_work_cm0
Debug: 463 14689 command.c:157 script_debug(): command - target current
Debug: 464 14689 command.c:157 script_debug(): command - expr [string first "." ${tgt}] - 1
Debug: 465 14689 command.c:157 script_debug(): command - transport select
Debug: 466 14689 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 467 14689 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event examine-start
Debug: 468 14689 command.c:157 script_debug(): command - psoc6.cpu.cm4 arp_examine allow-defer
Debug: 469 14689 arm_adi_v5.c:1140 dap_put_ap(): refcount AP#0x2 put 0
Debug: 470 14689 arm_adi_v5.c:1115 dap_get_ap(): refcount AP#0x2 get 1
Debug: 471 14690 arm_adi_v5.c:846 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 472 14690 arm_adi_v5.c:857 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 473 14690 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event examine-end
Debug: 474 14690 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event reset-assert-pre
Debug: 475 14690 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event reset-assert-pre
Debug: 476 14690 command.c:157 script_debug(): command - transport select
Debug: 477 14690 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 478 14690 command.c:157 script_debug(): command - psoc6.cpu.cm0 arp_reset assert 0
Debug: 479 14690 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 480 14690 cortex_m.c:1550 cortex_m_assert_reset(): [psoc6.cpu.cm0] target->state: halted
Debug: 481 14691 cortex_m.c:521 cortex_m_clear_halt(): [psoc6.cpu.cm0] NVIC_DFSR 0x1
Debug: 482 14692 cortex_m.c:1648 cortex_m_assert_reset(): [psoc6.cpu.cm0] Using Cortex-M SYSRESETREQ
Debug: 483 14692 cmsis_dap.c:878 cmsis_dap_swd_read_process(): SWD ack not OK @ 4 JUNK
Debug: 484 14692 cortex_m.c:1660 cortex_m_assert_reset(): [psoc6.cpu.cm0] Ignoring AP write error right after reset
Debug: 485 14721 arm_adi_v5.c:774 dap_dp_init_or_reconnect(): psoc6.dap
Debug: 486 14721 cmsis_dap.c:878 cmsis_dap_swd_read_process(): SWD ack not OK @ 0 JUNK
Debug: 487 14722 cmsis_dap.c:1124 cmsis_dap_swd_switch_seq(): JTAG-to-SWD
Info : 488 14723 adi_v5_swd.c:368 swd_connect_single(): SWD DPIDR 0x6ba02477
Debug: 489 14723 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $O53574420445049445220307836626130323437370a#f6
Debug: 490 14723 arm_adi_v5.c:679 dap_dp_init(): psoc6.dap
Debug: 491 14724 arm_adi_v5.c:724 dap_dp_init(): DAP: wait CDBGPWRUPACK
Debug: 492 14724 arm_adi_v5.h:642 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
Debug: 493 14724 arm_adi_v5.c:731 dap_dp_init(): DAP: wait CSYSPWRUPACK
Debug: 494 14724 arm_adi_v5.h:642 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
Debug: 495 14724 cmsis_dap.c:813 cmsis_dap_swd_write_from_queue(): refusing to enable sticky overrun detection
Debug: 496 14788 command.c:157 script_debug(): command - transport select
Debug: 497 14788 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 498 14788 command.c:157 script_debug(): command - psoc6.cpu.cm4 arp_reset assert 0
Debug: 499 14788 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 500 14788 cortex_m.c:1550 cortex_m_assert_reset(): [psoc6.cpu.cm4] target->state: running
Debug: 501 14788 target.c:5351 target_handle_event(): target(1): psoc6.cpu.cm4 (cortex_m) event: 11 (reset-assert) action:
Debug: 502 14788 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event reset-assert-post
Debug: 503 14788 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event reset-assert-post
Debug: 504 14788 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event reset-deassert-pre
Debug: 505 14788 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event reset-deassert-pre
Debug: 506 14788 command.c:157 script_debug(): command - transport select
Debug: 507 14788 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 508 14788 command.c:157 script_debug(): command - psoc6.cpu.cm0 arp_reset deassert 0
Debug: 509 14788 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 510 14788 cortex_m.c:1704 cortex_m_deassert_reset(): [psoc6.cpu.cm0] target->state: reset
Debug: 511 14788 core.c:623 adapter_system_reset(): SRST line released
Debug: 512 14817 command.c:157 script_debug(): command - transport select
Debug: 513 14817 command.c:157 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
Debug: 514 14817 command.c:157 script_debug(): command - psoc6.cpu.cm4 arp_reset deassert 0
Debug: 515 14817 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 516 14817 cortex_m.c:1704 cortex_m_deassert_reset(): [psoc6.cpu.cm4] target->state: reset
Debug: 517 14817 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event reset-deassert-post
Debug: 518 14817 target.c:5351 target_handle_event(): target(0): psoc6.cpu.cm0 (cortex_m) event: 14 (reset-deassert-post) action: mxs40_reset_deassert_post psoc6 psoc6.cpu.cm0
Debug: 519 14817 command.c:157 script_debug(): command - psoc6.cpu.cm0 arp_examine
Debug: 520 14817 arm_adi_v5.c:1140 dap_put_ap(): refcount AP#0x1 put 0
Debug: 521 14817 arm_adi_v5.c:1115 dap_get_ap(): refcount AP#0x1 get 1
Debug: 522 14818 arm_adi_v5.c:846 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 523 14818 arm_adi_v5.c:857 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 524 14818 command.c:157 script_debug(): command - psoc6.cpu.cm0 arp_poll
Debug: 525 14818 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event reset-deassert-post
Debug: 526 14818 target.c:5351 target_handle_event(): target(1): psoc6.cpu.cm4 (cortex_m) event: 14 (reset-deassert-post) action: mxs40_reset_deassert_post psoc6 psoc6.cpu.cm4
Debug: 527 14818 command.c:157 script_debug(): command - psoc6.cpu.cm4 arp_examine
Debug: 528 14818 arm_adi_v5.c:1140 dap_put_ap(): refcount AP#0x2 put 0
Debug: 529 14818 arm_adi_v5.c:1115 dap_get_ap(): refcount AP#0x2 get 1
Debug: 530 14819 arm_adi_v5.c:846 mem_ap_init(): MEM_AP Packed Transfers: enabled
Debug: 531 14819 arm_adi_v5.c:857 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
Debug: 532 14819 command.c:157 script_debug(): command - psoc6.cpu.cm4 arp_poll
Debug: 533 14819 command.c:157 script_debug(): command - psoc6.cpu.cm0 invoke-event reset-end
Debug: 534 14819 command.c:157 script_debug(): command - psoc6.cpu.cm4 invoke-event reset-end
Debug: 535 14820 cortex_m.c:996 cortex_m_poll(): [psoc6.cpu.cm0] Exit from reset with dcb_dhcsr 0x30003
Debug: 536 14820 cortex_m.c:583 cortex_m_endreset_event(): [psoc6.cpu.cm0] DCB_DEMCR = 0x01000000
Debug: 537 14820 target.c:2827 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 538 14821 target.c:2739 target_read_u32(): address: 0xe0002000, value: 0x00000041
Debug: 539 14821 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 540 14821 target.c:2827 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 541 14822 target.c:2827 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 542 14822 target.c:2827 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 543 14822 target.c:2827 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 544 14823 target.c:2827 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 545 14823 target.c:2827 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 546 14824 target.c:2827 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 547 14824 target.c:2827 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 548 14824 target.c:2827 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 549 14825 cortex_m.c:775 cortex_m_debug_entry(): [psoc6.cpu.cm0]
Debug: 550 14826 cortex_m.c:521 cortex_m_clear_halt(): [psoc6.cpu.cm0] NVIC_DFSR 0x3
Debug: 551 14830 cortex_m.c:323 cortex_m_fast_read_all_regs(): [psoc6.cpu.cm0] read 20 32-bit registers
Debug: 552 14830 cortex_m.c:853 cortex_m_debug_entry(): [psoc6.cpu.cm0] entered debug state in core mode: Thread at PC 0x1000120a, cpu in Non-Secure state, target->state: halted
Debug: 553 14830 target.c:1933 target_call_event_callbacks(): target event 0 (gdb-halt) for core psoc6.cpu.cm0
Debug: 554 14830 target.c:1933 target_call_event_callbacks(): target event 1 (halted) for core psoc6.cpu.cm0
User : 555 14830 armv7m.c:740 armv7m_arch_state(): psoc6.cpu.cm0 halted due to breakpoint, current mode: Thread
xPSR: 0x01000000 pc: 0x1000120a msp: 0x08000b80
Debug: 556 14830 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $O70736f63362e6370752e636d302068616c7465642064756520746f20627265616b706f696e742c2063757272656e74206d6f64653a20546872656164200a785053523a20307830313030303030302070633a2030783130303031323061206d73703a20307830383030306238300a#61
Debug: 557 14831 target.c:1933 target_call_event_callbacks(): target event 8 (gdb-end) for core psoc6.cpu.cm0
Debug: 558 14831 cortex_m.c:996 cortex_m_poll(): [psoc6.cpu.cm4] Exit from reset with dcb_dhcsr 0x50001
Debug: 559 14831 cortex_m.c:583 cortex_m_endreset_event(): [psoc6.cpu.cm4] DCB_DEMCR = 0x01000000
Debug: 560 14832 target.c:2827 target_write_u32(): address: 0xe0002000, value: 0x00000003
Debug: 561 14832 target.c:2739 target_read_u32(): address: 0xe0002000, value: 0x00000261
Debug: 562 14832 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 563 14833 target.c:2827 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 564 14833 target.c:2827 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 565 14833 target.c:2827 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 566 14834 target.c:2827 target_write_u32(): address: 0xe0002018, value: 0x00000000
Debug: 567 14834 target.c:2827 target_write_u32(): address: 0xe000201c, value: 0x00000000
Debug: 568 14834 target.c:2827 target_write_u32(): address: 0xe0002020, value: 0x00000000
Debug: 569 14835 target.c:2827 target_write_u32(): address: 0xe0002024, value: 0x00000000
Debug: 570 14835 target.c:2827 target_write_u32(): address: 0xe0001020, value: 0x00000000
Debug: 571 14835 target.c:2827 target_write_u32(): address: 0xe0001024, value: 0x00000000
Debug: 572 14836 target.c:2827 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 573 14836 target.c:2827 target_write_u32(): address: 0xe0001030, value: 0x00000000
Debug: 574 14836 target.c:2827 target_write_u32(): address: 0xe0001034, value: 0x00000000
Debug: 575 14837 target.c:2827 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 576 14837 target.c:2827 target_write_u32(): address: 0xe0001040, value: 0x00000000
Debug: 577 14837 target.c:2827 target_write_u32(): address: 0xe0001044, value: 0x00000000
Debug: 578 14837 target.c:2827 target_write_u32(): address: 0xe0001048, value: 0x00000000
Debug: 579 14838 target.c:2827 target_write_u32(): address: 0xe0001050, value: 0x00000000
Debug: 580 14838 target.c:2827 target_write_u32(): address: 0xe0001054, value: 0x00000000
Debug: 581 14839 target.c:2827 target_write_u32(): address: 0xe0001058, value: 0x00000000
Debug: 582 14840 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 583 15710 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qXfer:memory-map:read::0,1000
Debug: 584 15710 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $l<memory-map>
<memory type="ram" start="0x00000000" length="0x10000000"/>
<memory type="flash" start="0x10000000" length="0x200000">
<property name="blocksize">0x200</property>
</memory>
<memory type="ram" start="0x10200000" length="0x03e00000"/>
<memory type="flash" start="0x14000000" length="0x8000">
<property name="blocksize">0x200</property>
</memory>
<memory type="ram" start="0x14008000" length="0x01ff8000"/>
<memory type="flash" start="0x16000000" length="0x8000">
<property name="blocksize">0x200</property>
</memory>
<memory type="ram" start="0x16008000" length="0x7a6f8000"/>
<memory type="flash" start="0x90700000" length="0x400">
<property name="blocksize">0x400</property>
</memory>
<memory type="ram" start="0x90700400" length="0x6f8ffc00"/>
</memory-map>
#99
Debug: 585 15711 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vFlashErase:10000000,00002000
Debug: 586 15711 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 587 15712 gdb_server.c:386 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vFlashWrite:<binary-data-11-bytes>
Debug: 588 15712 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 589 15713 gdb_server.c:386 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vFlashWrite:<binary-data-17-bytes>
Debug: 590 15713 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 591 15713 gdb_server.c:386 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vFlashWrite:<binary-data-35-bytes>
Debug: 592 15713 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 593 15714 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vFlashWrite:10001edc:SEGGER RTT
Debug: 594 15714 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 595 15715 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vFlashDone
User : 596 15715 gdb_server.c:3145 is_same_data(): Verifying region (0x10000000, 7956)... Debug: 597 15715 image.c:1257 image_calculate_checksum(): Calculating checksum
Debug: 598 15715 image.c:1287 image_calculate_checksum(): Calculating checksum done; checksum=0x484756ac
Debug: 599 15715 target.c:2138 target_alloc_working_area_try(): MMU disabled, using physical address for working memory 0x08000000
Debug: 600 15715 target.c:2191 target_alloc_working_area_try(): allocated new working area of 52 bytes at address 0x08000000
Debug: 601 15715 target.c:2059 print_wa_layout(): * 0x08000000-0x08000033 (52 bytes)
Debug: 602 15715 target.c:2059 print_wa_layout(): 0x08000034-0x08007fff (32716 bytes)
Debug: 603 15715 target.c:2508 target_write_buffer(): writing buffer of 52 byte at 0x08000000
Debug: 604 15716 target.c:1933 target_call_event_callbacks(): target event 3 (resume-start) for core psoc6.cpu.cm0
Debug: 605 15716 armv7m.c:174 armv7m_restore_context():
Debug: 606 15716 armv7m.c:438 armv7m_write_core_reg(): write pmsk_bpri_fltmsk_ctrl value 0x00000001
Debug: 607 15717 armv7m.c:438 armv7m_write_core_reg(): write xPSR value 0x01000000
Debug: 608 15717 armv7m.c:438 armv7m_write_core_reg(): write pc value 0x08000000
Debug: 609 15717 armv7m.c:438 armv7m_write_core_reg(): write r1 value 0x00001f14
Debug: 610 15718 armv7m.c:438 armv7m_write_core_reg(): write r0 value 0x10000000
Debug: 611 15718 target.c:1933 target_call_event_callbacks(): target event 18 (debug-resumed) for core psoc6.cpu.cm0
Debug: 612 15718 cortex_m.c:1337 cortex_m_resume(): [psoc6.cpu.cm0] target debug resumed at 0x8000000
Debug: 613 15718 target.c:1933 target_call_event_callbacks(): target event 4 (resume-end) for core psoc6.cpu.cm0
Debug: 614 15718 target.c:3401 target_wait_state(): waiting for target halted...
Debug: 615 15731 cortex_m.c:775 cortex_m_debug_entry(): [psoc6.cpu.cm0]
Debug: 616 15732 cortex_m.c:521 cortex_m_clear_halt(): [psoc6.cpu.cm0] NVIC_DFSR 0x3
Debug: 617 15736 cortex_m.c:323 cortex_m_fast_read_all_regs(): [psoc6.cpu.cm0] read 20 32-bit registers
Debug: 618 15736 cortex_m.c:853 cortex_m_debug_entry(): [psoc6.cpu.cm0] entered debug state in core mode: Thread at PC 0x800002e, cpu in Non-Secure state, target->state: halted
Debug: 619 15736 target.c:1933 target_call_event_callbacks(): target event 17 (debug-halted) for core psoc6.cpu.cm0
Debug: 620 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register xPSR with value 0x01000000
Debug: 621 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register pc with value 0x1000120a
Debug: 622 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r6 with value 0x00000001
Debug: 623 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r5 with value 0x00000001
Debug: 624 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r4 with value 0x00000000
Debug: 625 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r3 with value 0x08000bf4
Debug: 626 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r2 with value 0x08000c04
Debug: 627 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r1 with value 0x08000b88
Debug: 628 15736 armv7m.c:693 armv7m_wait_algorithm(): restoring register r0 with value 0x00000001
Debug: 629 15736 target.c:2259 target_free_working_area_restore(): freed 52 bytes of working area at address 0x08000000
Debug: 630 15736 target.c:2059 print_wa_layout(): 0x08000000-0x08007fff (32768 bytes)
User : 631 15736 gdb_server.c:3167 is_same_data(): Match
Info : 632 15736 gdb_server.c:3170 is_same_data(): All data matches, Flash programming skipped
Debug: 633 15736 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 634 15737 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: Pf=c0000010
Debug: 635 15737 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $OK#9a
Debug: 636 19038 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: m100000c0,4
Debug: 637 19038 gdb_server.c:1542 gdb_read_memory_packet(): addr: 0x00000000100000c0, len: 0x00000004
Debug: 638 19038 target.c:2573 target_read_buffer(): reading buffer of 4 byte at 0x100000c0
Debug: 639 19039 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $01f088f8#05
Debug: 640 19040 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: p11
Debug: 641 19040 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $800b0008#c2
Debug: 642 19040 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: p12
Debug: 643 19040 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $649d2118#d3
Debug: 644 19041 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vCont?
Debug: 645 19041 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $vCont;c;C;s;S#62
Debug: 646 19042 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: vCont;s:1;c
Debug: 647 19042 gdb_server.c:3089 gdb_handle_vcont_packet(): target psoc6.cpu.cm0 single-step thread 1
Debug: 648 19042 target.c:1933 target_call_event_callbacks(): target event 7 (gdb-start) for core psoc6.cpu.cm0
Debug: 649 19042 target.c:1933 target_call_event_callbacks(): target event 5 (step-start) for core psoc6.cpu.cm0
Debug: 650 19042 target.c:2763 target_read_u16(): address: 0x100000c0, value: 0xf001
Debug: 651 19042 armv7m.c:174 armv7m_restore_context():
Debug: 652 19043 armv7m.c:438 armv7m_write_core_reg(): write xPSR value 0x01000000
Debug: 653 19043 armv7m.c:438 armv7m_write_core_reg(): write pc value 0x100000c0
Debug: 654 19043 armv7m.c:438 armv7m_write_core_reg(): write r6 value 0x00000001
Debug: 655 19044 armv7m.c:438 armv7m_write_core_reg(): write r5 value 0x00000001
Debug: 656 19044 armv7m.c:438 armv7m_write_core_reg(): write r4 value 0x00000000
Debug: 657 19045 armv7m.c:438 armv7m_write_core_reg(): write r3 value 0x08000bf4
Debug: 658 19045 armv7m.c:438 armv7m_write_core_reg(): write r2 value 0x08000c04
Debug: 659 19045 armv7m.c:438 armv7m_write_core_reg(): write r1 value 0x08000b88
Debug: 660 19046 armv7m.c:438 armv7m_write_core_reg(): write r0 value 0x00000001
Debug: 661 19046 target.c:1933 target_call_event_callbacks(): target event 2 (resumed) for core psoc6.cpu.cm0
Debug: 662 19046 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x500000c1
Debug: 663 19046 cortex_m.c:1766 cortex_m_set_breakpoint(): [psoc6.cpu.cm0] fpc_num 0 fpcr_value 0x500000c1
Debug: 664 19046 cortex_m.c:1805 cortex_m_set_breakpoint(): [psoc6.cpu.cm0] BPID: 0, Type: 0, Address: 0x100000c0 Length: 2 (n=0)
Debug: 665 19046 breakpoints.c:93 breakpoint_add_internal(): [0] added hardware breakpoint at 0x100000c0 of length 0x00000002, (BPID: 0)
Debug: 666 19046 cortex_m.c:1460 cortex_m_step(): [psoc6.cpu.cm0] Starting core to serve pending interrupts
Debug: 667 19047 cortex_m.c:1826 cortex_m_unset_breakpoint(): [psoc6.cpu.cm0] BPID: 0, Type: 0, Address: 0x100000c0 Length: 2 (n=0)
Debug: 668 19047 target.c:2827 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 669 19047 breakpoints.c:291 breakpoint_free(): free BPID: 0 --> 0
Debug: 670 19049 cortex_m.c:1529 cortex_m_step(): [psoc6.cpu.cm0] target stepped dcb_dhcsr = 0x1030007 nvic_icsr = 0x0
Debug: 671 19049 cortex_m.c:775 cortex_m_debug_entry(): [psoc6.cpu.cm0]
Debug: 672 19050 cortex_m.c:521 cortex_m_clear_halt(): [psoc6.cpu.cm0] NVIC_DFSR 0x3
Debug: 673 19054 cortex_m.c:323 cortex_m_fast_read_all_regs(): [psoc6.cpu.cm0] read 20 32-bit registers
Debug: 674 19054 cortex_m.c:853 cortex_m_debug_entry(): [psoc6.cpu.cm0] entered debug state in core mode: Thread at PC 0x100011d4, cpu in Non-Secure state, target->state: halted
Debug: 675 19054 target.c:1933 target_call_event_callbacks(): target event 0 (gdb-halt) for core psoc6.cpu.cm0
Debug: 676 19054 target.c:1933 target_call_event_callbacks(): target event 1 (halted) for core psoc6.cpu.cm0
Debug: 677 19054 target.c:1933 target_call_event_callbacks(): target event 8 (gdb-end) for core psoc6.cpu.cm0
Debug: 678 19054 cortex_m.c:1538 cortex_m_step(): [psoc6.cpu.cm0] target stepped dcb_dhcsr = 0x30003 nvic_icsr = 0x0
Debug: 679 19054 target.c:1933 target_call_event_callbacks(): target event 6 (step-end) for core psoc6.cpu.cm0
Debug: 680 19054 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $T05thread:1;#d7
Debug: 681 19055 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: g
Debug: 682 19055 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $01000000880b0008040c0008f40b0008000000000100000001000000a00b0008c8f70f08218f684b52c380911820c59a00040000800b0008c5000010d411001000000001#ad
Debug: 683 19056 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: m100011d4,4
Debug: 684 19056 gdb_server.c:1542 gdb_read_memory_packet(): addr: 0x00000000100011d4, len: 0x00000004
Debug: 685 19056 target.c:2573 target_read_buffer(): reading buffer of 4 byte at 0x100011d4
Debug: 686 19056 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $7047d4d4#02
Debug: 687 19057 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: p11
Debug: 688 19057 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $800b0008#c2
Debug: 689 19057 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: p12
Debug: 690 19057 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $649d2118#d3
Debug: 691 19058 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: m100000c4,4
Debug: 692 19058 gdb_server.c:1542 gdb_read_memory_packet(): addr: 0x00000000100000c4, len: 0x00000004
Debug: 693 19058 target.c:2573 target_read_buffer(): reading buffer of 4 byte at 0x100000c4
Debug: 694 19059 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $08480949#aa
Debug: 695 19059 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: qXfer:threads:read::0,1000
Debug: 696 19059 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $l<?xml version="1.0"?>
<threads>
<thread id="1">Name: Current Execution</thread>
</threads>
#50
Debug: 697 19060 gdb_server.c:392 gdb_log_incoming_packet(): [psoc6.cpu.cm0] received packet: m100011d4,4
Debug: 698 19060 gdb_server.c:1542 gdb_read_memory_packet(): addr: 0x00000000100011d4, len: 0x00000004
Debug: 699 19060 target.c:2573 target_read_buffer(): reading buffer of 4 byte at 0x100011d4
Debug: 700 19060 gdb_server.c:409 gdb_log_outgoing_packet(): [psoc6.cpu.cm0] sending packet: $7047d4d4#02
^CDebug: 701 22014 server.c:604 sig_handler(): Terminating on Signal 2
Debug: 702 22016 command.c:157 script_debug(): command - shutdown
User : 703 22017 server.c:750 handle_shutdown_command(): shutdown command invoked
Debug: 704 22017 gdb_server.c:1121 gdb_connection_closed(): GDB Close, Target: psoc6.cpu.cm0, state: halted, gdb_actual_connections=0
Debug: 705 22017 target.c:1933 target_call_event_callbacks(): target event 8 (gdb-end) for core psoc6.cpu.cm0
Debug: 706 22017 target.c:1933 target_call_event_callbacks(): target event 23 (gdb-detach) for core psoc6.cpu.cm0
Debug: 707 22017 arm_adi_v5.c:1140 dap_put_ap(): refcount AP#0x1 put 0
Debug: 708 22017 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Debug: 709 22017 target.c:2059 print_wa_layout(): 0x08000000-0x08007fff (32768 bytes)
Debug: 710 22017 arm_adi_v5.c:1140 dap_put_ap(): refcount AP#0x2 put 0
Debug: 711 22017 target.c:2287 target_free_all_working_areas_restore(): freeing all working areas
Info : 712 22017 adi_v5_swd.c:608 swd_quit(): psoc6.dap: powering down debug domain...
Debug: 713 22017 arm_adi_v5.h:642 dap_dp_poll_register(): DAP: poll 4, mask 0xa0000000, value 0x00000000
Debug: 714 22018 cmsis_dap.c:1134 cmsis_dap_swd_switch_seq(): SWD-to-JTAG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment