$ openocd --debug -f board/stm32f4discovery.cfg -c "stm32f4x.cpu configure -rtos auto;"
Open On-Chip Debugger 0.7.0-dev-00046-g14e12c3 (2012-10-16-21:09)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 11 9 command.c:549 command_print(): debug_level: 3
Debug: 12 10 configuration.c:45 add_script_search_dir(): adding /home/graham/.openocd
Debug: 13 10 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 14 11 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 15 12 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/board/stm32f4discovery.cfg
Debug: 16 13 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/interface/stlink-v2.cfg
Debug: 17 14 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface stlink
Debug: 18 14 command.c:145 script_debug(): command - interface ocd_interface stlink
Debug: 20 15 command.c:369 register_command_handler(): registering 'ocd_stlink_device_desc'...
Debug: 21 16 command.c:369 register_command_handler(): registering 'ocd_stlink_serial'...
Debug: 22 16 command.c:369 register_command_handler(): registering 'ocd_stlink_layout'...
Debug: 23 16 command.c:369 register_command_handler(): registering 'ocd_stlink_vid_pid'...
Debug: 24 17 command.c:369 register_command_handler(): registering 'ocd_stlink_api'...
Debug: 25 17 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink_layout usb
Debug: 26 17 command.c:145 script_debug(): command - stlink_layout ocd_stlink_layout usb
Debug: 28 18 stlink_interface.c:160 stlink_interface_handle_layout_command(): stlink_interface_handle_layout_command
Debug: 29 18 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink_device_desc ST-LINK/V2
Debug: 30 19 command.c:145 script_debug(): command - stlink_device_desc ocd_stlink_device_desc ST-LINK/V2
Debug: 32 19 stlink_interface.c:132 stlink_interface_handle_device_desc_command(): stlink_interface_handle_device_desc_command
Debug: 33 19 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink_vid_pid 0x0483 0x3748
Debug: 34 19 command.c:145 script_debug(): command - stlink_vid_pid ocd_stlink_vid_pid 0x0483 0x3748
Debug: 36 20 stlink_interface.c:188 stlink_interface_handle_vid_pid_command(): stlink_interface_handle_vid_pid_command
Debug: 37 20 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000
Debug: 38 20 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000
Debug: 40 20 core.c:1625 jtag_config_khz(): handle jtag khz
Debug: 41 20 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 42 21 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 43 21 command.c:549 command_print(): adapter speed: 1000 kHz
Debug: 44 21 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/stm32f4x_stlink.cfg
Debug: 45 22 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/stm32_stlink.cfg
Debug: 46 22 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select stlink_swd
Debug: 47 23 command.c:145 script_debug(): command - ocd_transport ocd_transport select stlink_swd
Debug: 48 24 stlink_transport.c:179 stlink_transport_select(): stlink_transport_select
Debug: 49 24 command.c:369 register_command_handler(): registering 'ocd_stlink'...
Debug: 50 24 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 51 24 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 52 24 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 53 25 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 54 25 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 55 25 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 56 26 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 57 26 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 58 26 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 59 26 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stlink newtap stm32f4x cpu -expected-id 0x2ba01477
Debug: 60 26 command.c:145 script_debug(): command - ocd_stlink ocd_stlink newtap stm32f4x cpu -expected-id 0x2ba01477
Debug: 61 26 stlink_tcl.c:101 jim_stlink_newtap_cmd(): Creating New Tap, Chip: stm32f4x, Tap: cpu, Dotted: stm32f4x.cpu, 2 params
Debug: 62 26 stlink_tcl.c:111 jim_stlink_newtap_cmd(): Processing option: -expected-id
Debug: 63 27 core.c:1323 jtag_tap_init(): Created Tap: stm32f4x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
Debug: 64 27 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create stm32f4x.cpu stm32_stlink -chain-position stm32f4x.cpu
Debug: 65 28 command.c:145 script_debug(): command - ocd_target ocd_target create stm32f4x.cpu stm32_stlink -chain-position stm32f4x.cpu
Debug: 66 28 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
Debug: 67 28 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 68 28 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 69 28 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 70 28 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 71 28 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 72 28 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 73 29 stm32_stlink.c:301 stm32_stlink_target_create(): stm32_stlink_target_create
Debug: 74 29 stm32_stlink.c:274 stm32_stlink_init_arch_info(): stm32_stlink_init_arch_info
Debug: 75 29 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 76 29 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 77 29 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 78 30 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 79 30 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 80 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 81 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 82 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 83 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 84 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 85 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 86 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 87 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 88 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 89 31 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 90 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 91 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 92 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 93 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 94 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 95 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 96 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 97 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 98 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 99 32 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 100 33 command.c:369 register_command_handler(): registering 'ocd_stm32f4x.cpu'...
Debug: 101 33 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0
Debug: 102 33 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0
Debug: 103 35 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
Debug: 104 35 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
Debug: 105 36 target.c:1620 target_free_all_working_areas_restore(): freeing all working areas
Debug: 106 36 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu
Debug: 107 36 command.c:145 script_debug(): command - ocd_flash ocd_flash bank stm32f4x.flash stm32f2x 0 0 0 0 stm32f4x.cpu
Debug: 109 36 command.c:369 register_command_handler(): registering 'ocd_stm32f2x'...
Debug: 110 36 tcl.c:781 handle_flash_bank_command(): 'stm32f2x' driver usage field missing
Debug: 111 37 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config srst_only srst_nogate
Debug: 112 37 command.c:145 script_debug(): command - reset_config ocd_reset_config srst_only srst_nogate
User : 114 37 command.c:549 command_print(): srst_only separate srst_nogate srst_open_drain
Debug: 115 37 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32f4x.cpu configure -rtos auto
Debug: 116 37 command.c:145 script_debug(): command - ocd_stm32f4x.cpu ocd_stm32f4x.cpu configure -rtos auto
Debug: 117 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 118 38 command.c:145 script_debug(): command - init ocd_init
Debug: 120 38 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 121 38 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 123 38 target.c:1183 handle_target_init_command(): Initializing targets...
Debug: 124 38 stm32_stlink.c:291 stm32_stlink_init_target(): stm32_stlink_init_target
Debug: 125 38 command.c:369 register_command_handler(): registering 'ocd_target_request'...
Debug: 126 38 command.c:369 register_command_handler(): registering 'ocd_trace'...
Debug: 127 38 command.c:369 register_command_handler(): registering 'ocd_trace'...
Debug: 128 38 command.c:369 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 129 39 command.c:369 register_command_handler(): registering 'ocd_fast_load'...
Debug: 130 39 command.c:369 register_command_handler(): registering 'ocd_profile'...
Debug: 131 39 command.c:369 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 132 39 command.c:369 register_command_handler(): registering 'ocd_reg'...
Debug: 133 39 command.c:369 register_command_handler(): registering 'ocd_poll'...
Debug: 134 39 command.c:369 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 135 39 command.c:369 register_command_handler(): registering 'ocd_halt'...
Debug: 136 39 command.c:369 register_command_handler(): registering 'ocd_resume'...
Debug: 137 39 command.c:369 register_command_handler(): registering 'ocd_reset'...
Debug: 138 39 command.c:369 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 139 40 command.c:369 register_command_handler(): registering 'ocd_step'...
Debug: 140 40 command.c:369 register_command_handler(): registering 'ocd_mdw'...
Debug: 141 40 command.c:369 register_command_handler(): registering 'ocd_mdh'...
Debug: 142 40 command.c:369 register_command_handler(): registering 'ocd_mdb'...
Debug: 143 40 command.c:369 register_command_handler(): registering 'ocd_mww'...
Debug: 144 40 command.c:369 register_command_handler(): registering 'ocd_mwh'...
Debug: 145 40 command.c:369 register_command_handler(): registering 'ocd_mwb'...
Debug: 146 40 command.c:369 register_command_handler(): registering 'ocd_bp'...
Debug: 147 40 command.c:369 register_command_handler(): registering 'ocd_rbp'...
Debug: 148 40 command.c:369 register_command_handler(): registering 'ocd_wp'...
Debug: 149 41 command.c:369 register_command_handler(): registering 'ocd_rwp'...
Debug: 150 41 command.c:369 register_command_handler(): registering 'ocd_load_image'...
Debug: 151 41 command.c:369 register_command_handler(): registering 'ocd_dump_image'...
Debug: 152 41 command.c:369 register_command_handler(): registering 'ocd_verify_image'...
Debug: 153 41 command.c:369 register_command_handler(): registering 'ocd_test_image'...
Debug: 154 41 command.c:369 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 155 41 command.c:369 register_command_handler(): registering 'ocd_ps'...
Debug: 156 41 stlink_interface.c:91 stlink_interface_init(): stlink_interface_init
Debug: 157 41 stlink_layout.c:88 stlink_layout_init(): stlink_layout_init
Debug: 158 41 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 159 41 core.c:1595 adapter_khz_to_speed(): have interface set up
Debug: 160 42 stlink_interface.c:106 stlink_interface_speed(): stlink_interface_speed: ignore speed 1000
Debug: 161 42 core.c:1592 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 162 42 core.c:1595 adapter_khz_to_speed(): have interface set up
Info : 163 42 core.c:1399 adapter_init(): clock speed 1000 kHz
Debug: 164 42 openocd.c:132 handle_init_command(): Debug Adapter init complete
Debug: 165 42 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 166 42 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 168 42 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 169 42 stlink_transport.c:140 stlink_transport_init(): stlink_transport_init
Debug: 170 42 stlink_transport.c:157 stlink_transport_init(): current transport stlink_swd
Debug: 171 42 stlink_interface.c:41 stlink_interface_open(): stlink_interface_open
Debug: 172 42 stlink_layout.c:43 stlink_layout_open(): stlink_layout_open
Debug: 173 42 stlink_usb.c:1152 stlink_usb_open(): stlink_usb_open
Debug: 174 42 stlink_usb.c:1167 stlink_usb_open(): transport: 1 vid: 0x0483 pid: 0x3748
Debug: 175 51 stlink_usb.c:422 stlink_usb_version(): STLINK v2 JTAG v15 API v2 SWIM v0 VID 0x0483 PID 0x3748
Debug: 176 53 stlink_usb.c:564 stlink_usb_init_mode(): MODE: 0x02
Debug: 177 56 stlink_usb.c:596 stlink_usb_init_mode(): MODE: 0x01
Debug: 178 60 stlink_usb.c:629 stlink_usb_init_mode(): MODE: 0x02
Debug: 179 60 stlink_interface.c:53 stlink_interface_init_target(): stlink_interface_init_target
Debug: 180 62 stlink_usb.c:656 stlink_usb_idcode(): IDCODE: 0x2BA01477
Debug: 181 62 openocd.c:145 handle_init_command(): Examining targets...
Debug: 182 62 target.c:1299 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 183 62 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ed00 4 1
Debug: 184 66 target.c:1917 target_read_u32(): address: 0xe000ed00, value: 0x410fc241
Debug: 185 66 cortex_m.c:1815 cortex_m3_examine(): Cortex-M4 r0p1 processor detected
Debug: 186 66 cortex_m.c:1816 cortex_m3_examine(): cpuid: 0x410fc241
Debug: 187 66 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ef40 4 1
Debug: 188 70 target.c:1917 target_read_u32(): address: 0xe000ef40, value: 0x10110021
Debug: 189 70 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ef44 4 1
Debug: 190 74 target.c:1917 target_read_u32(): address: 0xe000ef44, value: 0x11000011
Debug: 191 74 cortex_m.c:1824 cortex_m3_examine(): Cortex-M4 floating point feature FPv4_SP found
Debug: 192 74 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe0002000 4 1
Debug: 193 78 target.c:1917 target_read_u32(): address: 0xe0002000, value: 0x00000260
Debug: 194 78 cortex_m.c:1860 cortex_m3_examine(): FPB fpcr 0x260, numcode 6, numlit 2
Debug: 195 78 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe0001000 4 1
Debug: 196 82 target.c:1917 target_read_u32(): address: 0xe0001000, value: 0x40000001
Debug: 197 82 cortex_m.c:1772 cortex_m3_dwt_setup(): DWT dwtcr 0x40000001, comp 4, watch/trigger
Info : 198 82 cortex_m.c:1869 cortex_m3_examine(): stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints
Debug: 199 82 target.c:1299 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 200 82 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 201 82 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 203 82 tcl.c:847 handle_flash_init_command(): Initializing flash devices...
Debug: 204 82 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 205 82 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 206 82 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 207 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 208 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 209 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 210 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 211 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 212 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 213 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 214 83 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 215 83 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 216 83 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 218 84 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices...
Debug: 219 84 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 220 84 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 222 84 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 223 84 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 224 84 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 226 84 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Info : 227 13187 server.c:83 add_connection(): accepting 'gdb' connection from 3333
Debug: 228 13187 breakpoints.c:359 breakpoint_clear_target_internal(): Delete all breakpoints for target: stm32f4x.cpu
Debug: 229 13187 breakpoints.c:499 watchpoint_clear_target(): Delete all watchpoints for target: stm32f4x.cpu
Debug: 230 13187 target.c:1299 target_call_event_callbacks(): target event 23 (gdb-attach)
Debug: 231 13187 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe0042000 4 1
Debug: 232 13192 target.c:1917 target_read_u32(): address: 0xe0042000, value: 0x20006411
Debug: 233 13192 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0xe000ed00 4 1
Debug: 234 13196 target.c:1917 target_read_u32(): address: 0xe000ed00, value: 0x410fc241
Info : 235 13196 stm32f2x.c:574 stm32x_get_device_id(): stm32f4x errata detected - fixing incorrect MCU_IDCODE
Info : 236 13196 stm32f2x.c:596 stm32x_probe(): device id = 0x10006413
Debug: 237 13196 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0x1fff7a22 2 1
Debug: 238 13200 target.c:1941 target_read_u16(): address: 0x1fff7a22, value: 0x0400
Info : 239 13200 stm32f2x.c:620 stm32x_probe(): flash size = 1024kbytes
Debug: 240 13200 gdb_server.c:823 gdb_new_connection(): New GDB Connection: 1, Target stm32f4x.cpu, state: unknown
Debug: 241 13200 gdb_server.c:2051 gdb_input_inner(): received packet: 'qSupported:multiprocess+;qRelocInsn+'
Debug: 242 13201 gdb_server.c:2051 gdb_input_inner(): received packet: 'QStartNoAckMode'
Warn : 243 13201 gdb_server.c:608 gdb_get_packet_inner(): acknowledgment received, but no packet pending
Debug: 244 13201 gdb_server.c:2051 gdb_input_inner(): received packet: '!'
Debug: 245 13201 gdb_server.c:2051 gdb_input_inner(): received packet: 'Hg0'
Debug: 246 13202 gdb_server.c:2051 gdb_input_inner(): received packet: '?'
User : 247 13202 gdb_server.c:133 gdb_last_signal(): undefined debug reason 6 - target needs reset
Debug: 248 13202 gdb_server.c:2051 gdb_input_inner(): received packet: 'Hc-1'
Debug: 249 13202 gdb_server.c:2051 gdb_input_inner(): received packet: 'qC'
Debug: 250 13203 gdb_server.c:2051 gdb_input_inner(): received packet: 'qAttached'
Debug: 251 13203 gdb_server.c:2051 gdb_input_inner(): received packet: 'qOffsets'
Debug: 252 13203 gdb_server.c:2051 gdb_input_inner(): received packet: 'Hg0'
Debug: 253 13204 gdb_server.c:2051 gdb_input_inner(): received packet: 'g'
Debug: 254 13205 gdb_server.c:2051 gdb_input_inner(): received packet: 'g'
Debug: 255 13205 gdb_server.c:2051 gdb_input_inner(): received packet: 'qXfer:memory-map:read::0,fff'
Debug: 256 13206 gdb_server.c:2051 gdb_input_inner(): received packet: 'm0,4'
Debug: 257 13206 gdb_server.c:1209 gdb_read_memory_packet(): addr: 0x00000000, len: 0x00000004
Debug: 258 13207 target.c:1769 target_read_buffer(): reading buffer of 4 byte at 0x00000000
Debug: 259 13207 stm32_stlink.c:677 stm32_stlink_read_memory(): stm32_stlink_read_memory 0x00000000 4 1
Debug: 260 13211 gdb_server.c:2051 gdb_input_inner(): received packet: 'qSymbol::'
Debug: 261 13212 gdb_server.c:2051 gdb_input_inner(): received packet: 'qSymbol::707843757272656e74544342'
Debug: 262 13212 gdb_server.c:2051 gdb_input_inner(): received packet: 'qSymbol::4379675f5468726561643a3a7468726561645f6c697374'
Debug: 263 13212 gdb_server.c:2051 gdb_input_inner(): received packet: 'qSymbol::696e69745f7461736b'
*** glibc detected *** openocd: free(): invalid next size (fast): 0x08a9d8a8 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x75ee2)[0xb75dbee2]
openocd[0x80783fa]
openocd[0x80786c0]
openocd[0x8078a8e]
openocd[0x8073d05]
openocd[0x807615f]
openocd[0x804b9f8]
openocd[0x804b265]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb757f4d3]
openocd[0x804b321]
======= Memory map: ========
08048000-081af000 r-xp 00000000 08:05 657166     /usr/local/bin/openocd
081af000-081b0000 r--p 00166000 08:05 657166     /usr/local/bin/openocd
081b0000-081b4000 rw-p 00167000 08:05 657166     /usr/local/bin/openocd
081b4000-081cc000 rw-p 00000000 00:00 0 
08a7d000-08abf000 rw-p 00000000 00:00 0          [heap]
b7503000-b751f000 r-xp 00000000 08:05 929124     /lib/i386-linux-gnu/libgcc_s.so.1
b751f000-b7520000 r--p 0001b000 08:05 929124     /lib/i386-linux-gnu/libgcc_s.so.1
b7520000-b7521000 rw-p 0001c000 08:05 929124     /lib/i386-linux-gnu/libgcc_s.so.1
b7540000-b7542000 rw-p 00000000 00:00 0 
b7542000-b7559000 r-xp 00000000 08:05 932111     /lib/i386-linux-gnu/libpthread-2.15.so
b7559000-b755a000 r--p 00016000 08:05 932111     /lib/i386-linux-gnu/libpthread-2.15.so
b755a000-b755b000 rw-p 00017000 08:05 932111     /lib/i386-linux-gnu/libpthread-2.15.so
b755b000-b755d000 rw-p 00000000 00:00 0 
b755d000-b7564000 r-xp 00000000 08:05 932105     /lib/i386-linux-gnu/librt-2.15.so
b7564000-b7565000 r--p 00006000 08:05 932105     /lib/i386-linux-gnu/librt-2.15.so
b7565000-b7566000 rw-p 00007000 08:05 932105     /lib/i386-linux-gnu/librt-2.15.so
b7566000-b7709000 r-xp 00000000 08:05 932084     /lib/i386-linux-gnu/libc-2.15.so
b7709000-b770a000 ---p 001a3000 08:05 932084     /lib/i386-linux-gnu/libc-2.15.so
b770a000-b770c000 r--p 001a3000 08:05 932084     /lib/i386-linux-gnu/libc-2.15.so
b770c000-b770d000 rw-p 001a5000 08:05 932084     /lib/i386-linux-gnu/libc-2.15.so
b770d000-b7711000 rw-p 00000000 00:00 0 
b7711000-b7714000 r-xp 00000000 08:05 932129     /lib/i386-linux-gnu/libdl-2.15.so
b7714000-b7715000 r--p 00002000 08:05 932129     /lib/i386-linux-gnu/libdl-2.15.so
b7715000-b7716000 rw-p 00003000 08:05 932129     /lib/i386-linux-gnu/libdl-2.15.so
b7716000-b7727000 r-xp 00000000 08:05 925134     /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b7727000-b7728000 r--p 00010000 08:05 925134     /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b7728000-b7729000 rw-p 00011000 08:05 925134     /lib/i386-linux-gnu/libusb-1.0.so.0.1.0
b7747000-b774a000 rw-p 00000000 00:00 0 
b774a000-b774b000 r-xp 00000000 00:00 0          [vdso]
b774b000-b776b000 r-xp 00000000 08:05 932120     /lib/i386-linux-gnu/ld-2.15.so
b776b000-b776c000 r--p 0001f000 08:05 932120     /lib/i386-linux-gnu/ld-2.15.so
b776c000-b776d000 rw-p 00020000 08:05 932120     /lib/i386-linux-gnu/ld-2.15.so
bf828000-bf849000 rw-p 00000000 00:00 0          [stack]
Aborted (core dumped)
