Advertisement
Guest User

Untitled

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