Advertisement
Guest User

Untitled

a guest
Aug 31st, 2022
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.33 KB | None | 0 0
  1. /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin/openocd -d3 -s /home/<...>/dev/zephyrproject/zephyr/<...>/boards/arm/<...>/support -s /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts -f /home/<...>/dev/zephyrproject/zephyr/<...>/boards/arm/<...>/support/openocd.cfg -c init -c targets -c 'reset halt' -c 'flash write_image erase /home/<...>/dev/zephyrproject/zephyr/<...>/build/zephyr/zephyr.hex' -c 'reset halt' -c 'verify_image /home/<...>/dev/zephyrproject/zephyr/<...>/build/zephyr/zephyr.hex' -c 'reset run' -c shutdown
  2. Open On-Chip Debugger 0.11.0+dev-00724-g42b6471c1 (2022-08-17-18:23)
  3. Licensed under GNU GPL v2
  4. For bug reports, read
  5. http://openocd.org/doc/doxygen/bugs.html
  6. User : 3 2 options.c:63 configuration_output_handler(): debug_level: 3
  7. User : 4 2 options.c:63 configuration_output_handler():
  8. Debug: 5 2 configuration.c:44 add_script_search_dir(): adding /home/<...>/dev/zephyrproject/zephyr/<...>/boards/arm/<...>/support
  9. Debug: 6 2 configuration.c:44 add_script_search_dir(): adding /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts
  10. Debug: 7 2 options.c:244 add_default_dirs(): bindir=/opt/zephyr-sdk/0.9/sysroots/x86_64-pokysdk-linux/usr/bin
  11. Debug: 8 2 options.c:245 add_default_dirs(): pkgdatadir=/opt/zephyr-sdk/0.9/sysroots/x86_64-pokysdk-linux/usr/share/openocd
  12. Debug: 9 2 options.c:246 add_default_dirs(): exepath=/home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin
  13. Debug: 10 2 options.c:247 add_default_dirs(): bin2data=../share/openocd
  14. Debug: 11 2 configuration.c:44 add_script_search_dir(): adding /home/<...>/.config/openocd
  15. Debug: 12 2 configuration.c:44 add_script_search_dir(): adding /home/<...>/.openocd
  16. Debug: 13 2 configuration.c:44 add_script_search_dir(): adding /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin/../share/openocd/site
  17. Debug: 14 2 configuration.c:44 add_script_search_dir(): adding /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/bin/../share/openocd/scripts
  18. Debug: 15 2 command.c:166 script_debug(): command - ocd_find /home/<...>/dev/zephyrproject/zephyr/<...>/boards/arm/<...>/support/openocd.cfg
  19. Debug: 16 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyrproject/zephyr/<...>/boards/arm/<...>/support/openocd.cfg
  20. Debug: 17 2 command.c:166 script_debug(): command - ocd_find board/ti_cc3220sf_launchpad.cfg
  21. Debug: 18 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/board/ti_cc3220sf_launchpad.cfg
  22. Debug: 19 2 command.c:166 script_debug(): command - ocd_find interface/xds110.cfg
  23. Debug: 20 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/interface/xds110.cfg
  24. Debug: 21 2 command.c:166 script_debug(): command - adapter driver xds110
  25. Debug: 22 2 command.c:166 script_debug(): command - adapter speed 8500
  26. Debug: 23 2 adapter.c:180 adapter_config_khz(): handle adapter khz
  27. Debug: 24 2 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
  28. Debug: 25 2 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
  29. Debug: 26 2 command.c:166 script_debug(): command - transport select swd
  30. Debug: 27 2 command.c:166 script_debug(): command - ocd_find target/ti_cc3220sf.cfg
  31. Debug: 28 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/ti_cc3220sf.cfg
  32. Debug: 29 2 command.c:166 script_debug(): command - ocd_find target/swj-dp.tcl
  33. Debug: 30 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/swj-dp.tcl
  34. Debug: 31 2 command.c:166 script_debug(): command - transport select
  35. Debug: 32 2 command.c:166 script_debug(): command - ocd_find target/icepick.cfg
  36. Debug: 33 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/icepick.cfg
  37. Debug: 34 2 command.c:166 script_debug(): command - ocd_find target/ti_cc32xx.cfg
  38. Debug: 35 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/ti_cc32xx.cfg
  39. Debug: 36 2 command.c:166 script_debug(): command - ocd_find target/swj-dp.tcl
  40. Debug: 37 2 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/swj-dp.tcl
  41. Debug: 38 2 command.c:166 script_debug(): command - transport select
  42. Debug: 39 2 command.c:166 script_debug(): command - ocd_find target/icepick.cfg
  43. Debug: 40 3 configuration.c:99 find_file(): found /home/<...>/dev/zephyr-sdk-0.15.0/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/icepick.cfg
  44. Debug: 41 3 command.c:166 script_debug(): command - transport select
  45. Debug: 42 3 command.c:166 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  46. Debug: 43 3 command.c:166 script_debug(): command - transport select
  47. Debug: 44 3 command.c:166 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  48. Debug: 45 3 command.c:166 script_debug(): command - transport select
  49. Debug: 46 3 command.c:166 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  50. Debug: 47 3 command.c:166 script_debug(): command - transport select
  51. Debug: 48 3 command.c:166 script_debug(): command - expr [ string first "swd" $_TRANSPORT ] != -1
  52. Debug: 49 3 command.c:166 script_debug(): command - swd newdap cc32xx cpu -expected-id 0x2BA01477
  53. Debug: 50 3 tcl.c:568 jim_newtap_cmd(): Creating New Tap, Chip: cc32xx, Tap: cpu, Dotted: cc32xx.cpu, 2 params
  54. Debug: 51 3 core.c:1468 jtag_tap_init(): Created Tap: cc32xx.cpu @ abs position 0, irlen 0, capture: 0x0 mask: 0x0
  55. Debug: 52 3 command.c:166 script_debug(): command - transport select
  56. Debug: 53 3 command.c:166 script_debug(): command - expr [ string first "jtag" $_TRANSPORT ] != -1
  57. Debug: 54 3 command.c:166 script_debug(): command - dap create cc32xx.dap -chain-position cc32xx.cpu
  58. Debug: 55 3 command.c:166 script_debug(): command - target create cc32xx.cpu cortex_m -dap cc32xx.dap
  59. Debug: 56 3 command.c:300 register_command(): command 'tpiu' is already registered
  60. Debug: 57 3 command.c:300 register_command(): command 'rtt' is already registered
  61. Debug: 58 3 command.c:166 script_debug(): command - cc32xx.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 -work-area-backup 0
  62. Debug: 59 3 target.c:2209 target_free_all_working_areas_restore(): freeing all working areas
  63. Debug: 60 3 target.c:2209 target_free_all_working_areas_restore(): freeing all working areas
  64. Debug: 61 3 target.c:2209 target_free_all_working_areas_restore(): freeing all working areas
  65. Debug: 62 3 command.c:166 script_debug(): command - flash bank cc32xx.flash cc3220sf 0 0 0 0 cc32xx.cpu
  66. Debug: 63 3 tcl.c:1316 handle_flash_bank_command(): 'cc3220sf' driver usage field missing
  67. User : 64 3 options.c:63 configuration_output_handler(): ocd_process_reset_innerUser : 65 3 options.c:63 configuration_output_handler():
  68. Debug: 66 3 command.c:166 script_debug(): command - init
  69. Debug: 67 3 command.c:166 script_debug(): command - target init
  70. Debug: 68 3 command.c:166 script_debug(): command - target names
  71. Debug: 69 3 command.c:166 script_debug(): command - cc32xx.cpu cget -event gdb-flash-erase-start
  72. Debug: 70 3 command.c:166 script_debug(): command - cc32xx.cpu configure -event gdb-flash-erase-start reset init
  73. Debug: 71 3 command.c:166 script_debug(): command - cc32xx.cpu cget -event gdb-flash-write-end
  74. Debug: 72 3 command.c:166 script_debug(): command - cc32xx.cpu configure -event gdb-flash-write-end reset halt
  75. Debug: 73 3 command.c:166 script_debug(): command - cc32xx.cpu cget -event gdb-attach
  76. Debug: 74 3 command.c:166 script_debug(): command - cc32xx.cpu configure -event gdb-attach halt 1000
  77. Debug: 75 3 target.c:1666 handle_target_init_command(): Initializing targets...
  78. Debug: 76 3 semihosting_common.c:130 semihosting_common_init():
  79. Info : 77 4 xds110.c:442 usb_connect(): XDS110: connected
  80. Info : 78 107 xds110.c:1386 xds110_show_info(): XDS110: vid/pid = 0451/bef3
  81. Info : 79 107 xds110.c:1387 xds110_show_info(): XDS110: firmware version = 3.0.0.18
  82. Info : 80 107 xds110.c:1392 xds110_show_info(): XDS110: hardware version = 0x0027
  83. Info : 81 107 xds110.c:1396 xds110_show_info(): XDS110: connected to target via SWD
  84. Info : 82 107 xds110.c:1397 xds110_show_info(): XDS110: SWCLK set to 2500 kHz
  85. Debug: 83 107 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
  86. Debug: 84 107 adapter.c:148 adapter_khz_to_speed(): have adapter set up
  87. Debug: 85 107 adapter.c:144 adapter_khz_to_speed(): convert khz to adapter specific speed value
  88. Debug: 86 107 adapter.c:148 adapter_khz_to_speed(): have adapter set up
  89. Info : 87 107 adapter.c:108 adapter_init(): clock speed 8500 kHz
  90. Debug: 88 107 openocd.c:143 handle_init_command(): Debug Adapter init complete
  91. Debug: 89 107 command.c:166 script_debug(): command - transport init
  92. Debug: 90 107 transport.c:230 handle_transport_init(): handle_transport_init
  93. Debug: 91 107 command.c:166 script_debug(): command - dap init
  94. Debug: 92 107 arm_dap.c:107 dap_init_all(): Initializing all DAPs ...
  95. Debug: 93 107 xds110.c:1121 xds110_swd_switch_seq(): JTAG-to-SWD
  96. Info : 94 107 adi_v5_swd.c:346 swd_connect_single(): SWD DPIDR 0x2ba01477
  97. Debug: 95 107 arm_adi_v5.c:670 dap_dp_init(): cc32xx.dap
  98. Debug: 96 107 arm_adi_v5.c:702 dap_dp_init(): DAP: wait CDBGPWRUPACK
  99. Debug: 97 107 arm_adi_v5.h:569 dap_dp_poll_register(): DAP: poll 4, mask 0x20000000, value 0x20000000
  100. Debug: 98 108 arm_adi_v5.c:710 dap_dp_init(): DAP: wait CSYSPWRUPACK
  101. Debug: 99 108 arm_adi_v5.h:569 dap_dp_poll_register(): DAP: poll 4, mask 0x80000000, value 0x80000000
  102. Debug: 100 108 xds110.c:1353 xds110_swd_queue_cmd(): XDS110: refusing to enable sticky overrun detection
  103. Debug: 101 108 openocd.c:160 handle_init_command(): Examining targets...
  104. Debug: 102 108 target.c:1852 target_call_event_callbacks(): target event 19 (examine-start) for core cc32xx.cpu
  105. Debug: 103 108 arm_adi_v5.c:992 dap_find_ap(): Found MEM-AP AHB3 at AP index: 0 (IDR=0x24770011)
  106. Debug: 104 108 arm_adi_v5.c:816 mem_ap_init(): MEM_AP Packed Transfers: enabled
  107. Debug: 105 108 arm_adi_v5.c:827 mem_ap_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0
  108. Debug: 106 109 target.c:2638 target_read_u32(): address: 0xe000ed00, value: 0x410fc241
  109. Info : 107 109 cortex_m.c:2325 cortex_m_examine(): [cc32xx.cpu] Cortex-M4 r0p1 processor detected
  110. Debug: 108 109 cortex_m.c:2340 cortex_m_examine(): [cc32xx.cpu] cpuid: 0x410fc241
  111. Debug: 109 109 target.c:2638 target_read_u32(): address: 0xe000ef40, value: 0x00000000
  112. Debug: 110 109 target.c:2638 target_read_u32(): address: 0xe000ef44, value: 0x00000000
  113. Debug: 111 109 target.c:2638 target_read_u32(): address: 0xe000edf0, value: 0x00030003
  114. Debug: 112 109 target.c:2726 target_write_u32(): address: 0xe000edfc, value: 0x01000000
  115. Debug: 113 109 target.c:2638 target_read_u32(): address: 0xe0002000, value: 0x00000261
  116. Debug: 114 109 target.c:2726 target_write_u32(): address: 0xe0002008, value: 0x00000000
  117. Debug: 115 110 target.c:2726 target_write_u32(): address: 0xe000200c, value: 0x00000000
  118. Debug: 116 110 target.c:2726 target_write_u32(): address: 0xe0002010, value: 0x00000000
  119. Debug: 117 110 target.c:2726 target_write_u32(): address: 0xe0002014, value: 0x00000000
  120. Debug: 118 110 target.c:2726 target_write_u32(): address: 0xe0002018, value: 0x00000000
  121. Debug: 119 110 target.c:2726 target_write_u32(): address: 0xe000201c, value: 0x00000000
  122. Debug: 120 110 target.c:2726 target_write_u32(): address: 0xe0002020, value: 0x00000000
  123. Debug: 121 110 target.c:2726 target_write_u32(): address: 0xe0002024, value: 0x00000000
  124. Debug: 122 111 cortex_m.c:2430 cortex_m_examine(): [cc32xx.cpu] FPB fpcr 0x261, numcode 6, numlit 2
  125. Debug: 123 111 target.c:2638 target_read_u32(): address: 0xe0001000, value: 0x40000000
  126. Debug: 124 111 cortex_m.c:2165 cortex_m_dwt_setup(): [cc32xx.cpu] DWT_CTRL: 0x40000000
  127. Debug: 125 111 target.c:2638 target_read_u32(): address: 0xe0001fbc, value: 0x00000000
  128. Debug: 126 111 cortex_m.c:2172 cortex_m_dwt_setup(): [cc32xx.cpu] DWT_DEVARCH: 0x0
  129. Debug: 127 111 target.c:2726 target_write_u32(): address: 0xe0001028, value: 0x00000000
  130. Debug: 128 111 target.c:2726 target_write_u32(): address: 0xe0001038, value: 0x00000000
  131. Debug: 129 111 target.c:2726 target_write_u32(): address: 0xe0001048, value: 0x00000000
  132. Debug: 130 111 target.c:2726 target_write_u32(): address: 0xe0001058, value: 0x00000000
  133. Debug: 131 111 cortex_m.c:2219 cortex_m_dwt_setup(): [cc32xx.cpu] DWT dwtcr 0x40000000, comp 4, watch/trigger
  134. Info : 132 111 cortex_m.c:2440 cortex_m_examine(): [cc32xx.cpu] target has 6 breakpoints, 4 watchpoints
  135. Debug: 133 111 target.c:1852 target_call_event_callbacks(): target event 21 (examine-end) for core cc32xx.cpu
  136. Debug: 134 112 command.c:166 script_debug(): command - flash init
  137. Debug: 135 112 tcl.c:1386 handle_flash_init_command(): Initializing flash devices...
  138. Debug: 136 112 command.c:166 script_debug(): command - nand init
  139. Debug: 137 112 tcl.c:498 handle_nand_init_command(): Initializing NAND devices...
  140. Debug: 138 112 command.c:166 script_debug(): command - pld init
  141. Debug: 139 112 pld.c:205 handle_pld_init_command(): Initializing PLDs...
  142. Debug: 140 112 command.c:166 script_debug(): command - tpiu init
  143. Info : 141 112 gdb_server.c:3788 gdb_target_start(): starting gdb server for cc32xx.cpu on 3333
  144. Info : 142 112 server.c:308 add_service(): Listening on port 3333 for gdb connections
  145. Debug: 143 112 command.c:166 script_debug(): command - targets
  146. User : 144 112 options.c:63 configuration_output_handler(): TargetName Type Endian TapName State
  147. -- ------------------ ---------- ------ ------------------ ------------
  148. 0* cc32xx.cpu cortex_m little cc32xx.cpu halted
  149. User : 145 112 options.c:63 configuration_output_handler():
  150. Debug: 146 112 command.c:166 script_debug(): command - reset halt
  151. Debug: 147 113 target.c:1871 target_call_reset_callbacks(): target reset 2 (halt)
  152. Debug: 148 113 command.c:166 script_debug(): command - expr [catch {ocd_process_reset_inner $MODE} result] == 0
  153. Debug: 149 113 command.c:166 script_debug(): command - soft_reset_halt
  154. User : 150 113 target.c:3341 handle_soft_reset_halt_command(): requesting target halt and executing a soft reset
  155. Debug: 151 113 cortex_m.c:1032 cortex_m_soft_reset_halt(): [cc32xx.cpu] soft_reset_halt is discouraged, please use 'reset halt' instead.
  156. Debug: 152 113 cortex_m.c:1069 cortex_m_soft_reset_halt(): [cc32xx.cpu] system reset-halted, DHCSR 0x02030003, DFSR 0x00000008
  157. Debug: 153 113 command.c:166 script_debug(): command - read_memory 0x01000800 32 2
  158. Debug: 154 114 command.c:166 script_debug(): command - reg msp 0x200050a0
  159. Debug: 155 114 target.c:3100 handle_reg_command(): -
  160. Error: 156 114 target.c:3210 handle_reg_command(): Could not write to register 'msp'
  161. Debug: 157 114 command.c:555 run_command(): Command 'reg' failed with error code -304
  162. Debug: 158 114 command.c:555 run_command(): Command 'reset' failed with error code -4
  163. User : 159 114 command.c:619 command_run_line():
  164. Debug: 160 114 target.c:2209 target_free_all_working_areas_restore(): freeing all working areas
  165. Debug: 161 114 xds110.c:1138 xds110_swd_switch_seq(): SWD-to-JTAG
  166. Info : 162 216 xds110.c:462 usb_disconnect(): XDS110: disconnected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement