Skip to content

Instantly share code, notes, and snippets.

@rgilton
Created March 3, 2015 20:15
Show Gist options
  • Save rgilton/b5b5827d43a190987efe to your computer and use it in GitHub Desktop.
Save rgilton/b5b5827d43a190987efe to your computer and use it in GitHub Desktop.
/mnt/files/unsync/software/openocd/install-head/bin/openocd -s /mnt/files/unsync/software/openocd/install-head/share/openocd/scripts/ -f interface/stlink-v2.cfg -c "transport select hla_swd; set CPUTAPID 0x0bc11477" -f target/at91samdXX.cfg -d3
Open On-Chip Debugger 0.9.0-dev-00314-g90ae846 (2015-03-03-15:25)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 3 command.c:546 command_print(): debug_level: 3
Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/local/bin
Debug: 15 3 options.c:99 add_default_dirs(): pkgdatadir=/usr/local/share/openocd
Debug: 16 3 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 3 configuration.c:44 add_script_search_dir(): adding /home/justyn/.openocd
Debug: 18 3 configuration.c:44 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 19 3 configuration.c:44 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 20 3 configuration.c:84 find_file(): found /mnt/files/unsync/software/openocd/install-head/share/openocd/scripts//interface/stlink-v2.cfg
Debug: 21 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface hla
Debug: 22 3 command.c:145 script_debug(): command - interface ocd_interface hla
Debug: 24 3 command.c:366 register_command_handler(): registering 'ocd_hla_device_desc'...
Debug: 25 3 command.c:366 register_command_handler(): registering 'ocd_hla_serial'...
Debug: 26 4 command.c:366 register_command_handler(): registering 'ocd_hla_layout'...
Debug: 27 4 command.c:366 register_command_handler(): registering 'ocd_hla_vid_pid'...
Debug: 28 4 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 29 4 command.c:366 register_command_handler(): registering 'ocd_hla_command'...
Debug: 30 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_layout stlink
Debug: 31 4 command.c:145 script_debug(): command - hla_layout ocd_hla_layout stlink
Debug: 33 4 hla_interface.c:222 hl_interface_handle_layout_command(): hl_interface_handle_layout_command
Debug: 34 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_device_desc ST-LINK/V2
Debug: 35 4 command.c:145 script_debug(): command - hla_device_desc ocd_hla_device_desc ST-LINK/V2
Debug: 37 4 hla_interface.c:196 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command
Debug: 38 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla_vid_pid 0x0483 0x3748
Debug: 39 4 command.c:145 script_debug(): command - hla_vid_pid ocd_hla_vid_pid 0x0483 0x3748
Debug: 41 4 hla_interface.c:250 hl_interface_handle_vid_pid_command(): hl_interface_handle_vid_pid_command
Debug: 42 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select hla_swd
Debug: 43 4 command.c:145 script_debug(): command - ocd_transport ocd_transport select hla_swd
Debug: 44 4 hla_transport.c:193 hl_transport_select(): hl_transport_select
Debug: 45 4 command.c:366 register_command_handler(): registering 'ocd_hla'...
Debug: 46 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 47 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 48 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 49 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 50 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 51 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 52 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 53 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 54 5 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 55 5 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
User : 56 5 command.c:691 command_run_line(): 0x0bc11477User : 57 5 command.c:693 command_run_line():
Debug: 58 5 configuration.c:84 find_file(): found /mnt/files/unsync/software/openocd/install-head/share/openocd/scripts//target/at91samdXX.cfg
Debug: 59 5 configuration.c:84 find_file(): found /mnt/files/unsync/software/openocd/install-head/share/openocd/scripts//target/swj-dp.tcl
Debug: 60 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 61 5 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 62 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 63 6 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 64 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 65 6 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 66 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 67 6 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 68 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 69 6 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 70 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_hla newtap at91samd cpu -irlen 4 -expected-id 0x0bc11477
Debug: 71 6 command.c:145 script_debug(): command - ocd_hla ocd_hla newtap at91samd cpu -irlen 4 -expected-id 0x0bc11477
Debug: 72 6 hla_tcl.c:116 jim_hl_newtap_cmd(): Creating New Tap, Chip: at91samd, Tap: cpu, Dotted: at91samd.cpu, 4 params
Debug: 73 6 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -irlen
Debug: 74 6 hla_tcl.c:126 jim_hl_newtap_cmd(): Processing option: -expected-id
Debug: 75 6 core.c:1296 jtag_tap_init(): Created Tap: at91samd.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 76 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create at91samd.cpu cortex_m -endian little -chain-position at91samd.cpu
Debug: 77 6 command.c:145 script_debug(): command - ocd_target ocd_target create at91samd.cpu cortex_m -endian little -chain-position at91samd.cpu
Info : 78 6 target.c:5069 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
Debug: 79 6 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 80 6 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 81 6 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 82 6 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 83 6 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 84 6 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 85 6 command.c:366 register_command_handler(): registering 'ocd_arm'...
Debug: 86 6 hla_target.c:367 adapter_target_create(): adapter_target_create
Debug: 87 6 hla_target.c:338 adapter_init_arch_info(): adapter_init_arch_info
Debug: 88 6 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 89 6 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 90 6 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 91 6 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 92 6 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 93 6 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 94 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 95 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 96 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 97 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 98 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 99 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 100 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 101 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 102 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 103 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 104 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 105 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 106 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 107 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 108 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 109 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 110 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 111 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 112 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 113 7 command.c:366 register_command_handler(): registering 'ocd_at91samd.cpu'...
Debug: 114 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -work-area-phys 0x20000000 -work-area-size 0x800 -work-area-backup 0
Debug: 115 7 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -work-area-phys 0x20000000 -work-area-size 0x800 -work-area-backup 0
Debug: 116 7 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 117 7 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 118 7 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 119 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 500
Debug: 120 8 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 500
Debug: 122 8 core.c:1623 jtag_config_khz(): handle jtag khz
Debug: 123 8 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 124 8 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 125 8 command.c:546 command_print(): adapter speed: 500 kHz
Debug: 126 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 127 8 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 129 8 command.c:546 command_print(): adapter_nsrst_delay: 100
Debug: 130 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 131 8 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 132 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank at91samd.flash at91samd 0x00000000 0 1 1 at91samd.cpu
Debug: 133 8 command.c:145 script_debug(): command - ocd_flash ocd_flash bank at91samd.flash at91samd 0x00000000 0 1 1 at91samd.cpu
Debug: 135 8 command.c:325 command_new(): BUG: command 'at91samd info' does not have the '.usage' field filled out
Debug: 136 8 command.c:366 register_command_handler(): registering 'ocd_at91samd'...
Debug: 137 8 command.c:325 command_new(): BUG: command 'at91samd chip-erase' does not have the '.usage' field filled out
Debug: 138 8 command.c:366 register_command_handler(): registering 'ocd_at91samd'...
Debug: 139 8 command.c:325 command_new(): BUG: command 'at91samd set-security' does not have the '.usage' field filled out
Debug: 140 8 command.c:366 register_command_handler(): registering 'ocd_at91samd'...
Debug: 141 8 command.c:366 register_command_handler(): registering 'ocd_at91samd'...
Debug: 142 8 command.c:366 register_command_handler(): registering 'ocd_at91samd'...
Debug: 143 9 tcl.c:824 handle_flash_bank_command(): 'at91samd' driver usage field missing
Debug: 144 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 145 9 command.c:145 script_debug(): command - init ocd_init
Debug: 147 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 148 9 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 150 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 151 9 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 152 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu cget -event gdb-flash-erase-start
Debug: 153 9 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu cget -event gdb-flash-erase-start
Debug: 154 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -event gdb-flash-erase-start reset init
Debug: 155 9 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -event gdb-flash-erase-start reset init
Debug: 156 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu cget -event gdb-flash-write-end
Debug: 157 9 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu cget -event gdb-flash-write-end
Debug: 158 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu configure -event gdb-flash-write-end reset halt
Debug: 159 10 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu configure -event gdb-flash-write-end reset halt
Debug: 160 10 target.c:1289 handle_target_init_command(): Initializing targets...
Debug: 161 10 hla_target.c:357 adapter_init_target(): adapter_init_target
Debug: 162 10 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 163 10 command.c:401 register_command(): command 'trace' is already registered in '<global>' context
Debug: 164 10 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 165 10 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 166 10 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 167 10 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 168 10 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 169 10 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 170 10 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 171 10 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 172 10 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 173 10 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 174 10 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 175 10 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 176 10 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 177 10 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 178 10 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 179 10 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 180 10 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 181 10 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 182 10 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 183 10 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 184 10 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 185 10 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 186 10 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 187 10 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 188 10 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 189 10 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 190 10 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 191 10 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 192 10 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 193 10 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 194 10 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 195 10 hla_interface.c:111 hl_interface_init(): hl_interface_init
Debug: 196 10 hla_layout.c:85 hl_layout_init(): hl_layout_init
Debug: 197 10 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 198 10 core.c:1593 adapter_khz_to_speed(): have interface set up
Info : 199 10 stlink_usb.c:1652 stlink_speed(): Unable to match requested speed 500 kHz, using 480 kHz
Debug: 200 10 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 201 10 core.c:1593 adapter_khz_to_speed(): have interface set up
Info : 202 10 stlink_usb.c:1652 stlink_speed(): Unable to match requested speed 500 kHz, using 480 kHz
Info : 203 10 core.c:1378 adapter_init(): clock speed 480 kHz
Debug: 204 10 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 205 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 206 11 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 208 11 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 209 11 hla_transport.c:154 hl_transport_init(): hl_transport_init
Debug: 210 11 hla_transport.c:171 hl_transport_init(): current transport hla_swd
Debug: 211 11 hla_interface.c:44 hl_interface_open(): hl_interface_open
Debug: 212 11 hla_layout.c:42 hl_layout_open(): hl_layout_open
Debug: 213 11 stlink_usb.c:1686 stlink_usb_open(): stlink_usb_open
Debug: 214 11 stlink_usb.c:1703 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748 serial:
Info : 215 12 stlink_usb.c:519 stlink_usb_version(): STLINK v2 JTAG v16 API v2 SWIM v4 VID 0x0483 PID 0x3748
Info : 216 12 stlink_usb.c:1814 stlink_usb_open(): using stlink api v2
Debug: 217 13 stlink_usb.c:718 stlink_usb_init_mode(): MODE: 0x02
Info : 218 13 stlink_usb.c:551 stlink_usb_check_voltage(): Target voltage: 3.196838
Debug: 219 13 stlink_usb.c:773 stlink_usb_init_mode(): MODE: 0x01
Debug: 220 14 stlink_usb.c:799 stlink_usb_init_mode(): MODE: 0x02
Debug: 221 21 stlink_usb.c:1863 stlink_usb_open(): Using TAR autoincrement: 1024
Debug: 222 21 hla_interface.c:132 hl_interface_execute_queue(): hl_interface_execute_queue: ignored
Debug: 223 21 core.c:724 jtag_add_reset(): SRST line released
Debug: 224 21 core.c:748 jtag_add_reset(): TRST line released
Debug: 225 21 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 226 21 hla_interface.c:69 hl_interface_init_target(): hl_interface_init_target
Debug: 227 21 stlink_usb.c:824 stlink_usb_idcode(): IDCODE: 0x0BC11477
Debug: 228 21 openocd.c:150 handle_init_command(): Examining targets...
Debug: 229 21 target.c:1405 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 230 21 hla_target.c:766 adapter_read_memory(): adapter_read_memory 0xe000ed00 4 1
Debug: 231 22 target.c:2068 target_read_u32(): address: 0xe000ed00, value: 0x410cc601
Debug: 232 22 cortex_m.c:1825 cortex_m_examine(): Cortex-M0 r0p1 processor detected
Debug: 233 22 cortex_m.c:1826 cortex_m_examine(): cpuid: 0x410cc601
Debug: 234 22 hla_target.c:766 adapter_read_memory(): adapter_read_memory 0xe0002000 4 1
Debug: 235 23 target.c:2068 target_read_u32(): address: 0xe0002000, value: 0x00000040
Debug: 236 23 target.c:2156 target_write_u32(): address: 0xe0002008, value: 0x00000000
Debug: 237 23 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe0002008 4 1
Debug: 238 24 target.c:2156 target_write_u32(): address: 0xe000200c, value: 0x00000000
Debug: 239 24 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe000200c 4 1
Debug: 240 24 target.c:2156 target_write_u32(): address: 0xe0002010, value: 0x00000000
Debug: 241 24 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe0002010 4 1
Debug: 242 25 target.c:2156 target_write_u32(): address: 0xe0002014, value: 0x00000000
Debug: 243 25 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe0002014 4 1
Debug: 244 26 cortex_m.c:1871 cortex_m_examine(): FPB fpcr 0x40, numcode 4, numlit 0
Debug: 245 26 hla_target.c:766 adapter_read_memory(): adapter_read_memory 0xe0001000 4 1
Debug: 246 26 target.c:2068 target_read_u32(): address: 0xe0001000, value: 0x20000000
Debug: 247 26 target.c:2156 target_write_u32(): address: 0xe0001028, value: 0x00000000
Debug: 248 26 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe0001028 4 1
Debug: 249 27 target.c:2156 target_write_u32(): address: 0xe0001038, value: 0x00000000
Debug: 250 27 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe0001038 4 1
Debug: 251 27 cortex_m.c:1782 cortex_m_dwt_setup(): DWT dwtcr 0x20000000, comp 2, watch/trigger
Info : 252 27 cortex_m.c:1880 cortex_m_examine(): at91samd.cpu: hardware has 4 breakpoints, 2 watchpoints
Debug: 253 27 target.c:1405 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 254 27 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 255 27 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 257 28 tcl.c:890 handle_flash_init_command(): Initializing flash devices...
Debug: 258 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 259 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 260 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 261 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 262 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 263 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 264 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 265 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 266 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 267 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 268 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 269 28 command.c:366 register_command_handler(): registering 'ocd_flash'...
Debug: 270 28 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 271 28 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 273 28 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices...
Debug: 274 28 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 275 28 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 277 29 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 278 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 279 29 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 281 29 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Info : 282 2000 server.c:87 add_connection(): accepting 'telnet' connection on tcp/4444
Debug: 283 3986 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset
Debug: 284 3986 command.c:145 script_debug(): command - reset ocd_reset
Debug: 286 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 287 3987 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 288 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event reset-start
Debug: 289 3987 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event reset-start
Debug: 290 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 291 3987 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 292 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 293 3987 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 294 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event examine-start
Debug: 295 3987 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event examine-start
Debug: 296 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu arp_examine
Debug: 297 3987 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu arp_examine
Debug: 298 3987 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event examine-end
Debug: 299 3987 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event examine-end
Debug: 300 3988 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event reset-assert-pre
Debug: 301 3988 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event reset-assert-pre
Debug: 302 3988 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 303 3988 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 304 3988 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu arp_reset assert 0
Debug: 305 3988 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu arp_reset assert 0
Debug: 306 3988 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 307 3988 hla_target.c:499 adapter_assert_reset(): adapter_assert_reset
Debug: 308 3989 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event reset-assert-post
Debug: 309 3989 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event reset-assert-post
Debug: 310 3990 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event reset-deassert-pre
Debug: 311 3990 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event reset-deassert-pre
Debug: 312 3990 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select
Debug: 313 3990 command.c:145 script_debug(): command - ocd_transport ocd_transport select
Debug: 314 3990 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu arp_reset deassert 0
Debug: 315 3990 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu arp_reset deassert 0
Debug: 316 3990 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 317 3990 hla_target.c:562 adapter_deassert_reset(): adapter_deassert_reset
Debug: 318 3990 target.c:1405 target_call_event_callbacks(): target event 3 (resume-start)
Debug: 319 3990 hla_target.c:614 adapter_resume(): adapter_resume 1 0x00000000 0 0
Debug: 320 3990 target.c:1726 target_free_all_working_areas_restore(): freeing all working areas
Debug: 321 3990 target.c:2156 target_write_u32(): address: 0xe000edfc, value: 0x01000000
Debug: 322 3990 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe000edfc 4 1
Debug: 323 3991 armv7m.c:127 armv7m_restore_context():
Debug: 324 3991 target.c:2156 target_write_u32(): address: 0xe000edf8, value: 0x00000000
Debug: 325 3991 hla_target.c:780 adapter_write_memory(): adapter_write_memory 0xe000edf8 4 1
Debug: 326 3992 target.c:1405 target_call_event_callbacks(): target event 2 (resumed)
Debug: 327 3992 target.c:1405 target_call_event_callbacks(): target event 4 (resume-end)
Debug: 328 3992 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event reset-deassert-post
Debug: 329 3992 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event reset-deassert-post
Debug: 330 3992 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_at91samd.cpu invoke-event reset-end
Debug: 331 3992 command.c:145 script_debug(): command - ocd_at91samd.cpu ocd_at91samd.cpu invoke-event reset-end
Debug: 332 5478 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_halt
Debug: 333 5478 command.c:145 script_debug(): command - halt ocd_halt
Debug: 335 5479 target.c:2650 handle_halt_command(): -
Debug: 336 5479 hla_target.c:582 adapter_halt(): adapter_halt
Debug: 337 5479 target.c:2632 target_wait_state(): waiting for target halted...
Info : 347 10480 target.c:510 target_poll(): Halt timed out, wake up GDB.
Debug: 348 10480 target.c:1405 target_call_event_callbacks(): target event 0 (gdb-halt)
Error: 349 10480 target.c:2640 target_wait_state(): timed out while waiting for target halted
Debug: 350 10480 command.c:628 run_command(): Command failed with error code -4
User : 351 10481 command.c:666 command_run_line(): in procedure 'halt'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment