Advertisement
nickn3710

openocd log output

Dec 14th, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.26 KB | None | 0 0
  1. pi@raspberrypi:~/openocd-config-files $ sudo openocd -f riscv-pi.cfg
  2. Open On-Chip Debugger 0.10.0+dev-00227-gc3c76bfa (2018-12-13-19:26)
  3. Licensed under GNU GPL v2
  4. For bug reports, read
  5. http://openocd.org/doc/doxygen/bugs.html
  6. BCM2835 GPIO config: tck = 26, tms = 21, tdi = 20, tdo = 16
  7. BCM2835 GPIO config: trst = 13
  8. trst_only separate trst_push_pull
  9. adapter speed: 1000 kHz
  10. User : 24 18 command.c:544 command_print(): debug_level: 4
  11. Debug: 25 18 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap riscv cpu -irlen 5 -expected-id 0x0000010D
  12. Debug: 26 18 command.c:143 script_debug(): command - ocd_jtag ocd_jtag newtap riscv cpu -irlen 5 -expected-id 0x0000010D
  13. Debug: 27 19 tcl.c:550 jim_newtap_cmd(): Creating New Tap, Chip: riscv, Tap: cpu, Dotted: riscv.cpu, 4 params
  14. Debug: 28 19 tcl.c:574 jim_newtap_cmd(): Processing option: -irlen
  15. Debug: 29 19 tcl.c:574 jim_newtap_cmd(): Processing option: -expected-id
  16. Debug: 30 19 core.c:1304 jtag_tap_init(): Created Tap: riscv.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x3
  17. Debug: 31 19 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target create riscv.cpu riscv -chain-position riscv.cpu
  18. Debug: 32 19 command.c:143 script_debug(): command - ocd_target ocd_target create riscv.cpu riscv -chain-position riscv.cpu
  19. Debug: 33 19 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
  20. Debug: 34 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  21. Debug: 35 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  22. Debug: 36 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  23. Debug: 37 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  24. Debug: 38 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  25. Debug: 39 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  26. Debug: 40 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  27. Debug: 41 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  28. Debug: 42 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  29. Debug: 43 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  30. Debug: 44 20 command.c:364 register_command_handler(): registering 'ocd_riscv'...
  31. Debug: 45 21 command.c:364 register_command_handler(): registering 'ocd_arm'...
  32. Debug: 46 21 command.c:364 register_command_handler(): registering 'ocd_arm'...
  33. Debug: 47 21 command.c:364 register_command_handler(): registering 'ocd_arm'...
  34. Debug: 48 21 command.c:364 register_command_handler(): registering 'ocd_arm'...
  35. Debug: 49 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  36. Debug: 50 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  37. Debug: 51 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  38. Debug: 52 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  39. Debug: 53 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  40. Debug: 54 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  41. Debug: 55 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  42. Debug: 56 21 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  43. Debug: 57 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  44. Debug: 58 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  45. Debug: 59 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  46. Debug: 60 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  47. Debug: 61 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  48. Debug: 62 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  49. Debug: 63 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  50. Debug: 64 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  51. Debug: 65 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  52. Debug: 66 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  53. Debug: 67 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  54. Debug: 68 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  55. Debug: 69 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  56. Debug: 70 22 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  57. Debug: 71 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  58. Debug: 72 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  59. Debug: 73 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  60. Debug: 74 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  61. Debug: 75 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  62. Debug: 76 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  63. Debug: 77 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  64. Debug: 78 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  65. Debug: 79 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  66. Debug: 80 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  67. Debug: 81 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  68. Debug: 82 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  69. Debug: 83 23 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  70. Debug: 84 24 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  71. Debug: 85 24 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  72. Debug: 86 24 command.c:364 register_command_handler(): registering 'ocd_riscv.cpu'...
  73. Debug: 87 25 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu configure -work-area-phys 0x80000000 -work-area-size 10000
  74. Debug: 88 25 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu configure -work-area-phys 0x80000000 -work-area-size 10000
  75. Debug: 89 25 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
  76. Debug: 90 25 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
  77. Info : 91 25 server.c:311 add_service(): Listening on port 6666 for tcl connections
  78. Info : 92 25 server.c:311 add_service(): Listening on port 4444 for telnet connections
  79. Debug: 93 25 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_init
  80. Debug: 94 26 command.c:143 script_debug(): command - init ocd_init
  81. Debug: 96 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target init
  82. Debug: 97 26 command.c:143 script_debug(): command - ocd_target ocd_target init
  83. Debug: 99 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_target names
  84. Debug: 100 26 command.c:143 script_debug(): command - ocd_target ocd_target names
  85. Debug: 101 26 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu cget -event gdb-flash-erase-start
  86. Debug: 102 26 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu cget -event gdb-flash-erase-start
  87. Debug: 103 27 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu configure -event gdb-flash-erase-start reset init
  88. Debug: 104 27 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu configure -event gdb-flash-erase-start reset init
  89. Debug: 105 27 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu cget -event gdb-flash-write-end
  90. Debug: 106 27 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu cget -event gdb-flash-write-end
  91. Debug: 107 27 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu configure -event gdb-flash-write-end reset halt
  92. Debug: 108 28 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu configure -event gdb-flash-write-end reset halt
  93. Debug: 109 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu cget -event gdb-attach
  94. Debug: 110 28 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu cget -event gdb-attach
  95. Debug: 111 28 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_riscv.cpu configure -event gdb-attach halt
  96. Debug: 112 28 command.c:143 script_debug(): command - ocd_riscv.cpu ocd_riscv.cpu configure -event gdb-attach halt
  97. Debug: 113 29 target.c:1393 handle_target_init_command(): Initializing targets...
  98. Debug: 114 29 riscv.c:255 riscv_init_target(): riscv_init_target()
  99. Debug: 115 33 semihosting_common.c:97 semihosting_common_init():
  100. Debug: 116 33 command.c:364 register_command_handler(): registering 'ocd_target_request'...
  101. Debug: 117 33 command.c:364 register_command_handler(): registering 'ocd_trace'...
  102. Debug: 118 33 command.c:364 register_command_handler(): registering 'ocd_trace'...
  103. Debug: 119 33 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
  104. Debug: 120 33 command.c:364 register_command_handler(): registering 'ocd_fast_load'...
  105. Debug: 121 33 command.c:364 register_command_handler(): registering 'ocd_profile'...
  106. Debug: 122 34 command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
  107. Debug: 123 34 command.c:364 register_command_handler(): registering 'ocd_reg'...
  108. Debug: 124 34 command.c:364 register_command_handler(): registering 'ocd_poll'...
  109. Debug: 125 34 command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
  110. Debug: 126 34 command.c:364 register_command_handler(): registering 'ocd_halt'...
  111. Debug: 127 34 command.c:364 register_command_handler(): registering 'ocd_resume'...
  112. Debug: 128 34 command.c:364 register_command_handler(): registering 'ocd_reset'...
  113. Debug: 129 34 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
  114. Debug: 130 35 command.c:364 register_command_handler(): registering 'ocd_step'...
  115. Debug: 131 35 command.c:364 register_command_handler(): registering 'ocd_mdd'...
  116. Debug: 132 35 command.c:364 register_command_handler(): registering 'ocd_mdw'...
  117. Debug: 133 35 command.c:364 register_command_handler(): registering 'ocd_mdh'...
  118. Debug: 134 35 command.c:364 register_command_handler(): registering 'ocd_mdb'...
  119. Debug: 135 35 command.c:364 register_command_handler(): registering 'ocd_mwd'...
  120. Debug: 136 35 command.c:364 register_command_handler(): registering 'ocd_mww'...
  121. Debug: 137 35 command.c:364 register_command_handler(): registering 'ocd_mwh'...
  122. Debug: 138 35 command.c:364 register_command_handler(): registering 'ocd_mwb'...
  123. Debug: 139 36 command.c:364 register_command_handler(): registering 'ocd_bp'...
  124. Debug: 140 36 command.c:364 register_command_handler(): registering 'ocd_rbp'...
  125. Debug: 141 36 command.c:364 register_command_handler(): registering 'ocd_wp'...
  126. Debug: 142 36 command.c:364 register_command_handler(): registering 'ocd_rwp'...
  127. Debug: 143 36 command.c:364 register_command_handler(): registering 'ocd_load_image'...
  128. Debug: 144 36 command.c:364 register_command_handler(): registering 'ocd_dump_image'...
  129. Debug: 145 37 command.c:364 register_command_handler(): registering 'ocd_verify_image_checksum'...
  130. Debug: 146 37 command.c:364 register_command_handler(): registering 'ocd_verify_image'...
  131. Debug: 147 37 command.c:364 register_command_handler(): registering 'ocd_test_image'...
  132. Debug: 148 37 command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
  133. Debug: 149 37 command.c:364 register_command_handler(): registering 'ocd_ps'...
  134. Debug: 150 37 command.c:364 register_command_handler(): registering 'ocd_test_mem_access'...
  135. Info : 151 37 bcm2835gpio.c:434 bcm2835gpio_init(): BCM2835 GPIO JTAG/SWD bitbang driver
  136. Info : 152 37 bcm2835gpio.c:440 bcm2835gpio_init(): JTAG only mode enabled (specify swclk and swdio gpio to add SWD mode)
  137. Debug: 153 37 bcm2835gpio.c:509 bcm2835gpio_init(): saved pinmux settings: tck 0 tms 0 tdi 0 tdo 0 trst 0 srst 0
  138. Debug: 154 37 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value
  139. Debug: 155 37 core.c:1615 adapter_khz_to_speed(): have interface set up
  140. Debug: 156 37 core.c:1612 adapter_khz_to_speed(): convert khz to interface specific speed value
  141. Debug: 157 37 core.c:1615 adapter_khz_to_speed(): have interface set up
  142. Info : 158 38 core.c:1394 adapter_init(): clock speed 1001 kHz
  143. Debug: 159 38 openocd.c:142 handle_init_command(): Debug Adapter init complete
  144. Debug: 160 38 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_transport init
  145. Debug: 161 38 command.c:143 script_debug(): command - ocd_transport ocd_transport init
  146. Debug: 163 38 transport.c:239 handle_transport_init(): handle_transport_init
  147. Debug: 164 38 core.c:729 jtag_add_reset(): SRST line released
  148. Debug: 165 38 core.c:753 jtag_add_reset(): TRST line released
  149. Debug: 166 38 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
  150. Debug: 167 38 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
  151. Debug: 168 38 command.c:143 script_debug(): command - ocd_jtag ocd_jtag arp_init
  152. Debug: 169 38 core.c:1407 jtag_init_inner(): Init JTAG chain
  153. Debug: 170 38 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
  154. Debug: 171 38 core.c:1060 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
  155. Debug: 172 38 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
  156. Info : 173 39 core.c:959 jtag_examine_chain_display(): JTAG tap: riscv.cpu tap/device found: 0x0000010d (mfg: 0x086 (Univ. of NC), part: 0x0000, ver: 0x0)
  157. Debug: 174 39 core.c:1304 jtag_tap_init(): Created Tap: auto0.tap @ abs position 1, irlen 0, capture: 0x1 mask: 0x3
  158. Info : 175 39 core.c:1110 jtag_examine_chain(): TAP auto0.tap does not have IDCODE
  159. Debug: 176 39 core.c:1190 jtag_validate_ircapture(): IR capture validation scan
  160. Debug: 177 39 core.c:1248 jtag_validate_ircapture(): riscv.cpu: IR capture 0x15
  161. Warn : 178 39 core.c:1227 jtag_validate_ircapture(): AUTO auto0.tap - use "jtag newtap auto0 tap -irlen 2 -expected-id 0x00000000"
  162. Error: 179 40 core.c:1242 jtag_validate_ircapture(): auto0.tap: IR capture error; saw 0x0003 not 0x0001
  163. Debug: 180 40 core.c:327 jtag_call_event_callbacks(): jtag event: TAP reset
  164. Warn : 181 40 core.c:1475 jtag_init_inner(): Bypassing JTAG setup events due to errors
  165. Debug: 182 40 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_dap init
  166. Debug: 183 40 command.c:143 script_debug(): command - ocd_dap ocd_dap init
  167. Debug: 185 40 arm_dap.c:105 dap_init_all(): Initializing all DAPs ...
  168. Debug: 186 40 openocd.c:159 handle_init_command(): Examining targets...
  169. Debug: 187 40 target.c:1579 target_call_event_callbacks(): target event 17 (examine-start)
  170. Debug: 188 40 riscv.c:781 riscv_examine(): riscv_examine()
  171. Debug: 189 40 riscv.c:227 dtmcontrol_scan(): DTMCONTROL: 0x0 -> 0x0
  172. Debug: 190 40 riscv.c:791 riscv_examine(): dtmcontrol=0x0
  173. Debug: 191 40 riscv.c:793 riscv_examine(): version=0x0
  174. Debug: 192 40 riscv-011.c:1381 init_target(): init
  175. Debug: 193 40 riscv.c:2319 riscv_init_registers(): create register cache for 4162 registers
  176. Debug: 194 44 riscv-011.c:304 dtmcontrol_scan(): DTMCONTROL: 0x0 -> 0x0
  177. Debug: 195 44 riscv-011.c:1465 examine(): dtmcontrol=0x0
  178. Debug: 196 44 riscv-011.c:1466 examine(): addrbits=0
  179. Debug: 197 44 riscv-011.c:1467 examine(): version=0
  180. Debug: 198 44 riscv-011.c:1468 examine(): idle=0
  181. Error: 199 44 riscv-011.c:1470 examine(): dtmcontrol is 0. Check JTAG connectivity/board power.
  182. Debug: 200 44 openocd.c:161 handle_init_command(): target examination failed
  183. Debug: 201 45 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_flash init
  184. Debug: 202 45 command.c:143 script_debug(): command - ocd_flash ocd_flash init
  185. Debug: 204 45 tcl.c:1216 handle_flash_init_command(): Initializing flash devices...
  186. Debug: 205 45 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_mflash init
  187. Debug: 206 45 command.c:143 script_debug(): command - ocd_mflash ocd_mflash init
  188. Debug: 208 45 mflash.c:1377 handle_mflash_init_command(): Initializing mflash devices...
  189. Debug: 209 45 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_nand init
  190. Debug: 210 46 command.c:143 script_debug(): command - ocd_nand ocd_nand init
  191. Debug: 212 46 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
  192. Debug: 213 46 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_pld init
  193. Debug: 214 46 command.c:143 script_debug(): command - ocd_pld ocd_pld init
  194. Debug: 216 46 pld.c:205 handle_pld_init_command(): Initializing PLDs...
  195. Debug: 217 46 gdb_server.c:3397 gdb_target_start(): starting gdb server for riscv.cpu on 3333
  196. Info : 218 46 server.c:311 add_service(): Listening on port 3333 for gdb connections
  197. ^CDebug: 219 3321 server.c:609 sig_handler(): Terminating on Signal 2
  198. Debug: 220 3321 command.c:143 script_debug(): command - ocd_command ocd_command type ocd_shutdown
  199. Debug: 221 3322 command.c:143 script_debug(): command - shutdown ocd_shutdown
  200. User : 223 3322 server.c:740 handle_shutdown_command(): shutdown command invoked
  201. Debug: 224 3322 riscv.c:276 riscv_deinit_target(): riscv_deinit_target()
  202. Debug: 225 3322 riscv-011.c:1399 deinit_target(): riscv_deinit_target()
  203. Debug: 226 3323 target.c:2003 target_free_all_working_areas_restore(): freeing all working areas
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement