Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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 1 options.c:63 configuration_output_handler(): debug_level: 3
- User : 14 1 options.c:63 configuration_output_handler():
- Debug: 15 1 options.c:244 add_default_dirs(): bindir=/usr/local/Cellar/open-ocd/0.11.0/bin
- Debug: 16 1 options.c:245 add_default_dirs(): pkgdatadir=/usr/local/Cellar/open-ocd/0.11.0/share/openocd
- Debug: 17 1 options.c:246 add_default_dirs(): exepath=/usr/local/Cellar/open-ocd/0.11.0/bin
- Debug: 18 1 options.c:247 add_default_dirs(): bin2data=../share/openocd
- Debug: 19 1 configuration.c:42 add_script_search_dir(): adding /Users/jm/Library/Preferences/org.openocd
- Debug: 20 1 configuration.c:42 add_script_search_dir(): adding /Users/jm/.config/openocd
- Debug: 21 1 configuration.c:42 add_script_search_dir(): adding /Users/jm/.openocd
- Debug: 22 1 configuration.c:42 add_script_search_dir(): adding /usr/local/Cellar/open-ocd/0.11.0/bin/../share/openocd/site
- Debug: 23 1 configuration.c:42 add_script_search_dir(): adding /usr/local/Cellar/open-ocd/0.11.0/bin/../share/openocd/scripts
- Debug: 24 1 configuration.c:97 find_file(): found /usr/local/Cellar/open-ocd/0.11.0/bin/../share/openocd/scripts/interface/stlink.cfg
- Debug: 25 2 command.c:146 script_debug(): command - adapter driver hla
- Debug: 27 2 command.c:146 script_debug(): command - hla_layout stlink
- Debug: 29 2 hla_interface.c:242 hl_interface_handle_layout_command(): hl_interface_handle_layout_command
- Debug: 30 2 command.c:146 script_debug(): command - hla_device_desc ST-LINK
- Debug: 32 2 hla_interface.c:216 hl_interface_handle_device_desc_command(): hl_interface_handle_device_desc_command
- Debug: 33 2 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 configuration.c:97 find_file(): found /usr/local/Cellar/open-ocd/0.11.0/bin/../share/openocd/scripts/target/stm32h7x.cfg
- Debug: 36 3 configuration.c:97 find_file(): found /usr/local/Cellar/open-ocd/0.11.0/bin/../share/openocd/scripts/target/swj-dp.tcl
- Debug: 37 4 command.c:146 script_debug(): command - transport select
- Info : 38 4 transport.c:276 jim_transport_select(): auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
- Debug: 39 4 hla_transport.c:205 hl_swd_transport_select(): hl_swd_transport_select
- Debug: 40 4 configuration.c:97 find_file(): found /usr/local/Cellar/open-ocd/0.11.0/bin/../share/openocd/scripts/mem_helper.tcl
- Debug: 41 4 command.c:146 script_debug(): command - add_usage_text mrw address
- Debug: 43 4 command.c:1115 help_add_command(): added 'mrw' help text
- Debug: 44 4 command.c:146 script_debug(): command - add_help_text mrw Returns value of word in memory.
- Debug: 46 4 command.c:1128 help_add_command(): added 'mrw' help text
- Debug: 47 4 command.c:146 script_debug(): command - add_usage_text mrh address
- Debug: 49 4 command.c:1115 help_add_command(): added 'mrh' help text
- Debug: 50 4 command.c:146 script_debug(): command - add_help_text mrh Returns value of halfword in memory.
- Debug: 52 4 command.c:1128 help_add_command(): added 'mrh' help text
- Debug: 53 4 command.c:146 script_debug(): command - add_usage_text mrb address
- Debug: 55 4 command.c:1115 help_add_command(): added 'mrb' help text
- Debug: 56 4 command.c:146 script_debug(): command - add_help_text mrb Returns value of byte in memory.
- Debug: 58 4 command.c:1128 help_add_command(): added 'mrb' help text
- Debug: 59 4 command.c:146 script_debug(): command - add_usage_text mmw address setbits clearbits
- Debug: 61 4 command.c:1115 help_add_command(): added 'mmw' help text
- Debug: 62 4 command.c:146 script_debug(): command - add_help_text mmw Modify word in memory. new_val = (old_val & ~clearbits) | setbits;
- Debug: 64 4 command.c:1128 help_add_command(): added 'mmw' help text
- Debug: 65 4 command.c:146 script_debug(): command - transport select
- Debug: 66 5 command.c:146 script_debug(): command - transport select
- Debug: 67 5 command.c:146 script_debug(): command - transport select
- Debug: 68 5 command.c:146 script_debug(): command - swd newdap stm32h7x cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x6ba02477
- Debug: 69 5 hla_tcl.c:111 jim_hl_newtap_cmd(): Creating New Tap, Chip: stm32h7x, Tap: cpu, Dotted: stm32h7x.cpu, 8 params
- Debug: 70 5 hla_tcl.c:121 jim_hl_newtap_cmd(): Processing option: -irlen
- Debug: 71 5 hla_tcl.c:121 jim_hl_newtap_cmd(): Processing option: -ircapture
- Debug: 72 5 hla_tcl.c:121 jim_hl_newtap_cmd(): Processing option: -irmask
- Debug: 73 5 hla_tcl.c:121 jim_hl_newtap_cmd(): Processing option: -expected-id
- Debug: 74 5 core.c:1488 jtag_tap_init(): Created Tap: stm32h7x.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
- Debug: 75 5 command.c:146 script_debug(): command - dap create stm32h7x.dap -chain-position stm32h7x.cpu
- Debug: 76 5 command.c:146 script_debug(): command - transport select
- Debug: 77 5 command.c:146 script_debug(): command - transport select
- Debug: 78 5 command.c:146 script_debug(): command - target create stm32h7x.cpu0 cortex_m -endian little -dap stm32h7x.dap -ap-num 0
- Info : 79 5 target.c:5668 target_create(): The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
- Debug: 80 6 hla_target.c:203 adapter_target_create(): adapter_target_create
- Debug: 81 6 hla_target.c:173 adapter_init_arch_info(): adapter_init_arch_info
- Debug: 82 6 command.c:376 register_command(): command 'rtt' is already registered in '<global>' context
- Debug: 83 6 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -work-area-phys 0x20000000 -work-area-size 0x10000 -work-area-backup 0
- Debug: 84 6 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 85 7 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 86 7 target.c:2172 target_free_all_working_areas_restore(): freeing all working areas
- Debug: 87 7 command.c:146 script_debug(): command - flash bank stm32h7x.bank1.cpu0 stm32h7x 0x08000000 0 0 0 stm32h7x.cpu0
- Debug: 89 8 tcl.c:1319 handle_flash_bank_command(): 'stm32h7x' driver usage field missing
- Debug: 90 8 command.c:146 script_debug(): command - targets stm32h7x.cpu0
- Debug: 92 8 command.c:146 script_debug(): command - adapter speed 1800
- Debug: 94 8 core.c:1822 jtag_config_khz(): handle jtag khz
- Debug: 95 8 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 96 8 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 97 8 command.c:146 script_debug(): command - adapter srst delay 100
- Debug: 99 8 command.c:146 script_debug(): command - transport select
- Debug: 100 8 command.c:146 script_debug(): command - reset_config srst_only srst_nogate
- Debug: 102 8 command.c:146 script_debug(): command - transport select
- Debug: 103 8 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -event examine-end
- # Enable D3 and D1 DBG clocks
- # DBGMCU_CR |= D3DBGCKEN | D1DBGCKEN
- stm32h7x_dbgmcu_mmw 0x004 0x00600000 0
- # Enable debug during low power modes (uses more power)
- # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP D1 Domain
- stm32h7x_dbgmcu_mmw 0x004 0x00000007 0
- # DBGMCU_CR |= DBG_STANDBY | DBG_STOP | DBG_SLEEP D2 Domain
- stm32h7x_dbgmcu_mmw 0x004 0x00000038 0
- # Stop watchdog counters during halt
- # DBGMCU_APB3FZ1 |= WWDG1
- stm32h7x_dbgmcu_mmw 0x034 0x00000040 0
- # DBGMCU_APB1LFZ1 |= WWDG2
- stm32h7x_dbgmcu_mmw 0x03C 0x00000800 0
- # DBGMCU_APB4FZ1 |= WDGLSD1 | WDGLSD2
- stm32h7x_dbgmcu_mmw 0x054 0x000C0000 0
- Debug: 104 8 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -event trace-config
- # Set TRACECLKEN; TRACE_MODE is set to async; when using sync
- # change this value accordingly to configure trace pins
- # assignment
- stm32h7x_dbgmcu_mmw 0x004 0x00100000 0
- Debug: 105 8 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -event reset-init
- # Clock after reset is HSI at 64 MHz, no need of PLL
- adapter speed 4000
- Debug: 106 8 command.c:146 script_debug(): command - init
- Debug: 108 8 command.c:146 script_debug(): command - target init
- Debug: 110 8 command.c:146 script_debug(): command - target names
- Debug: 111 8 command.c:146 script_debug(): command - stm32h7x.cpu0 cget -event gdb-flash-erase-start
- Debug: 112 8 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -event gdb-flash-erase-start reset init
- Debug: 113 8 command.c:146 script_debug(): command - stm32h7x.cpu0 cget -event gdb-flash-write-end
- Debug: 114 8 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -event gdb-flash-write-end reset halt
- Debug: 115 8 command.c:146 script_debug(): command - stm32h7x.cpu0 cget -event gdb-attach
- Debug: 116 8 command.c:146 script_debug(): command - stm32h7x.cpu0 configure -event gdb-attach halt 1000
- Debug: 117 8 target.c:1639 handle_target_init_command(): Initializing targets...
- Debug: 118 8 hla_target.c:193 adapter_init_target(): adapter_init_target
- Debug: 119 9 semihosting_common.c:99 semihosting_common_init():
- Debug: 120 9 hla_interface.c:109 hl_interface_init(): hl_interface_init
- Debug: 121 9 hla_layout.c:95 hl_layout_init(): hl_layout_init
- Debug: 122 9 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 123 9 core.c:1789 adapter_khz_to_speed(): have interface set up
- Debug: 124 9 core.c:1785 adapter_khz_to_speed(): convert khz to interface specific speed value
- Debug: 125 9 core.c:1789 adapter_khz_to_speed(): have interface set up
- Info : 126 9 core.c:1565 adapter_init(): clock speed 1800 kHz
- Debug: 127 9 openocd.c:143 handle_init_command(): Debug Adapter init complete
- Debug: 128 9 command.c:146 script_debug(): command - transport init
- Debug: 130 9 transport.c:229 handle_transport_init(): handle_transport_init
- Debug: 131 9 hla_transport.c:156 hl_transport_init(): hl_transport_init
- Debug: 132 9 hla_transport.c:173 hl_transport_init(): current transport hla_swd
- Debug: 133 9 hla_interface.c:42 hl_interface_open(): hl_interface_open
- Debug: 134 9 hla_layout.c:40 hl_layout_open(): hl_layout_open
- Debug: 135 9 stlink_usb.c:2819 stlink_usb_open(): stlink_usb_open
- Debug: 136 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3744 serial:
- Debug: 137 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3748 serial:
- Debug: 138 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374b serial:
- Debug: 139 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374d serial:
- Debug: 140 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374e serial:
- Debug: 141 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x374f serial:
- Debug: 142 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3752 serial:
- Debug: 143 9 stlink_usb.c:2833 stlink_usb_open(): transport: 4 vid: 0x0483 pid: 0x3753 serial:
- zsh segmentation fault openocd -f interface/stlink.cfg -f target/stm32h7x.cfg -c init -c "reset init"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement