Open On-Chip Debugger 0.11.0 Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html User : 13 2 options.c:63 configuration_output_handler(): debug_level: 3 User : 14 2 options.c:63 configuration_output_handler(): Debug: 15 2 options.c:244 add_default_dirs(): bindir=/usr/bin Debug: 16 2 options.c:245 add_default_dirs(): pkgdatadir=/usr/share/openocd Debug: 17 2 options.c:246 add_default_dirs(): exepath=/usr/bin Debug: 18 2 options.c:247 add_default_dirs(): bin2data=../share/openocd Debug: 19 2 configuration.c:42 add_script_search_dir(): adding /home/danny/.config/openocd Debug: 20 2 configuration.c:42 add_script_search_dir(): adding /home/danny/.openocd Debug: 21 2 configuration.c:42 add_script_search_dir(): adding /usr/bin/../share/openocd/site Debug: 22 2 configuration.c:42 add_script_search_dir(): adding /usr/bin/../share/openocd/scripts Debug: 23 2 configuration.c:97 find_file(): found openocd.cfg Debug: 24 3 configuration.c:97 find_file(): found /usr/bin/../share/openocd/scripts/interface/stlink.cfg Debug: 25 3 command.c:146 script_debug(): command - adapter driver hla Debug: 27 3 command.c:146 script_debug(): command - hla_layout stlink Debug: 29 3 hla_interface.c:242 hl_interface_handle_layout_command(): hl_interface_handle_layout_command Debug: 30 3 command.c:146 script_debug(): command - hla_device_desc ST-LINK Debug: 32 3 hla_interface.c:216 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command Debug: 33 3 command.c:146 script_debug(): command - hla_vid_pid 0x0483 0x3744 0x0483 0x3748 0x0483 0x374b 0x0483 0x374d 0x0483 0x374e 0x0483 0x374f 0x0483 0x3752 0x0483 0x3753 Debug: 35 3 command.c:146 script_debug(): command - transport select hla_swd Debug: 36 3 hla_transport.c:205 hl_swd_transport_select(): hl_swd_transport_select Debug: 37 3 configuration.c:97 find_file(): found /usr/bin/../share/openocd/scripts/target/nrf51.cfg Debug: 38 3 configuration.c:97 find_file(): found /usr/bin/../share/openocd/scripts/target/swj-dp.tcl Debug: 39 3 command.c:146 script_debug(): command - transport select Debug: 40 3 command.c:146 script_debug(): command - transport select Debug: 41 3 command.c:146 script_debug(): command - transport select Debug: 42 3 command.c:146 script_debug(): command - swd newdap nrf51 cpu -expected-id 0x0bb11477 Debug: 43 3 hla_tcl.c:110 jim_hl_newtap_cmd(): Creating New Tap, Chip: nrf51, Tap: cpu, Dotted: nrf51.cpu, 2 params Debug: 44 3 hla_tcl.c:121 jim_hl_newtap_cmd(): Processing option: -expected-id Debug: 45 3 core.c:1484 jtag_tap_init(): Created Tap: nrf51.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0 Debug: 46 3 command.c:146 script_debug(): command - dap create nrf51.dap -chain-position nrf51.cpu Debug: 47 3 command.c:146 script_debug(): command - target create nrf51.cpu cortex_m -dap nrf51.dap Info : 48 3 target.c:5668 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD Debug: 49 4 hla_target.c:203 adapter_target_create(): adapter_target_create Debug: 50 4 hla_target.c:173 adapter_init_arch_info(): adapter_init_arch_info Debug: 51 4 command.c:375 register_command(): command 'rtt' is already registered in '' context Debug: 52 4 command.c:146 script_debug(): command - nrf51.cpu configure -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0 Debug: 53 4 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas Debug: 54 4 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas Debug: 55 4 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas Debug: 56 4 command.c:146 script_debug(): command - transport select Debug: 57 4 command.c:146 script_debug(): command - flash bank nrf51.flash nrf51 0x00000000 0 1 1 nrf51.cpu Debug: 59 4 tcl.c:1319 handle_flash_bank_command(): 'nrf51' driver usage field missing Debug: 60 4 command.c:146 script_debug(): command - flash bank nrf51.uicr nrf51 0x10001000 0 1 1 nrf51.cpu Debug: 62 4 command.c:375 register_command(): command 'nrf5' is already registered in '' context Debug: 63 4 command.c:375 register_command(): command 'mass_erase' is already registered in 'nrf5' context Debug: 64 4 command.c:375 register_command(): command 'info' is already registered in 'nrf5' context Debug: 65 4 command.c:375 register_command(): command 'nrf51' is already registered in '' context Debug: 66 4 command.c:375 register_command(): command 'mass_erase' is already registered in 'nrf51' context Debug: 67 4 command.c:375 register_command(): command 'info' is already registered in 'nrf51' context Debug: 68 4 tcl.c:1319 handle_flash_bank_command(): 'nrf51' driver usage field missing Debug: 69 4 command.c:146 script_debug(): command - adapter speed 1000 Debug: 71 4 core.c:1822 jtag_config_khz(): handle jtag khz Debug: 72 4 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 73 4 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 74 4 command.c:146 script_debug(): command - nrf51.cpu configure -event reset-end enable_all_ram Info : 75 4 server.c:311 add_service(): Listening on port 6666 for tcl connections Info : 76 4 server.c:311 add_service(): Listening on port 4444 for telnet connections Debug: 77 4 command.c:146 script_debug(): command - init Debug: 79 4 command.c:146 script_debug(): command - target init Debug: 81 4 command.c:146 script_debug(): command - target names Debug: 82 4 command.c:146 script_debug(): command - nrf51.cpu cget -event gdb-flash-erase-start Debug: 83 4 command.c:146 script_debug(): command - nrf51.cpu configure -event gdb-flash-erase-start reset init Debug: 84 5 command.c:146 script_debug(): command - nrf51.cpu cget -event gdb-flash-write-end Debug: 85 5 command.c:146 script_debug(): command - nrf51.cpu configure -event gdb-flash-write-end reset halt Debug: 86 5 command.c:146 script_debug(): command - nrf51.cpu cget -event gdb-attach Debug: 87 5 command.c:146 script_debug(): command - nrf51.cpu configure -event gdb-attach halt 1000 Debug: 88 5 target.c:1639 handle_target_init_command(): Initializing targets... Debug: 89 5 hla_target.c:193 adapter_init_target(): adapter_init_target Debug: 90 5 semihosting_common.c:99 semihosting_common_init(): Debug: 91 5 hla_interface.c:109 hl_interface_init(): hl_interface_init Debug: 92 5 hla_layout.c:95 hl_layout_init(): hl_layout_init Debug: 93 5 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 94 5 core.c:1789 adapter_khz_to_speed(): have interface set up Debug: 95 5 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 96 5 core.c:1789 adapter_khz_to_speed(): have interface set up Info : 97 5 core.c:1565 adapter_init(): clock speed 1000 kHz Debug: 98 5 openocd.c:143 handle_init_command(): Debug Adapter init complete Debug: 99 5 command.c:146 script_debug(): command - transport init Debug: 101 5 transport.c:229 handle_transport_init(): handle_transport_init Debug: 102 5 hla_transport.c:156 hl_transport_init(): hl_transport_init Debug: 103 5 hla_transport.c:173 hl_transport_init(): current transport hla_swd Debug: 104 5 hla_interface.c:42 hl_interface_open(): hl_interface_open Debug: 105 5 hla_layout.c:40 hl_layout_open(): hl_layout_open Debug: 106 5 stlink_usb.c:2819 stlink_usb_open(): stlink_usb_open Debug: 107 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3744 serial: Debug: 108 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3748 serial: Debug: 109 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374b serial: Debug: 110 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374d serial: Debug: 111 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374e serial: Debug: 112 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374f serial: Debug: 113 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3752 serial: Debug: 114 5 stlink_usb.c:2831 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3753 serial: Info : 115 20 stlink_usb.c:1098 stlink_usb_version(): STLINK V2J29S7 (API v2) VID:PID 0483:3748 Debug: 116 22 stlink_usb.c:1323 stlink_usb_exit_mode(): MODE: 0x01 Info : 117 26 stlink_usb.c:1134 stlink_usb_check_voltage(): Target voltage: 3.270100 Debug: 118 26 stlink_usb.c:1391 stlink_usb_init_mode(): MODE: 0x01 Debug: 119 26 stlink_usb.c:2606 stlink_dump_speed_map(): Supported clock speeds are: Debug: 120 26 stlink_usb.c:2609 stlink_dump_speed_map(): 4000 kHz Debug: 121 26 stlink_usb.c:2609 stlink_dump_speed_map(): 1800 kHz Debug: 122 26 stlink_usb.c:2609 stlink_dump_speed_map(): 1200 kHz Debug: 123 26 stlink_usb.c:2609 stlink_dump_speed_map(): 950 kHz Debug: 124 26 stlink_usb.c:2609 stlink_dump_speed_map(): 480 kHz Debug: 125 26 stlink_usb.c:2609 stlink_dump_speed_map(): 240 kHz Debug: 126 26 stlink_usb.c:2609 stlink_dump_speed_map(): 125 kHz Debug: 127 26 stlink_usb.c:2609 stlink_dump_speed_map(): 100 kHz Debug: 128 26 stlink_usb.c:2609 stlink_dump_speed_map(): 50 kHz Debug: 129 26 stlink_usb.c:2609 stlink_dump_speed_map(): 25 kHz Debug: 130 26 stlink_usb.c:2609 stlink_dump_speed_map(): 15 kHz Debug: 131 26 stlink_usb.c:2609 stlink_dump_speed_map(): 5 kHz Debug: 132 28 stlink_usb.c:792 stlink_usb_error_check(): unknown/unexpected STLINK status code 0x5 Error: 133 28 stlink_usb.c:2571 stlink_speed_swd(): Unable to set adapter speed Debug: 134 31 stlink_usb.c:792 stlink_usb_error_check(): unknown/unexpected STLINK status code 0x5 Error: 135 31 stlink_usb.c:2959 stlink_usb_open(): init mode failed (unable to connect to the target) Debug: 136 33 stlink_usb.c:1323 stlink_usb_exit_mode(): MODE: 0x02 Debug: 137 35 hla_layout.c:47 hl_layout_open(): failed Debug: 138 35 command.c:628 run_command(): Command 'transport init' failed with error code -4 User : 139 35 command.c:694 command_run_line(): Debug: 140 35 command.c:628 run_command(): Command 'init' failed with error code -4 User : 141 35 command.c:694 command_run_line(): Debug: 142 35 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas Debug: 143 35 hla_interface.c:117 hl_interface_quit(): hl_interface_quit