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