Guest User

Untitled

a guest
Sep 16th, 2023
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.37 KB | None | 0 0
  1. Open On-Chip Debugger 0.12.0
  2. Licensed under GNU GPL v2
  3. For bug reports, read
  4. http://openocd.org/doc/doxygen/bugs.html
  5. User : 3 1 options.c:52 configuration_output_handler(): debug_level: 3
  6. User : 4 1 options.c:52 configuration_output_handler():
  7. Debug: 5 1 options.c:233 add_default_dirs(): bindir=/opt/homebrew/Cellar/open-ocd/0.12.0_1/bin
  8. Debug: 6 1 options.c:234 add_default_dirs(): pkgdatadir=/opt/homebrew/Cellar/open-ocd/0.12.0_1/share/openocd
  9. Debug: 7 1 options.c:235 add_default_dirs(): exepath=/opt/homebrew/Cellar/open-ocd/0.12.0_1/bin
  10. Debug: 8 1 options.c:236 add_default_dirs(): bin2data=../share/openocd
  11. Debug: 9 1 configuration.c:33 add_script_search_dir(): adding /Users/frank/Library/Preferences/org.openocd
  12. Debug: 10 1 configuration.c:33 add_script_search_dir(): adding /Users/frank/.config/openocd
  13. Debug: 11 1 configuration.c:33 add_script_search_dir(): adding /Users/frank/.openocd
  14. Debug: 12 1 configuration.c:33 add_script_search_dir(): adding /opt/homebrew/Cellar/open-ocd/0.12.0_1/bin/../share/openocd/site
  15. Debug: 13 1 configuration.c:33 add_script_search_dir(): adding /opt/homebrew/Cellar/open-ocd/0.12.0_1/bin/../share/openocd/scripts
  16. Debug: 14 1 command.c:155 script_debug(): command - ocd_find openocd.cfg
  17. Debug: 15 1 configuration.c:88 find_file(): found openocd.cfg
  18. Debug: 16 1 command.c:155 script_debug(): command - ocd_find board/nordic_nrf52_dk.cfg
  19. Debug: 17 1 configuration.c:88 find_file(): found /opt/homebrew/Cellar/open-ocd/0.12.0_1/bin/../share/openocd/scripts/board/nordic_nrf52_dk.cfg
  20. Debug: 18 1 command.c:155 script_debug(): command - ocd_find interface/jlink.cfg
  21. Debug: 19 1 configuration.c:88 find_file(): found /opt/homebrew/Cellar/open-ocd/0.12.0_1/bin/../share/openocd/scripts/interface/jlink.cfg
  22. Debug: 20 1 command.c:155 script_debug(): command - adapter driver jlink
  23. Debug: 21 1 command.c:155 script_debug(): command - transport select swd
  24. Debug: 22 1 command.c:155 script_debug(): command - ocd_find target/nrf52.cfg
  25. Debug: 23 1 configuration.c:88 find_file(): found /opt/homebrew/Cellar/open-ocd/0.12.0_1/bin/../share/openocd/scripts/target/nrf52.cfg
  26. Debug: 24 1 command.c:155 script_debug(): command - ocd_find target/swj-dp.tcl
  27. Debug: 25 1 configuration.c:88 find_file(): found /opt/homebrew/Cellar/open-ocd/0.12.0_1/bin/../share/openocd/scripts/target/swj-dp.tcl
  28. Debug: 26 1 command.c:155 script_debug(): command - transport select
  29. Debug: 27 1 command.c:155 script_debug(): command - transport select
  30. Debug: 28 1 command.c:155 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  31. Debug: 29 1 command.c:155 script_debug(): command - transport select
  32. Debug: 30 1 command.c:155 script_debug(): command - expr [ string first "swd" $_TRANSPORT ] != -1
  33. Debug: 31 1 command.c:155 script_debug(): command - swd newdap nrf52 cpu -expected-id 0x2ba01477
  34. Debug: 32 1 tcl.c:558 jim_newtap_cmd(): Creating New Tap, Chip: nrf52, Tap: cpu, Dotted: nrf52.cpu, 2 params
  35. Debug: 33 1 core.c:1478 jtag_tap_init(): Created Tap: nrf52.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
  36. Debug: 34 1 command.c:155 script_debug(): command - dap create nrf52.dap -chain-position nrf52.cpu
  37. Debug: 35 1 command.c:155 script_debug(): command - target create nrf52.cpu cortex_m -dap nrf52.dap
  38. Debug: 36 1 command.c:289 register_command(): command 'tpiu' is already registered
  39. Debug: 37 1 command.c:289 register_command(): command 'rtt' is already registered
  40. Debug: 38 2 command.c:155 script_debug(): command - adapter speed 1000
  41. Debug: 39 2 adapter.c:251 adapter_config_khz(): handle adapter khz
  42. Debug: 40 2 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  43. Debug: 41 2 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  44. Debug: 42 2 command.c:155 script_debug(): command - nrf52.cpu configure -work-area-phys 0x20000000 -work-area-size 0x4000 -work-area-backup 0
  45. Debug: 43 2 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  46. Debug: 44 2 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  47. Debug: 45 2 target.c:2199 target_free_all_working_areas_restore(): freeing all working areas
  48. Debug: 46 2 command.c:155 script_debug(): command - transport select
  49. Debug: 47 2 command.c:155 script_debug(): command - expr [ string first "hla" $_TRANSPORT ] != -1
  50. Debug: 48 2 command.c:155 script_debug(): command - cortex_m reset_config sysresetreq
  51. Debug: 49 2 command.c:155 script_debug(): command - nrf52.cpu configure -event examine-fail nrf52_check_ap_lock
  52. Debug: 50 2 command.c:155 script_debug(): command - flash bank nrf52.flash nrf5 0x00000000 0 1 1 nrf52.cpu
  53. Debug: 51 2 tcl.c:1305 handle_flash_bank_command(): 'nrf5' driver usage field missing
  54. Debug: 52 2 command.c:155 script_debug(): command - flash bank nrf52.uicr nrf5 0x10001000 0 1 1 nrf52.cpu
  55. Debug: 53 2 command.c:289 register_command(): command 'nrf5' is already registered
  56. Debug: 54 2 command.c:289 register_command(): command 'nrf5 mass_erase' is already registered
  57. Debug: 55 2 command.c:289 register_command(): command 'nrf5 info' is already registered
  58. Debug: 56 2 command.c:289 register_command(): command 'nrf51' is already registered
  59. Debug: 57 2 command.c:289 register_command(): command 'nrf51 mass_erase' is already registered
  60. Debug: 58 2 command.c:289 register_command(): command 'nrf51 info' is already registered
  61. Debug: 59 2 tcl.c:1305 handle_flash_bank_command(): 'nrf5' driver usage field missing
  62. Debug: 60 2 command.c:155 script_debug(): command - add_help_text nrf52_recover Mass erase and unlock nRF52 device
  63. Debug: 61 2 command.c:155 script_debug(): command - tpiu create nrf52.cpu.tpiu -dap nrf52.dap -ap-num 0x0
  64. Debug: 62 2 command.c:155 script_debug(): command - nrf52.cpu.tpiu configure -protocol uart -traceclk 32000000 -output itm.fifo -formatter off
  65. Debug: 63 2 command.c:155 script_debug(): command - nrf52.cpu.tpiu enable
  66. Debug: 64 2 arm_tpiu_swo.c:612 jim_arm_tpiu_swo_enable(): nrf52.cpu.tpiu: enable deferred
  67. Info : 65 2 server.c:298 add_service(): Listening on port 6666 for tcl connections
  68. Info : 66 2 server.c:298 add_service(): Listening on port 4444 for telnet connections
  69. Debug: 67 2 command.c:155 script_debug(): command - init
  70. Debug: 68 2 command.c:155 script_debug(): command - target init
  71. Debug: 69 2 command.c:155 script_debug(): command - target names
  72. Debug: 70 2 command.c:155 script_debug(): command - nrf52.cpu cget -event gdb-flash-erase-start
  73. Debug: 71 2 command.c:155 script_debug(): command - nrf52.cpu configure -event gdb-flash-erase-start reset init
  74. Debug: 72 2 command.c:155 script_debug(): command - nrf52.cpu cget -event gdb-flash-write-end
  75. Debug: 73 2 command.c:155 script_debug(): command - nrf52.cpu configure -event gdb-flash-write-end reset halt
  76. Debug: 74 2 command.c:155 script_debug(): command - nrf52.cpu cget -event gdb-attach
  77. Debug: 75 2 command.c:155 script_debug(): command - nrf52.cpu configure -event gdb-attach halt 1000
  78. Debug: 76 2 target.c:1657 handle_target_init_command(): Initializing targets...
  79. Debug: 77 2 semihosting_common.c:109 semihosting_common_init():
  80. Debug: 78 2 jlink.c:636 jlink_init(): Using libjaylink 0.3.1 (compiled with 0.3.1)
  81. Debug: 79 3 jlink.c:514 jaylink_log_handler(): Found device (VID:PID = 1366:1051, bus:address = 000:001)
  82. Debug: 80 5 jlink.c:514 jaylink_log_handler(): Device: USB address = 0
  83. Debug: 81 5 jlink.c:514 jaylink_log_handler(): Device: Serial number = 1050326717
  84. Debug: 82 5 jlink.c:514 jaylink_log_handler(): Allocating new device instance
  85. Debug: 83 5 jlink.c:514 jaylink_log_handler(): Found 1 USB device(s)
  86. Debug: 84 5 jlink.c:514 jaylink_log_handler(): Trying to open device (bus:address = 000:001)
  87. Debug: 85 5 jlink.c:514 jaylink_log_handler(): Using endpoint 85 (IN) and 03 (OUT)
  88. Debug: 86 5 jlink.c:514 jaylink_log_handler(): Device opened successfully
  89. Info : 94 5 jlink.c:707 jlink_init(): J-Link OB-nRF5340-NordicSemi compiled Aug 8 2023 16:16:56
  90. Info : 107 6 jlink.c:748 jlink_init(): Hardware version: 1.00
  91. Info : 120 7 jlink.c:790 jlink_init(): VTarget = 3.300 V
  92. Debug: 126 7 jlink.c:514 jaylink_log_handler(): Last read operation left 16 bytes in the buffer
  93. Debug: 136 8 jlink.c:942 jlink_reset(): TRST: 0, SRST: 0
  94. Debug: 147 12 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  95. Debug: 148 12 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  96. Debug: 155 12 adapter.c:215 adapter_khz_to_speed(): convert khz to adapter specific speed value
  97. Debug: 156 12 adapter.c:219 adapter_khz_to_speed(): have adapter set up
  98. Info : 157 12 adapter.c:179 adapter_init(): clock speed 1000 kHz
  99. Debug: 158 12 openocd.c:134 handle_init_command(): Debug Adapter init complete
  100. Debug: 159 12 command.c:155 script_debug(): command - transport init
  101. Debug: 160 12 transport.c:219 handle_transport_init(): handle_transport_init
  102. Debug: 161 12 command.c:155 script_debug(): command - dap init
  103. Debug: 162 12 arm_dap.c:97 dap_init_all(): Initializing all DAPs ...
  104. Debug: 163 12 arm_dap.c:121 dap_init_all(): DAP nrf52.cpu configured by default to use ADIv5 protocol
  105. Debug: 164 12 jlink.c:2117 jlink_swd_switch_seq(): JTAG-to-SWD
  106. Debug: 165 12 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  107. Info : 175 13 adi_v5_swd.c:370 swd_connect_single(): SWD DPIDR 0x2ba01477
  108. Debug: 176 13 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  109. Debug: 186 13 arm_adi_v5.c:679 dap_dp_init(): nrf52.dap
  110. Debug: 187 13 arm_adi_v5.c:711 dap_dp_init(): DAP: wait CDBGPWRUPACK
  111. Debug: 188 13 arm_adi_v5.h:639 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
  112. Debug: 189 13 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  113. Debug: 199 14 arm_adi_v5.c:719 dap_dp_init(): DAP: wait CSYSPWRUPACK
  114. Debug: 200 14 arm_adi_v5.h:639 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
  115. Debug: 201 14 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  116. Debug: 211 14 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  117. Debug: 221 15 openocd.c:151 handle_init_command(): Examining targets...
  118. Debug: 222 15 target.c:1845 target_call_event_callbacks(): target event 19 (examine-start) for core nrf52.cpu
  119. Debug: 223 15 arm_adi_v5.c:1095 dap_get_ap(): refcount AP#0x0 get 1
  120. Debug: 224 15 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  121. Debug: 234 15 arm_adi_v5.c:1040 dap_find_get_ap(): Found MEM-AP AHB3 at AP index: 0 (IDR=0x24770011)
  122. Debug: 235 15 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  123. Debug: 245 16 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  124. Debug: 255 17 arm_adi_v5.c:826 mem_ap_init(): MEM_AP Packed Transfers: enabled
  125. Debug: 256 17 arm_adi_v5.c:837 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
  126. Debug: 257 17 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  127. Debug: 267 17 target.c:2630 target_read_u32(): address: 0xe000ed00, value: 0x410fc241
  128. Info : 268 17 cortex_m.c:2372 cortex_m_examine(): [nrf52.cpu] Cortex-M4 r0p1 processor detected
  129. Debug: 269 17 cortex_m.c:2384 cortex_m_examine(): [nrf52.cpu] cpuid: 0x410fc241
  130. Debug: 270 17 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  131. Debug: 280 18 target.c:2630 target_read_u32(): address: 0xe000ef40, value: 0x10110021
  132. Debug: 281 18 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  133. Debug: 291 18 target.c:2630 target_read_u32(): address: 0xe000ef44, value: 0x11000011
  134. Debug: 292 18 cortex_m.c:2392 cortex_m_examine(): [nrf52.cpu] Cortex-M4 floating point feature FPv4_SP found
  135. Debug: 293 18 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  136. Debug: 303 19 target.c:2630 target_read_u32(): address: 0xe000edf0, value: 0x00030003
  137. Debug: 304 19 target.c:2718 target_write_u32(): address: 0xe000edfc, value: 0x01000000
  138. Debug: 305 19 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  139. Debug: 315 19 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  140. Debug: 325 19 target.c:2630 target_read_u32(): address: 0xe0002000, value: 0x00000261
  141. Debug: 326 19 target.c:2718 target_write_u32(): address: 0xe0002008, value: 0x00000000
  142. Debug: 327 19 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  143. Debug: 337 20 target.c:2718 target_write_u32(): address: 0xe000200c, value: 0x00000000
  144. Debug: 338 20 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  145. Debug: 348 20 target.c:2718 target_write_u32(): address: 0xe0002010, value: 0x00000000
  146. Debug: 349 20 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  147. Debug: 359 21 target.c:2718 target_write_u32(): address: 0xe0002014, value: 0x00000000
  148. Debug: 360 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  149. Debug: 370 21 target.c:2718 target_write_u32(): address: 0xe0002018, value: 0x00000000
  150. Debug: 371 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  151. Debug: 381 21 target.c:2718 target_write_u32(): address: 0xe000201c, value: 0x00000000
  152. Debug: 382 21 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  153. Debug: 392 22 target.c:2718 target_write_u32(): address: 0xe0002020, value: 0x00000000
  154. Debug: 393 22 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  155. Debug: 403 22 target.c:2718 target_write_u32(): address: 0xe0002024, value: 0x00000000
  156. Debug: 404 22 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  157. Debug: 414 22 cortex_m.c:2491 cortex_m_examine(): [nrf52.cpu] FPB fpcr 0x261, numcode 6, numlit 2
  158. Debug: 415 22 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  159. Debug: 425 23 target.c:2630 target_read_u32(): address: 0xe0001000, value: 0x40000000
  160. Debug: 426 23 cortex_m.c:2187 cortex_m_dwt_setup(): [nrf52.cpu] DWT_CTRL: 0x40000000
  161. Debug: 427 23 jlink.c:2161 jlink_swd_run_queue(): Executing 3 queued transactions
  162. Debug: 437 23 target.c:2630 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
  163. Debug: 438 23 cortex_m.c:2194 cortex_m_dwt_setup(): [nrf52.cpu] DWT_DEVARCH: 0x0
  164. Debug: 439 23 target.c:2718 target_write_u32(): address: 0xe0001028, value: 0x00000000
  165. Debug: 440 23 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  166. Debug: 450 24 target.c:2718 target_write_u32(): address: 0xe0001038, value: 0x00000000
  167. Debug: 451 24 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  168. Debug: 461 24 target.c:2718 target_write_u32(): address: 0xe0001048, value: 0x00000000
  169. Debug: 462 24 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  170. Debug: 472 24 target.c:2718 target_write_u32(): address: 0xe0001058, value: 0x00000000
  171. Debug: 473 24 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  172. Debug: 483 25 cortex_m.c:2243 cortex_m_dwt_setup(): [nrf52.cpu] DWT dwtcr 0x40000000, comp 4, watch/trigger
  173. Info : 484 25 cortex_m.c:2500 cortex_m_examine(): [nrf52.cpu] target has 6 breakpoints, 4 watchpoints
  174. Debug: 485 25 target.c:1845 target_call_event_callbacks(): target event 21 (examine-end) for core nrf52.cpu
  175. Debug: 486 25 command.c:155 script_debug(): command - flash init
  176. Debug: 487 25 tcl.c:1375 handle_flash_init_command(): Initializing flash devices...
  177. Debug: 488 25 command.c:155 script_debug(): command - nand init
  178. Debug: 489 25 tcl.c:487 handle_nand_init_command(): Initializing NAND devices...
  179. Debug: 490 25 command.c:155 script_debug(): command - pld init
  180. Debug: 491 25 pld.c:194 handle_pld_init_command(): Initializing PLDs...
  181. Debug: 492 25 command.c:155 script_debug(): command - tpiu init
  182. Debug: 493 25 arm_tpiu_swo.c:1021 jim_arm_tpiu_swo_init(): nrf52.cpu.tpiu: running enable during init
  183. Debug: 494 25 command.c:155 script_debug(): command - nrf52.cpu.tpiu enable
  184. Debug: 495 25 arm_tpiu_swo.c:632 jim_arm_tpiu_swo_enable(): SWO pin frequency not set, will be autodetected by the adapter
  185. Debug: 496 25 arm_adi_v5.c:1095 dap_get_ap(): refcount AP#0x0 get 2
  186. Debug: 497 25 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  187. Debug: 520 26 jlink.c:514 jaylink_log_handler(): Last read operation left 24 bytes in the buffer
  188. Info : 522 26 jlink.c:1382 config_trace(): Trying to auto-detect SWO frequency
  189. Info : 523 26 jlink.c:1392 config_trace(): Using SWO frequency of 1000000 Hz
  190. Debug: 528 26 jlink.c:1404 config_trace(): Using 123648 bytes device memory for trace capturing
  191. Info : 533 26 arm_tpiu_swo.c:754 jim_arm_tpiu_swo_enable(): SWO pin data rate adjusted by adapter to 1000000 Hz
  192. Debug: 534 26 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  193. Debug: 544 27 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  194. Debug: 554 27 jlink.c:2161 jlink_swd_run_queue(): Executing 4 queued transactions
  195. Debug: 564 28 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  196. Debug: 574 28 jlink.c:2161 jlink_swd_run_queue(): Executing 1 queued transactions
  197. Info : 584 29 gdb_server.c:3791 gdb_target_start(): starting gdb server for nrf52.cpu on 3333
  198. Info : 585 29 server.c:298 add_service(): Listening on port 3333 for gdb connections
  199. Debug: 878 125 jlink.c:2161 jlink_swd_run_queue(): Executing 5 queued transactions
  200. Debug: 1208 225 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  201. Debug: 1534 325 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  202. Debug: 1872 426 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  203. Debug: 2198 526 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  204. Debug: 2528 626 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
  205. Debug: 2846 727 jlink.c:2161 jlink_swd_run_queue(): Executing 2 queued transactions
Advertisement
Add Comment
Please, Sign In to add comment