On Tue, 24 May 2016 19:11:28 +0300 Paul Fertser <fercer...@gmail.com> wrote:
> Hello, > > On Tue, May 24, 2016 at 04:29:01PM +0200, Daniel Kowalski wrote: > > I tried debugging this with gdb (arm-none-eabi version). GDB > > attaches to openocd correctly, I can setup breakpoints, and program > > halts in correct spot, but I cannot get any stack trace - it just > > prints (gdb) bt > > #0 0x08000ca0 in Reset_Handler () > > Please share the complete debugging session output and the > corresponding openocd log. > > And, BTW, you can program easily from within GDB by using "load". > (I'm sending this second time, with shortened log (it was over 3MB - sorry about that, and did not pass througs list server). I cut out the boring part (flashing) and left only log after gdb connection) Here is sample debug session, openocd -d3 log is attached as file as it grew big (). I launched gdb, connected to already running openocd, halted target, set breakpoint on xfree function (could by any func, does not matter), typed continue, then I verified that CPU is running (it responds to UART commands), I called command which uses xfree function, CPU halted on breakpoint, but openocd and gdb missed this event completely (d3 log has something about setting breakpoint arount 47520 line, but there is nothing about halting on it) (plus it stopped responding to ctrl+c interrupt requests, I had to kill openocd and gdb session) here are gdb commands: [dk@lapek firmware] + descriptors$ arm-none-eabi-gdb build/MinSizeRel/firmware.elf GNU gdb (GDB) 7.11 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=x86_64-pc-linux-gnu --target=arm-none-eabi". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from build/MinSizeRel/firmware.elf...done. (gdb) target extended-remote localhost:3333 Remote debugging using localhost:3333 0x08000ca0 in Reset_Handler () (gdb) monitor reset halt adapter speed: 300 kHz target state: halted target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08000ca0 msp: 0x20007ffc (gdb) b xfree Breakpoint 1 at 0x8007c20: file /home/dk/nasypy/nasypy-B003-mcu-mainboard/firmware/src/syscalls.c, line 65. (gdb) cont Continuing. Note: automatically using hardware breakpoints for read-only addresses. ^C ^CThe target is not responding to interrupt requests. Stop debugging it? (y or n) n ^C^CThe target is not responding to interrupt requests. Stop debugging it? (y or n) y Disconnected from target. (gdb) and my openocd script: telnet_port 4444 gdb_port 3333 # Jlink # source [find interface/jlink.cfg] # Jtag Lock Pick source [find interface/ftdi/jtag-lock-pick_tiny_2.cfg] # serial of debug adapter #ftdi_serial FTYHIMUW # transport select jtag transport select swd # JTAG speed should be <= F_CPU/6. F_CPU after reset is 8MHz, so use F_JTAG = 1MHz adapter_khz 1000 adapter_nsrst_delay 100 # only for JTAG # jtag_ntrst_delay 100 source [find target/stm32l1.cfg] program build/MinSizeRel/firmware.elf verify reset Daniel -- () ascii ribbon campaign - against html e-mail /\ - against proprietary attachments
Info : 45255 34190 server.c:91 add_connection(): accepting 'gdb' connection on tcp/3333 Debug: 45256 34190 breakpoints.c:359 breakpoint_clear_target_internal(): Delete all breakpoints for target: stm32l1.cpu Debug: 45257 34190 breakpoints.c:499 watchpoint_clear_target(): Delete all watchpoints for target: stm32l1.cpu Debug: 45258 34191 target.c:1465 target_call_event_callbacks(): target event 23 (gdb-attach) Debug: 45259 34191 gdb_server.c:994 gdb_new_connection(): New GDB Connection: 1, Target stm32l1.cpu, state: reset Debug: 45260 34191 gdb_server.c:2670 gdb_input_inner(): received packet: 'qSupported:multiprocess+;swbreak+;hwbreak+;qRelocInsn+;fork-events+;vfork-events+;exec-events+;vContSupported+;QThreadEvents+;no-resumed+' Debug: 45261 34191 gdb_server.c:2670 gdb_input_inner(): received packet: 'QStartNoAckMode' Debug: 45262 34191 gdb_server.c:632 gdb_get_packet_inner(): Received first acknowledgment after entering noack mode. Ignoring it. Debug: 45263 34191 gdb_server.c:2670 gdb_input_inner(): received packet: '!' Debug: 45264 34191 gdb_server.c:2670 gdb_input_inner(): received packet: 'Hg0' Debug: 45265 34191 gdb_server.c:2670 gdb_input_inner(): received packet: 'qXfer:features:read:target.xml:0,fff' Debug: 45266 34192 gdb_server.c:2670 gdb_input_inner(): received packet: 'qTStatus' Debug: 45267 34192 gdb_server.c:2670 gdb_input_inner(): received packet: '?' Debug: 45268 34192 gdb_server.c:2670 gdb_input_inner(): received packet: 'qfThreadInfo' Debug: 45269 34192 gdb_server.c:2670 gdb_input_inner(): received packet: 'Hc-1' Debug: 45270 34192 gdb_server.c:2670 gdb_input_inner(): received packet: 'qC' Debug: 45271 34192 gdb_server.c:2670 gdb_input_inner(): received packet: 'qAttached' Debug: 45272 34193 gdb_server.c:2670 gdb_input_inner(): received packet: 'qOffsets' Debug: 45273 34193 gdb_server.c:2670 gdb_input_inner(): received packet: 'g' Debug: 45274 34193 gdb_server.c:2670 gdb_input_inner(): received packet: 'qfThreadInfo' Debug: 45275 34193 gdb_server.c:2670 gdb_input_inner(): received packet: 'qXfer:memory-map:read::0,fff' Debug: 45276 34193 gdb_server.c:2670 gdb_input_inner(): received packet: 'm8000ca0,4' Debug: 45277 34193 gdb_server.c:1381 gdb_read_memory_packet(): addr: 0x08000ca0, len: 0x00000004 Debug: 45278 34193 target.c:2031 target_read_buffer(): reading buffer of 4 byte at 0x08000ca0 Debug: 45279 34193 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45280 34194 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45281 34194 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 08000ca0 Debug: 45282 34194 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000022 Debug: 45283 34194 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg C = fa050000 Debug: 45284 34194 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = e0032100 Debug: 45285 34195 gdb_server.c:2670 gdb_input_inner(): received packet: 'qSymbol::' Debug: 45286 45654 gdb_server.c:2670 gdb_input_inner(): received packet: 'qRcmd,72657365742068616c74' Debug: 45287 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset halt Debug: 45288 45654 command.c:145 script_debug(): command - reset ocd_reset halt Debug: 45290 45654 target.c:1483 target_call_reset_callbacks(): target reset 2 (halt) Debug: 45291 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names Debug: 45292 45654 command.c:145 script_debug(): command - ocd_target ocd_target names Debug: 45293 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event reset-start Debug: 45294 45654 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event reset-start Debug: 45295 45654 target.c:4209 target_handle_event(): target: (0) stm32l1.cpu (cortex_m) event: 7 (reset-start) action: adapter_khz 300 Debug: 45296 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 300 Debug: 45297 45654 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 300 Debug: 45299 45654 core.c:1629 jtag_config_khz(): handle jtag khz Debug: 45300 45654 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 45301 45654 core.c:1599 adapter_khz_to_speed(): have interface set up Debug: 45302 45654 mpsse.c:689 mpsse_set_frequency(): target 300000 Hz Debug: 45303 45654 mpsse.c:681 mpsse_rtck_config(): off Debug: 45304 45654 mpsse.c:670 mpsse_divide_by_5_config(): off Debug: 45305 45654 mpsse.c:650 mpsse_set_divisor(): 99 Debug: 45306 45654 mpsse.c:713 mpsse_set_frequency(): actually 300000 Hz Debug: 45307 45654 core.c:1596 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 45308 45654 core.c:1599 adapter_khz_to_speed(): have interface set up User : 45309 45654 command.c:546 command_print(): adapter speed: 300 kHz Debug: 45310 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45311 45654 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 45312 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45313 45654 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 45314 45654 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event examine-start Debug: 45315 45655 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event examine-start Debug: 45316 45655 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu arp_examine Debug: 45317 45655 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu arp_examine Debug: 45318 45655 arm_adi_v5.c:649 ahbap_debugport_init(): Debug: 45319 45655 arm_adi_v5.c:691 ahbap_debugport_init(): DAP: wait CDBGPWRUPACK Debug: 45320 45655 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0820000000, value 0x20000000 Debug: 45321 45655 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45322 45656 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000041 Debug: 45323 45656 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 4 = 00000020 Debug: 45324 45656 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = 00000040 Debug: 45325 45656 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 4 = 50000000 Debug: 45326 45656 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000040 Debug: 45327 45656 arm_adi_v5.c:698 ahbap_debugport_init(): DAP: wait CSYSPWRUPACK Debug: 45328 45656 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0880000000, value 0x80000000 Debug: 45329 45656 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45330 45656 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000040 Debug: 45331 45656 ftdi.c:946 ftdi_swd_run_queue(): Executing 11 queued transactions Debug: 45332 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000040 Debug: 45333 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 4 = 50000001 Debug: 45334 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000041 Debug: 45335 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45336 45658 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000020 Debug: 45337 45658 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000000 Debug: 45338 45658 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = e0032100 Debug: 45339 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 23000060 Debug: 45340 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 000000f0 Debug: 45341 45658 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 4 = 23000060 Debug: 45342 45658 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45343 45658 arm_adi_v5.c:750 ahbap_debugport_init(): MEM_AP Packed Transfers: enabled Debug: 45344 45658 arm_adi_v5.c:761 ahbap_debugport_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0 Debug: 45345 45658 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event examine-end Debug: 45346 45659 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event examine-end Debug: 45347 45659 target.c:4209 target_handle_event(): target: (0) stm32l1.cpu (cortex_m) event: 22 (examine-end) action: # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP mmw 0xE0042004 0x00000007 0 # Stop watchdog counters during halt # DBGMCU_APB1_FZ = DBG_IWDG_STOP | DBG_WWDG_STOP mww 0xE0042008 0x00001800 Debug: 45348 45659 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45349 45660 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45350 45660 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0042004 Debug: 45351 45660 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000022 Debug: 45352 45660 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg C = 00000000 Debug: 45353 45660 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000007 Debug: 45354 45660 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042004 7 Debug: 45355 45660 command.c:145 script_debug(): command - mww ocd_mww 0xE0042004 7 Debug: 45357 45660 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45358 45661 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0042004 Debug: 45359 45661 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000007 Debug: 45360 45661 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mww 0xE0042008 0x00001800 Debug: 45361 45661 command.c:145 script_debug(): command - mww ocd_mww 0xE0042008 0x00001800 Debug: 45363 45661 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45364 45662 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0042008 Debug: 45365 45662 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00001800 Debug: 45366 45662 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event reset-assert-pre Debug: 45367 45662 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event reset-assert-pre Debug: 45368 45662 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45369 45662 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 45370 45662 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu arp_reset assert 1 Debug: 45371 45662 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu arp_reset assert 1 Debug: 45372 45662 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 45373 45662 target.c:1578 print_wa_layout(): 0x20000000-0x200027ff (10240 bytes) Debug: 45374 45662 cortex_m.c:971 cortex_m_assert_reset(): target->state: reset Debug: 45375 45662 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45376 45663 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000002 Debug: 45377 45663 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000edf0 Debug: 45378 45663 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45379 45663 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 00000007 Debug: 45380 45663 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 03010001 Debug: 45381 45663 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45382 45664 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 8 = 00000000 Debug: 45383 45664 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 01000501 Debug: 45384 45664 cortex_m.c:1057 cortex_m_assert_reset(): Using Cortex-M SYSRESETREQ Debug: 45385 45664 ftdi.c:946 ftdi_swd_run_queue(): Executing 4 queued transactions Debug: 45386 45665 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45387 45665 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000ed00 Debug: 45388 45665 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45389 45665 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 05fa0004 Debug: 45390 45665 arm_adi_v5.c:649 ahbap_debugport_init(): Debug: 45391 45665 arm_adi_v5.c:691 ahbap_debugport_init(): DAP: wait CDBGPWRUPACK Debug: 45392 45665 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0820000000, value 0x20000000 Debug: 45393 45665 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45394 45666 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000041 Debug: 45395 45666 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 4 = 00000020 Debug: 45396 45666 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = 00000040 Debug: 45397 45666 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 4 = 50000000 Debug: 45398 45666 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000040 Debug: 45399 45666 arm_adi_v5.c:698 ahbap_debugport_init(): DAP: wait CSYSPWRUPACK Debug: 45400 45666 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0880000000, value 0x80000000 Debug: 45401 45666 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45402 45667 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000040 Debug: 45403 45667 ftdi.c:946 ftdi_swd_run_queue(): Executing 11 queued transactions Debug: 45404 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000040 Debug: 45405 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 4 = 50000001 Debug: 45406 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg 4 = f0000041 Debug: 45407 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45408 45669 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000020 Debug: 45409 45669 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000000 Debug: 45410 45669 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 03010001 Debug: 45411 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 23000060 Debug: 45412 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 000000f0 Debug: 45413 45669 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 4 = 23000060 Debug: 45414 45669 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45415 45669 arm_adi_v5.c:750 ahbap_debugport_init(): MEM_AP Packed Transfers: enabled Debug: 45416 45669 arm_adi_v5.c:761 ahbap_debugport_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0 Debug: 45417 45669 ftdi.c:946 ftdi_swd_run_queue(): Executing 6 queued transactions Debug: 45418 45670 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45419 45670 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000002 Debug: 45420 45670 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000ed00 Debug: 45421 45670 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45422 45670 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg C = 00000000 Debug: 45423 45670 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = fa050000 Debug: 45424 45671 cortex_m.c:588 cortex_m_halt(): target->state: reset Debug: 45425 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event reset-assert-post Debug: 45426 45671 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event reset-assert-post Debug: 45427 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event reset-deassert-pre Debug: 45428 45671 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event reset-deassert-pre Debug: 45429 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45430 45671 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 45431 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu arp_reset deassert 1 Debug: 45432 45671 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu arp_reset deassert 1 Debug: 45433 45671 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 45434 45671 target.c:1578 print_wa_layout(): 0x20000000-0x200027ff (10240 bytes) Debug: 45435 45671 cortex_m.c:1105 cortex_m_deassert_reset(): target->state: reset Debug: 45436 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event reset-deassert-post Debug: 45437 45671 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event reset-deassert-post Debug: 45438 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 45439 45671 command.c:145 script_debug(): command - ocd_transport ocd_transport select Debug: 45440 45671 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu arp_waitstate halted 1000 Debug: 45441 45671 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu arp_waitstate halted 1000 Debug: 45442 45671 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45443 45672 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45444 45672 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000edf0 Debug: 45445 45672 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45446 45672 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = fa050000 Debug: 45447 45672 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 02030003 Debug: 45448 45672 target.c:2741 target_wait_state(): waiting for target halted... Debug: 45449 45672 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45450 45673 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 02030003 Debug: 45451 45673 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00030003 Debug: 45452 45673 cortex_m.c:534 cortex_m_poll(): Exit from reset with dcb_dhcsr 0x30003 Debug: 45453 45673 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45454 45673 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg C = 00030003 Debug: 45455 45673 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 01000501 Debug: 45456 45673 cortex_m.c:237 cortex_m_endreset_event(): DCB_DEMCR = 0x01000501 Debug: 45457 45673 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45458 45674 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 8 = 00000000 Debug: 45459 45674 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 01000501 Debug: 45460 45674 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00030003 Debug: 45461 45674 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45462 45675 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a05f0003 Debug: 45463 45675 target.c:2267 target_write_u32(): address: 0xe0002000, value: 0x00000003 Debug: 45464 45675 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45465 45676 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 01000000 Debug: 45466 45676 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45467 45676 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002000 Debug: 45468 45676 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000022 Debug: 45469 45676 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000003 Debug: 45470 45676 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45471 45677 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002000 Debug: 45472 45677 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg C = 00030003 Debug: 45473 45677 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000261 Debug: 45474 45677 target.c:2179 target_read_u32(): address: 0xe0002000, value: 0x00000261 Debug: 45475 45677 target.c:2267 target_write_u32(): address: 0xe0002008, value: 0x00000000 Debug: 45476 45677 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45477 45677 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002008 Debug: 45478 45677 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45479 45677 target.c:2267 target_write_u32(): address: 0xe000200c, value: 0x00000000 Debug: 45480 45677 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45481 45678 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000200c Debug: 45482 45678 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45483 45678 target.c:2267 target_write_u32(): address: 0xe0002010, value: 0x00000000 Debug: 45484 45678 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45485 45679 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002010 Debug: 45486 45679 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45487 45679 target.c:2267 target_write_u32(): address: 0xe0002014, value: 0x00000000 Debug: 45488 45679 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45489 45679 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002014 Debug: 45490 45679 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45491 45679 target.c:2267 target_write_u32(): address: 0xe0002018, value: 0x00000000 Debug: 45492 45679 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45493 45680 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002018 Debug: 45494 45680 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45495 45680 target.c:2267 target_write_u32(): address: 0xe000201c, value: 0x00000000 Debug: 45496 45680 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45497 45681 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000201c Debug: 45498 45681 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45499 45681 target.c:2267 target_write_u32(): address: 0xe0002020, value: 0x00000000 Debug: 45500 45681 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45501 45682 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002020 Debug: 45502 45682 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45503 45682 target.c:2267 target_write_u32(): address: 0xe0002024, value: 0x00000000 Debug: 45504 45682 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45505 45682 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002024 Debug: 45506 45682 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45507 45682 target.c:2267 target_write_u32(): address: 0xe0001020, value: 0x00000000 Debug: 45508 45682 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45509 45683 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001020 Debug: 45510 45683 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45511 45683 target.c:2267 target_write_u32(): address: 0xe0001024, value: 0x00000000 Debug: 45512 45683 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45513 45684 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001024 Debug: 45514 45684 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45515 45684 target.c:2267 target_write_u32(): address: 0xe0001028, value: 0x00000000 Debug: 45516 45684 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45517 45684 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001028 Debug: 45518 45684 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45519 45684 target.c:2267 target_write_u32(): address: 0xe0001030, value: 0x00000000 Debug: 45520 45684 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45521 45685 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001030 Debug: 45522 45685 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45523 45685 target.c:2267 target_write_u32(): address: 0xe0001034, value: 0x00000000 Debug: 45524 45685 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45525 45686 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001034 Debug: 45526 45686 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45527 45686 target.c:2267 target_write_u32(): address: 0xe0001038, value: 0x00000000 Debug: 45528 45686 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45529 45686 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001038 Debug: 45530 45686 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45531 45686 target.c:2267 target_write_u32(): address: 0xe0001040, value: 0x00000000 Debug: 45532 45686 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45533 45687 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001040 Debug: 45534 45687 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45535 45687 target.c:2267 target_write_u32(): address: 0xe0001044, value: 0x00000000 Debug: 45536 45687 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45537 45688 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001044 Debug: 45538 45688 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45539 45688 target.c:2267 target_write_u32(): address: 0xe0001048, value: 0x00000000 Debug: 45540 45688 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45541 45688 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001048 Debug: 45542 45688 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45543 45688 target.c:2267 target_write_u32(): address: 0xe0001050, value: 0x00000000 Debug: 45544 45688 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45545 45689 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001050 Debug: 45546 45689 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45547 45689 target.c:2267 target_write_u32(): address: 0xe0001054, value: 0x00000000 Debug: 45548 45689 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45549 45690 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001054 Debug: 45550 45690 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45551 45690 target.c:2267 target_write_u32(): address: 0xe0001058, value: 0x00000000 Debug: 45552 45690 ftdi.c:946 ftdi_swd_run_queue(): Executing 2 queued transactions Debug: 45553 45690 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0001058 Debug: 45554 45690 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 00000000 Debug: 45555 45690 ftdi.c:946 ftdi_swd_run_queue(): Executing 0 queued transactions Debug: 45556 45690 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45557 45691 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000002 Debug: 45558 45691 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000edf0 Debug: 45559 45691 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45560 45691 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 00000261 Debug: 45561 45691 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00030003 Debug: 45562 45691 cortex_m.c:418 cortex_m_debug_entry(): Debug: 45563 45691 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45564 45692 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a05f0003 Debug: 45565 45692 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45566 45693 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45567 45693 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000ed30 Debug: 45568 45693 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45569 45693 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 00030003 Debug: 45570 45693 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000009 Debug: 45571 45693 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45572 45693 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = 00000009 Debug: 45573 45693 cortex_m.c:166 cortex_m_clear_halt(): NVIC_DFSR 0x9 Debug: 45574 45693 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45575 45694 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45576 45694 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000edf0 Debug: 45577 45694 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45578 45694 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 0 = 00000009 Debug: 45579 45694 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00030003 Debug: 45580 45694 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45581 45695 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000000 Debug: 45582 45695 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00030003 Debug: 45583 45695 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45584 45695 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 0 value 0x0 Debug: 45585 45695 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45586 45696 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000001 Debug: 45587 45696 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45588 45696 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45589 45696 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 1 value 0x0 Debug: 45590 45696 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45591 45697 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000002 Debug: 45592 45697 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45593 45697 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45594 45697 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 2 value 0x0 Debug: 45595 45697 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45596 45698 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000003 Debug: 45597 45698 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45598 45698 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45599 45698 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 3 value 0x0 Debug: 45600 45698 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45601 45699 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000004 Debug: 45602 45699 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45603 45699 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45604 45699 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 4 value 0x0 Debug: 45605 45699 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45606 45699 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000005 Debug: 45607 45699 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45608 45699 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45609 45700 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 5 value 0x0 Debug: 45610 45700 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45611 45700 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000006 Debug: 45612 45700 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45613 45700 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45614 45700 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 6 value 0x0 Debug: 45615 45700 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45616 45701 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000007 Debug: 45617 45701 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45618 45701 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45619 45701 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 7 value 0x0 Debug: 45620 45701 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45621 45702 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000008 Debug: 45622 45702 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45623 45702 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45624 45702 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 8 value 0x0 Debug: 45625 45702 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45626 45703 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000009 Debug: 45627 45703 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45628 45703 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45629 45703 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 9 value 0x0 Debug: 45630 45703 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45631 45704 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 0000000a Debug: 45632 45704 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45633 45704 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45634 45704 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 10 value 0x0 Debug: 45635 45704 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45636 45705 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 0000000b Debug: 45637 45705 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45638 45705 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45639 45705 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 11 value 0x0 Debug: 45640 45705 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45641 45706 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 0000000c Debug: 45642 45706 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45643 45706 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45644 45706 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 12 value 0x0 Debug: 45645 45706 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45646 45707 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 0000000d Debug: 45647 45707 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45648 45707 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 20007ffc Debug: 45649 45707 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 13 value 0x20007ffc Debug: 45650 45707 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45651 45707 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 0000000e Debug: 45652 45707 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 20007ffc Debug: 45653 45707 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = ffffffff Debug: 45654 45707 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 14 value 0xffffffff Debug: 45655 45707 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45656 45708 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 0000000f Debug: 45657 45708 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = ffffffff Debug: 45658 45708 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 08000ca0 Debug: 45659 45708 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 15 value 0x8000ca0 Debug: 45660 45708 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45661 45709 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000010 Debug: 45662 45709 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 08000ca0 Debug: 45663 45709 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 01000000 Debug: 45664 45709 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 16 value 0x1000000 Debug: 45665 45709 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45666 45710 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000011 Debug: 45667 45710 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 01000000 Debug: 45668 45710 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 20007ffc Debug: 45669 45710 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 17 value 0x20007ffc Debug: 45670 45710 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45671 45711 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000012 Debug: 45672 45711 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 20007ffc Debug: 45673 45711 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45674 45711 cortex_m.c:1503 cortex_m_load_core_reg_u32(): load from core reg 18 value 0x0 Debug: 45675 45711 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45676 45712 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000014 Debug: 45677 45712 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45678 45712 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45679 45712 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 19 value 0x0 Debug: 45680 45712 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45681 45713 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000014 Debug: 45682 45713 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45683 45713 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45684 45713 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 20 value 0x0 Debug: 45685 45713 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45686 45714 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000014 Debug: 45687 45714 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45688 45714 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45689 45714 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 21 value 0x0 Debug: 45690 45714 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45691 45715 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 00000014 Debug: 45692 45715 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg 8 = 00000000 Debug: 45693 45715 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 00000000 Debug: 45694 45715 cortex_m.c:1557 cortex_m_load_core_reg_u32(): load from special reg 22 value 0x0 Debug: 45695 45715 cortex_m.c:478 cortex_m_debug_entry(): entered debug state in core mode: Thread at PC 0x8000ca0, target->state: halted Debug: 45696 45715 target.c:1465 target_call_event_callbacks(): target event 0 (gdb-halt) Debug: 45697 45715 target.c:1465 target_call_event_callbacks(): target event 1 (halted) User : 45698 45715 target.c:1889 target_arch_state(): target state: halted User : 45699 45715 armv7m.c:553 armv7m_arch_state(): target halted due to debug-request, current mode: Thread xPSR: 0x01000000 pc: 0x08000ca0 msp: 0x20007ffc Debug: 45700 45715 target.c:1465 target_call_event_callbacks(): target event 6 (gdb-end) Debug: 45701 45715 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu curstate Debug: 45702 45715 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu curstate Debug: 45703 45715 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_stm32l1.cpu invoke-event reset-end Debug: 45704 45715 command.c:145 script_debug(): command - ocd_stm32l1.cpu ocd_stm32l1.cpu invoke-event reset-end Debug: 45705 51169 gdb_server.c:2670 gdb_input_inner(): received packet: 'm8007c20,2' Debug: 45706 51169 gdb_server.c:1381 gdb_read_memory_packet(): addr: 0x08007c20, len: 0x00000002 Debug: 45707 51169 target.c:2031 target_read_buffer(): reading buffer of 2 byte at 0x08007c20 Debug: 45708 51169 ftdi.c:946 ftdi_swd_run_queue(): Executing 5 queued transactions Debug: 45709 51170 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000000 Debug: 45710 51170 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = 08007c20 Debug: 45711 51170 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000011 Debug: 45712 51170 ftdi.c:978 ftdi_swd_run_queue(): OK AP read reg C = 00000000 Debug: 45713 51170 ftdi.c:978 ftdi_swd_run_queue(): OK DP read reg C = 0000b510 Debug: 45714 55027 gdb_server.c:2670 gdb_input_inner(): received packet: 'Z1,8007c20,2' Debug: 45715 55027 gdb_server.c:1563 gdb_breakpoint_watchpoint_packet(): - Debug: 45716 55027 target.c:2267 target_write_u32(): address: 0xe0002008, value: 0x48007c21 Debug: 45717 55027 ftdi.c:946 ftdi_swd_run_queue(): Executing 3 queued transactions Debug: 45718 55028 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e0002008 Debug: 45719 55028 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000022 Debug: 45720 55028 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg C = 48007c21 Debug: 45721 55028 cortex_m.c:1155 cortex_m_set_breakpoint(): fpc_num 0 fpcr_value 0x48007c21 Debug: 45722 55028 cortex_m.c:1194 cortex_m_set_breakpoint(): BPID: 0, Type: 0, Address: 0x08007c20 Length: 2 (set=1) Debug: 45723 55028 breakpoints.c:106 breakpoint_add_internal(): added hardware breakpoint at 0x08007c20 of length 0x00000002, (BPID: 0) Debug: 45724 55028 gdb_server.c:2670 gdb_input_inner(): received packet: 'vCont?' Debug: 45725 55028 gdb_server.c:2670 gdb_input_inner(): received packet: 'Hc0' Debug: 45726 55028 gdb_server.c:2670 gdb_input_inner(): received packet: 'c' Debug: 45727 55028 target.c:1465 target_call_event_callbacks(): target event 5 (gdb-start) Debug: 45728 55028 gdb_server.c:1531 gdb_step_continue_packet(): - Debug: 45729 55028 gdb_server.c:1540 gdb_step_continue_packet(): continue Debug: 45730 55028 target.c:1465 target_call_event_callbacks(): target event 3 (resume-start) Debug: 45731 55028 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas Debug: 45732 55028 target.c:1578 print_wa_layout(): 0x20000000-0x200027ff (10240 bytes) Debug: 45733 55028 armv7m.c:146 armv7m_restore_context(): Debug: 45734 55028 ftdi.c:946 ftdi_swd_run_queue(): Executing 4 queued transactions Debug: 45735 55029 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a2000002 Debug: 45736 55029 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 4 = e000edf0 Debug: 45737 55029 ftdi.c:978 ftdi_swd_run_queue(): OK DP write reg 8 = 00000010 Debug: 45738 55029 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a05f0001 Debug: 45739 55029 target.c:1465 target_call_event_callbacks(): target event 2 (resumed) Debug: 45740 55029 cortex_m.c:778 cortex_m_resume(): target resumed at 0x8000ca0 Debug: 45741 55029 target.c:1465 target_call_event_callbacks(): target event 4 (resume-end) Debug: 45742 90957 gdb_server.c:2670 gdb_input_inner(): received packet: '' Debug: 45743 90957 cortex_m.c:588 cortex_m_halt(): target->state: running Debug: 45744 90957 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45745 90958 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a05f0003 Debug: 45746 103400 gdb_server.c:2670 gdb_input_inner(): received packet: '' Debug: 45747 103400 cortex_m.c:588 cortex_m_halt(): target->state: running Debug: 45748 103400 ftdi.c:946 ftdi_swd_run_queue(): Executing 1 queued transactions Debug: 45749 103401 ftdi.c:978 ftdi_swd_run_queue(): OK AP write reg 0 = a05f0003 Debug: 45750 105411 gdb_server.c:1020 gdb_connection_closed(): GDB Close, Target: stm32l1.cpu, state: running, gdb_actual_connections=0 Debug: 45751 105411 target.c:1465 target_call_event_callbacks(): target event 6 (gdb-end) Debug: 45752 105411 target.c:1465 target_call_event_callbacks(): target event 24 (gdb-detach) Info : 45753 105411 server.c:484 server_loop(): dropped 'gdb' connection
pgpvALdIonymf.pgp
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j
_______________________________________________ OpenOCD-devel mailing list OpenOCD-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openocd-devel