Created
March 28, 2015 17:02
-
-
Save jitomesky/6dceade5b95119c939ab to your computer and use it in GitHub Desktop.
RasPi2 openocd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ openocd -f interface/olimex-arm-usb-tiny-h.cfg -f rpi2.cfg --debug | |
Open On-Chip Debugger 0.9.0-dev-00357-g09ca5af (2015-03-29-01:00) | |
Licensed under GNU GPL v2 | |
For bug reports, read | |
http://openocd.sourceforge.net/doc/doxygen/bugs.html | |
User : 13 8 command.c:546 command_print(): debug_level: 3 | |
Debug: 14 8 options.c:98 add_default_dirs(): bindir=/usr/local/bin | |
Debug: 15 8 options.c:99 add_default_dirs(): pkgdatadir=/usr/local/share/openocd | |
Debug: 16 8 options.c:100 add_default_dirs(): run_prefix= | |
Debug: 17 8 configuration.c:44 add_script_search_dir(): adding /Users/tnishinaga/.openocd | |
Debug: 18 8 configuration.c:44 add_script_search_dir(): adding /usr/local/share/openocd/site | |
Debug: 19 8 configuration.c:44 add_script_search_dir(): adding /usr/local/share/openocd/scripts | |
Debug: 20 10 configuration.c:84 find_file(): found /usr/local/share/openocd/scripts/interface/olimex-arm-usb-tiny-h.cfg | |
Debug: 21 10 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232 | |
Debug: 22 10 command.c:145 script_debug(): command - interface ocd_interface ft2232 | |
Debug: 24 10 command.c:366 register_command_handler(): registering 'ocd_ft2232_device_desc'... | |
Debug: 25 10 command.c:366 register_command_handler(): registering 'ocd_ft2232_serial'... | |
Debug: 26 24 command.c:366 register_command_handler(): registering 'ocd_ft2232_layout'... | |
Debug: 27 24 command.c:366 register_command_handler(): registering 'ocd_ft2232_vid_pid'... | |
Debug: 28 24 command.c:366 register_command_handler(): registering 'ocd_ft2232_latency'... | |
Debug: 29 24 command.c:366 register_command_handler(): registering 'ocd_ft2232_channel'... | |
Info : 30 24 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag' | |
Debug: 31 25 command.c:366 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... | |
Debug: 32 25 command.c:366 register_command_handler(): registering 'ocd_jtag_rclk'... | |
Debug: 33 25 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... | |
Debug: 34 25 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... | |
Debug: 35 25 command.c:366 register_command_handler(): registering 'ocd_scan_chain'... | |
Debug: 36 25 command.c:366 register_command_handler(): registering 'ocd_jtag_reset'... | |
Debug: 37 25 command.c:366 register_command_handler(): registering 'ocd_runtest'... | |
Debug: 38 25 command.c:366 register_command_handler(): registering 'ocd_irscan'... | |
Debug: 39 25 command.c:366 register_command_handler(): registering 'ocd_verify_ircapture'... | |
Debug: 40 25 command.c:366 register_command_handler(): registering 'ocd_verify_jtag'... | |
Debug: 41 25 command.c:366 register_command_handler(): registering 'ocd_tms_sequence'... | |
Debug: 42 25 command.c:366 register_command_handler(): registering 'ocd_wait_srst_deassert'... | |
Debug: 43 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 44 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 45 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 46 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 47 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 48 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 49 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 50 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 51 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 52 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 53 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 54 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 55 25 command.c:366 register_command_handler(): registering 'ocd_jtag'... | |
Debug: 56 25 command.c:366 register_command_handler(): registering 'ocd_svf'... | |
Debug: 57 25 command.c:366 register_command_handler(): registering 'ocd_xsvf'... | |
Debug: 58 25 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Olimex OpenOCD JTAG ARM-USB-TINY-H | |
Debug: 59 25 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Olimex OpenOCD JTAG ARM-USB-TINY-H | |
Debug: 61 25 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout olimex-jtag | |
Debug: 62 25 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout olimex-jtag | |
Debug: 64 25 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x15ba 0x002a | |
Debug: 65 25 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x15ba 0x002a | |
Debug: 67 26 configuration.c:84 find_file(): found rpi2.cfg | |
Debug: 68 26 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000 | |
Debug: 69 26 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000 | |
Debug: 71 26 core.c:1623 jtag_config_khz(): handle jtag khz | |
Debug: 72 26 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value | |
Debug: 73 26 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value | |
User : 74 26 command.c:546 command_print(): adapter speed: 1000 kHz | |
Debug: 75 26 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 400 | |
Debug: 76 26 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 400 | |
User : 78 26 command.c:546 command_print(): adapter_nsrst_delay: 400 | |
Debug: 79 26 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config none | |
Debug: 80 26 command.c:145 script_debug(): command - reset_config ocd_reset_config none | |
User : 82 26 command.c:546 command_print(): none separate | |
Debug: 83 26 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap rpi2 m3_dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4770011 -disable | |
Debug: 84 26 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap rpi2 m3_dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4770011 -disable | |
Debug: 85 26 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: rpi2, Tap: m3_dap, Dotted: rpi2.m3_dap, 9 params | |
Debug: 86 27 tcl.c:578 jim_newtap_cmd(): Processing option: -irlen | |
Debug: 87 27 tcl.c:578 jim_newtap_cmd(): Processing option: -ircapture | |
Debug: 88 27 tcl.c:578 jim_newtap_cmd(): Processing option: -irmask | |
Debug: 89 27 tcl.c:578 jim_newtap_cmd(): Processing option: -expected-id | |
Debug: 90 27 tcl.c:578 jim_newtap_cmd(): Processing option: -disable | |
Debug: 91 27 core.c:1296 jtag_tap_init(): Created Tap: rpi2.m3_dap @ abs position 0, irlen 4, capture: 0x1 mask: 0xf | |
Debug: 92 27 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap rpi2 dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4ba00477 | |
Debug: 93 27 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap rpi2 dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4ba00477 | |
Debug: 94 27 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: rpi2, Tap: dap, Dotted: rpi2.dap, 8 params | |
Debug: 95 27 tcl.c:578 jim_newtap_cmd(): Processing option: -irlen | |
Debug: 96 27 tcl.c:578 jim_newtap_cmd(): Processing option: -ircapture | |
Debug: 97 27 tcl.c:578 jim_newtap_cmd(): Processing option: -irmask | |
Debug: 98 27 tcl.c:578 jim_newtap_cmd(): Processing option: -expected-id | |
Debug: 99 27 core.c:1296 jtag_tap_init(): Created Tap: rpi2.dap @ abs position 1, irlen 4, capture: 0x1 mask: 0xf | |
Debug: 100 27 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create rpi2.cpu.0 cortex_a -chain-position rpi2.dap -coreid 0 | |
Debug: 101 27 command.c:145 script_debug(): command - ocd_target ocd_target create rpi2.cpu.0 cortex_a -chain-position rpi2.dap -coreid 0 | |
Debug: 102 27 target.c:1837 target_free_all_working_areas_restore(): freeing all working areas | |
Debug: 103 27 command.c:366 register_command_handler(): registering 'ocd_arm'... | |
Debug: 104 27 command.c:366 register_command_handler(): registering 'ocd_arm'... | |
Debug: 105 27 command.c:366 register_command_handler(): registering 'ocd_arm'... | |
Debug: 106 27 command.c:366 register_command_handler(): registering 'ocd_arm'... | |
Debug: 107 27 command.c:366 register_command_handler(): registering 'ocd_arm'... | |
Debug: 108 27 command.c:366 register_command_handler(): registering 'ocd_arm'... | |
Debug: 109 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 110 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 111 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 112 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 113 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 114 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 115 27 command.c:366 register_command_handler(): registering 'ocd_dap'... | |
Debug: 116 27 command.c:366 register_command_handler(): registering 'ocd_cache_config'... | |
Debug: 117 27 command.c:366 register_command_handler(): registering 'ocd_cortex_a'... | |
Debug: 118 27 command.c:366 register_command_handler(): registering 'ocd_cortex_a'... | |
Debug: 119 27 command.c:366 register_command_handler(): registering 'ocd_cortex_a'... | |
Debug: 120 28 command.c:366 register_command_handler(): registering 'ocd_cortex_a'... | |
Debug: 121 28 command.c:366 register_command_handler(): registering 'ocd_cortex_a'... | |
Debug: 122 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 123 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 124 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 125 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 126 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 127 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 128 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 129 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 130 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 131 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 132 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 133 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 134 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 135 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 136 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 137 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 138 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 139 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 140 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 141 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 142 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 143 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 144 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 145 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 146 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 147 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 148 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 149 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 150 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 151 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 152 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 153 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 154 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 155 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 156 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 157 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 158 28 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 159 29 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 160 29 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 161 29 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 162 29 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 163 29 command.c:366 register_command_handler(): registering 'ocd_rpi2.cpu.0'... | |
Debug: 164 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_rpi2.cpu.0 configure -event reset-assert-post cortex_a dbginit | |
Debug: 165 29 command.c:145 script_debug(): command - ocd_rpi2.cpu.0 ocd_rpi2.cpu.0 configure -event reset-assert-post cortex_a dbginit | |
Debug: 166 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_rpi2.cpu.0 configure -event gdb-attach halt | |
Debug: 167 29 command.c:145 script_debug(): command - ocd_rpi2.cpu.0 ocd_rpi2.cpu.0 configure -event gdb-attach halt | |
Debug: 168 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init | |
Debug: 169 29 command.c:145 script_debug(): command - init ocd_init | |
Debug: 171 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init | |
Debug: 172 29 command.c:145 script_debug(): command - ocd_target ocd_target init | |
Debug: 174 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names | |
Debug: 175 29 command.c:145 script_debug(): command - ocd_target ocd_target names | |
Debug: 176 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_rpi2.cpu.0 cget -event gdb-flash-erase-start | |
Debug: 177 29 command.c:145 script_debug(): command - ocd_rpi2.cpu.0 ocd_rpi2.cpu.0 cget -event gdb-flash-erase-start | |
Debug: 178 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_rpi2.cpu.0 configure -event gdb-flash-erase-start reset init | |
Debug: 179 29 command.c:145 script_debug(): command - ocd_rpi2.cpu.0 ocd_rpi2.cpu.0 configure -event gdb-flash-erase-start reset init | |
Debug: 180 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_rpi2.cpu.0 cget -event gdb-flash-write-end | |
Debug: 181 29 command.c:145 script_debug(): command - ocd_rpi2.cpu.0 ocd_rpi2.cpu.0 cget -event gdb-flash-write-end | |
Debug: 182 29 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_rpi2.cpu.0 configure -event gdb-flash-write-end reset halt | |
Debug: 183 29 command.c:145 script_debug(): command - ocd_rpi2.cpu.0 ocd_rpi2.cpu.0 configure -event gdb-flash-write-end reset halt | |
Debug: 184 29 target.c:1313 handle_target_init_command(): Initializing targets... | |
Debug: 185 29 command.c:366 register_command_handler(): registering 'ocd_target_request'... | |
Debug: 186 30 command.c:366 register_command_handler(): registering 'ocd_trace'... | |
Debug: 187 30 command.c:366 register_command_handler(): registering 'ocd_trace'... | |
Debug: 188 30 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'... | |
Debug: 189 30 command.c:366 register_command_handler(): registering 'ocd_fast_load'... | |
Debug: 190 30 command.c:366 register_command_handler(): registering 'ocd_profile'... | |
Debug: 191 30 command.c:366 register_command_handler(): registering 'ocd_virt2phys'... | |
Debug: 192 30 command.c:366 register_command_handler(): registering 'ocd_reg'... | |
Debug: 193 30 command.c:366 register_command_handler(): registering 'ocd_poll'... | |
Debug: 194 30 command.c:366 register_command_handler(): registering 'ocd_wait_halt'... | |
Debug: 195 30 command.c:366 register_command_handler(): registering 'ocd_halt'... | |
Debug: 196 30 command.c:366 register_command_handler(): registering 'ocd_resume'... | |
Debug: 197 30 command.c:366 register_command_handler(): registering 'ocd_reset'... | |
Debug: 198 30 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'... | |
Debug: 199 30 command.c:366 register_command_handler(): registering 'ocd_step'... | |
Debug: 200 30 command.c:366 register_command_handler(): registering 'ocd_mdw'... | |
Debug: 201 30 command.c:366 register_command_handler(): registering 'ocd_mdh'... | |
Debug: 202 30 command.c:366 register_command_handler(): registering 'ocd_mdb'... | |
Debug: 203 30 command.c:366 register_command_handler(): registering 'ocd_mww'... | |
Debug: 204 30 command.c:366 register_command_handler(): registering 'ocd_mwh'... | |
Debug: 205 30 command.c:366 register_command_handler(): registering 'ocd_mwb'... | |
Debug: 206 30 command.c:366 register_command_handler(): registering 'ocd_bp'... | |
Debug: 207 30 command.c:366 register_command_handler(): registering 'ocd_rbp'... | |
Debug: 208 30 command.c:366 register_command_handler(): registering 'ocd_wp'... | |
Debug: 209 30 command.c:366 register_command_handler(): registering 'ocd_rwp'... | |
Debug: 210 30 command.c:366 register_command_handler(): registering 'ocd_load_image'... | |
Debug: 211 30 command.c:366 register_command_handler(): registering 'ocd_dump_image'... | |
Debug: 212 30 command.c:366 register_command_handler(): registering 'ocd_verify_image'... | |
Debug: 213 30 command.c:366 register_command_handler(): registering 'ocd_test_image'... | |
Debug: 214 30 command.c:366 register_command_handler(): registering 'ocd_reset_nag'... | |
Debug: 215 30 command.c:366 register_command_handler(): registering 'ocd_ps'... | |
Debug: 216 30 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'... | |
Warn : 217 30 ft2232.c:2344 ft2232_init(): Using DEPRECATED interface driver 'ft2232' | |
Info : 218 30 ft2232.c:2346 ft2232_init(): Consider using the 'ftdi' interface driver, with configuration files in interface/ftdi/... | |
Debug: 219 30 ft2232.c:2352 ft2232_init(): ft2232 interface using shortest path jtag state transitions | |
Debug: 220 30 ft2232.c:2234 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'olimex-jtag' layout (15ba:002a) | |
Debug: 221 44 ft2232.c:2273 ft2232_init_libftdi(): current latency timer: 2 | |
Debug: 222 44 ft2232.c:2284 ft2232_init_libftdi(): FTDI chip type: 4 "2232H" | |
Debug: 223 44 ft2232.c:2309 ft2232_set_data_bits_low_byte(): 80 08 1b | |
Debug: 224 44 ft2232.c:2328 ft2232_set_data_bits_high_byte(): 82 09 0f | |
Info : 225 45 ft2232.c:656 ftx232h_clk_divide_by_5(): max TCK change to: 30000 kHz | |
Debug: 226 45 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value | |
Debug: 227 45 core.c:1593 adapter_khz_to_speed(): have interface set up | |
Debug: 228 45 ft2232.c:625 ftx232h_adaptive_clocking(): 97 | |
Debug: 229 45 ft2232.c:684 ft2232_speed(): 86 1d 00 | |
Debug: 230 45 core.c:1590 adapter_khz_to_speed(): convert khz to interface specific speed value | |
Debug: 231 45 core.c:1593 adapter_khz_to_speed(): have interface set up | |
Info : 232 45 core.c:1378 adapter_init(): clock speed 1000 kHz | |
Debug: 233 45 openocd.c:137 handle_init_command(): Debug Adapter init complete | |
Debug: 234 45 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init | |
Debug: 235 45 command.c:145 script_debug(): command - ocd_transport ocd_transport init | |
Debug: 237 45 transport.c:240 handle_transport_init(): handle_transport_init | |
Debug: 238 45 ft2232.c:1434 olimex_jtag_reset(): trst: 0, srst: 0, high_output: 0x01, high_direction: 0x0f | |
Debug: 239 46 core.c:724 jtag_add_reset(): SRST line released | |
Debug: 240 46 core.c:748 jtag_add_reset(): TRST line released | |
Debug: 241 46 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset | |
Debug: 242 493 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init | |
Debug: 243 493 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init | |
Debug: 244 493 core.c:1391 jtag_init_inner(): Init JTAG chain | |
Debug: 245 493 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset | |
Debug: 246 493 core.c:1052 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS | |
Debug: 247 493 core.c:328 jtag_call_event_callbacks(): jtag event: TAP reset | |
Info : 248 494 core.c:952 jtag_examine_chain_display(): JTAG tap: rpi2.dap tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x4) | |
Debug: 249 494 core.c:1182 jtag_validate_ircapture(): IR capture validation scan | |
Debug: 250 496 core.c:1240 jtag_validate_ircapture(): rpi2.dap: IR capture 0x01 | |
Debug: 251 496 openocd.c:150 handle_init_command(): Examining targets... | |
Debug: 252 496 target.c:1465 target_call_event_callbacks(): target event 21 (examine-start) | |
Debug: 253 497 arm_adi_v5.c:647 ahbap_debugport_init(): | |
Debug: 254 497 arm_adi_v5.c:688 ahbap_debugport_init(): DAP: wait CDBGPWRUPACK | |
Debug: 255 497 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0820000000, value 0x20000000 | |
Debug: 256 498 arm_adi_v5.c:695 ahbap_debugport_init(): DAP: wait CSYSPWRUPACK | |
Debug: 257 498 arm_adi_v5.h:391 dap_dp_poll_register(): DAP: poll 4, mask 0x0880000000, value 0x80000000 | |
Debug: 258 502 arm_adi_v5.c:744 ahbap_debugport_init(): MEM_AP Packed Transfers: disabled | |
Debug: 259 502 arm_adi_v5.c:755 ahbap_debugport_init(): MEM_AP CFG: large data 0, long address 0, big-endian 0 | |
Debug: 260 504 arm_adi_v5.c:817 dap_find_ap(): Found APB-AP at AP index: 0 (IDR=0x24770002) | |
Debug: 261 1016 arm_adi_v5.c:827 dap_find_ap(): No AHB-AP found | |
Debug: 262 1016 cortex_a.c:2854 cortex_a_examine_first(): Could not find AHB-AP - using APB-AP for memory access | |
Debug: 263 1016 cortex_a.c:2867 cortex_a_examine_first(): rpi2.cpu.0's dbgbase is not set, trying to detect using the ROM table | |
Debug: 264 1020 openocd.c:152 handle_init_command(): target examination failed | |
Debug: 265 1020 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init | |
Debug: 266 1020 command.c:145 script_debug(): command - ocd_flash ocd_flash init | |
Debug: 267 1020 log.c:422 keep_alive(): keep_alive() was not invoked in the 1000ms timelimit (1020). This may cause trouble with GDB connections. | |
Debug: 270 1020 tcl.c:890 handle_flash_init_command(): Initializing flash devices... | |
Debug: 271 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init | |
Debug: 272 1022 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init | |
Debug: 274 1022 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices... | |
Debug: 275 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init | |
Debug: 276 1022 command.c:145 script_debug(): command - ocd_nand ocd_nand init | |
Debug: 278 1022 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... | |
Debug: 279 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init | |
Debug: 280 1022 command.c:145 script_debug(): command - ocd_pld ocd_pld init | |
Debug: 282 1022 pld.c:207 handle_pld_init_command(): Initializing PLDs... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adapter_khz 1000 | |
adapter_nsrst_delay 400 | |
reset_config none | |
if { [info exists CHIPNAME] } { | |
set _CHIPNAME $CHIPNAME | |
} else { | |
set _CHIPNAME rpi2 | |
} | |
# | |
# M3 DAP | |
# | |
if { [info exists M3_DAP_TAPID] } { | |
set _M3_DAP_TAPID $M3_DAP_TAPID | |
} else { | |
set _M3_DAP_TAPID 0x4770011 | |
} | |
jtag newtap $_CHIPNAME m3_dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_M3_DAP_TAPID -disable | |
# | |
# Main DAP | |
# | |
if { [info exists DAP_TAPID] } { | |
set _DAP_TAPID $DAP_TAPID | |
} else { | |
set _DAP_TAPID 0x4ba00477 | |
} | |
jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_DAP_TAPID | |
#jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x01 -irmask 0x0f -expected-id $_DAP_TAPID | |
set _TARGETNAME $_CHIPNAME.cpu.0 | |
target create $_TARGETNAME cortex_a -chain-position $_CHIPNAME.dap -coreid 0 | |
# -dbgbase 0x82150000 | |
$_TARGETNAME configure -event reset-assert-post "cortex_a dbginit" | |
$_TARGETNAME configure -event gdb-attach { halt } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment