From: Bojan <bbo...@gm...> - 2013-10-07 09:21:51
|
Paul Fertser <fercerpav@...> writes: > > On Sun, Oct 06, 2013 at 04:16:42PM +0000, Bojan M. wrote: > > I am observing the same problems with iMX51 and openocd version 0.7.0. > > Was there any progress on this? I am using iMX51evk board. Any help will be > > appriciated! > > First thing, try current git HEAD and report the debug log (run > openocd with -d3). Second, try to disable caches. You can also try > reaching kiwichris on IRC as he's working with another Cortex-A > device and can probably clear some things up. > imx51-jtagkey2.cfg script: source [find interface/jtagkey2.cfg] source [find target/imx51.cfg] reset_config trst_and_srst separate trst_open_drain srst_open_drain adapter_khz 6000 command: openocd -d3 -f imx51-jtagkey2.cfg -c "init" complete log: Open On-Chip Debugger 0.8.0-dev-00204-g4f88521 (2013-10-07-10:25) Licensed under GNU GPL v2 For bug reports, read http://openocd.sourceforge.net/doc/doxygen/bugs.html User : 13 3 command.c:549 command_print(): debug_level: 3 Debug: 14 3 configuration.c:45 add_script_search_dir(): adding /home/bojanm/.openocd Debug: 15 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site Debug: 16 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts Debug: 17 3 configuration.c:86 find_file(): found imx51-jtagkey2.cfg Debug: 18 3 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/interface/jtagkey2.cfg Debug: 19 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232 Debug: 20 3 command.c:145 script_debug(): command - interface ocd_interface ft2232 Debug: 22 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_device_desc'... Debug: 23 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_serial'... Debug: 24 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_layout'... Debug: 25 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_vid_pid'... Debug: 26 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_latency'... Debug: 27 3 command.c:369 register_command_handler(): registering 'ocd_ft2232_channel'... Info : 28 4 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag' Debug: 29 4 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... Debug: 30 4 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'... Debug: 31 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 32 4 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... Debug: 33 4 command.c:369 register_command_handler(): registering 'ocd_scan_chain'... Debug: 34 4 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'... Debug: 35 4 command.c:369 register_command_handler(): registering 'ocd_runtest'... Debug: 36 4 command.c:369 register_command_handler(): registering 'ocd_irscan'... Debug: 37 4 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'... Debug: 38 4 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'... Debug: 39 4 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'... Debug: 40 4 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'... Debug: 41 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 42 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 43 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 44 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 45 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 46 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 47 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 48 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 49 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 50 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 51 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 52 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 53 4 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 54 4 command.c:369 register_command_handler(): registering 'ocd_svf'... Debug: 55 4 command.c:369 register_command_handler(): registering 'ocd_xsvf'... Debug: 56 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Amontec JTAGkey-2 Debug: 57 5 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Amontec JTAGkey-2 Debug: 59 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout jtagkey Debug: 60 5 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout jtagkey Debug: 62 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0xCFF8 Debug: 63 5 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0xCFF8 Debug: 65 5 configuration.c:86 find_file(): found /usr/local/share/openocd/scripts/target/imx51.cfg Debug: 66 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap imx51 DAP -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x1ba00477 Debug: 67 5 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap imx51 DAP -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x1ba00477 Debug: 68 5 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: imx51, Tap: DAP, Dotted: imx51.DAP, 8 params Debug: 69 5 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen Debug: 70 5 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture Debug: 71 5 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask Debug: 72 5 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id Debug: 73 5 core.c:1321 jtag_tap_init(): Created Tap: imx51.DAP @ abs position 0, irlen 4, capture: 0x1 mask: 0xf Debug: 74 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap imx51 SDMA -irlen 4 -ircapture 0x0 -irmask 0xf Debug: 75 6 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap imx51 SDMA -irlen 4 -ircapture 0x0 -irmask 0xf Debug: 76 6 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: imx51, Tap: SDMA, Dotted: imx51.SDMA, 6 params Debug: 77 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen Debug: 78 6 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture Warn : 79 6 tcl.c:500 jim_newtap_ir_param(): imx51.SDMA: nonstandard IR value Debug: 80 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask Debug: 81 6 core.c:1321 jtag_tap_init(): Created Tap: imx51.SDMA @ abs position 1, irlen 4, capture: 0x0 mask: 0xf Debug: 82 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap imx51 SJC -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 0x0190c01d -ignore-version Debug: 83 6 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap imx51 SJC -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 0x0190c01d -ignore-version Debug: 84 6 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: imx51, Tap: SJC, Dotted: imx51.SJC, 9 params Debug: 85 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen Debug: 86 6 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture Debug: 87 6 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask Debug: 88 6 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id Debug: 89 6 tcl.c:571 jim_newtap_cmd(): Processing option: -ignore-version Debug: 90 6 core.c:1321 jtag_tap_init(): Created Tap: imx51.SJC @ abs position 2, irlen 5, capture: 0x1 mask: 0x1f Debug: 91 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create imx51.cpu cortex_a -chain-position imx51.DAP Debug: 92 6 command.c:145 script_debug(): command - ocd_target ocd_target create imx51.cpu cortex_a -chain-position imx51.DAP Debug: 93 6 target.c:1682 target_free_all_working_areas_restore(): freeing all working areas Debug: 94 6 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 95 6 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 96 6 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 97 6 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 98 6 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 99 6 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 100 6 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 101 6 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 102 6 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 103 6 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 104 6 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 105 6 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 106 6 command.c:369 register_command_handler(): registering 'ocd_cache_config'... Debug: 107 6 command.c:369 register_command_handler(): registering 'ocd_cortex_a'... Debug: 108 6 command.c:369 register_command_handler(): registering 'ocd_cortex_a'... Debug: 109 6 command.c:369 register_command_handler(): registering 'ocd_cortex_a'... Debug: 110 6 command.c:369 register_command_handler(): registering 'ocd_cortex_a'... Debug: 111 6 command.c:369 register_command_handler(): registering 'ocd_cortex_a'... Debug: 112 6 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 113 6 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 114 6 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 115 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 116 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 117 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 118 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 119 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 120 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 121 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 122 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 123 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 124 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 125 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 126 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 127 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 128 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 129 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 130 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 131 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 132 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 133 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 134 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 135 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 136 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 137 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 138 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 139 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 140 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 141 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 142 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 143 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 144 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 145 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 146 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 147 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 148 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 149 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 150 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 151 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 152 7 command.c:369 register_command_handler(): registering 'ocd_imx51.cpu'... Debug: 153 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag configure imx51.SJC -event post-reset runtest 100 Debug: 154 7 command.c:145 script_debug(): command - ocd_jtag ocd_jtag configure imx51.SJC -event post-reset runtest 100 Debug: 155 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag configure imx51.SJC -event setup jtag tapenable imx51.DAP Debug: 156 8 command.c:145 script_debug(): command - ocd_jtag ocd_jtag configure imx51.SJC -event setup jtag tapenable imx51.DAP Debug: 157 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_imx51.cpu configure -event reset-assert-post imx51_dbginit imx51.cpu Debug: 158 8 command.c:145 script_debug(): command - ocd_imx51.cpu ocd_imx51.cpu configure -event reset-assert-post imx51_dbginit imx51.cpu Debug: 159 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst separate trst_open_drain srst_open_drain Debug: 160 8 command.c:145 script_debug(): command - reset_config ocd_reset_config trst_and_srst separate trst_open_drain srst_open_drain User : 162 8 command.c:549 command_print(): trst_and_srst separate srst_gates_jtag trst_open_drain srst_open_drain connect_deassert_srst Debug: 163 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 6000 Debug: 164 8 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 6000 Debug: 166 8 core.c:1646 jtag_config_khz(): handle jtag khz Debug: 167 8 core.c:1613 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 168 8 core.c:1613 adapter_khz_to_speed(): convert khz to interface specific speed value User : 169 8 command.c:549 command_print(): adapter speed: 6000 kHz Debug: 170 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 171 8 command.c:145 script_debug(): command - init ocd_init Debug: 173 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 174 8 command.c:145 script_debug(): command - ocd_target ocd_target init Debug: 176 8 target.c:1245 handle_target_init_command(): Initializing targets... Debug: 177 8 command.c:369 register_command_handler(): registering 'ocd_target_request'... Debug: 178 8 command.c:369 register_command_handler(): registering 'ocd_trace'... Debug: 179 8 command.c:369 register_command_handler(): registering 'ocd_trace'... Debug: 180 8 command.c:369 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 181 8 command.c:369 register_command_handler(): registering 'ocd_fast_load'... Debug: 182 8 command.c:369 register_command_handler(): registering 'ocd_profile'... Debug: 183 8 command.c:369 register_command_handler(): registering 'ocd_virt2phys'... Debug: 184 8 command.c:369 register_command_handler(): registering 'ocd_reg'... Debug: 185 8 command.c:369 register_command_handler(): registering 'ocd_poll'... Debug: 186 8 command.c:369 register_command_handler(): registering 'ocd_wait_halt'... Debug: 187 8 command.c:369 register_command_handler(): registering 'ocd_halt'... Debug: 188 8 command.c:369 register_command_handler(): registering 'ocd_resume'... Debug: 189 8 command.c:369 register_command_handler(): registering 'ocd_reset'... Debug: 190 8 command.c:369 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 191 8 command.c:369 register_command_handler(): registering 'ocd_step'... Debug: 192 8 command.c:369 register_command_handler(): registering 'ocd_mdw'... Debug: 193 8 command.c:369 register_command_handler(): registering 'ocd_mdh'... Debug: 194 8 command.c:369 register_command_handler(): registering 'ocd_mdb'... Debug: 195 8 command.c:369 register_command_handler(): registering 'ocd_mww'... Debug: 196 8 command.c:369 register_command_handler(): registering 'ocd_mwh'... Debug: 197 8 command.c:369 register_command_handler(): registering 'ocd_mwb'... Debug: 198 8 command.c:369 register_command_handler(): registering 'ocd_bp'... Debug: 199 9 command.c:369 register_command_handler(): registering 'ocd_rbp'... Debug: 200 9 command.c:369 register_command_handler(): registering 'ocd_wp'... Debug: 201 9 command.c:369 register_command_handler(): registering 'ocd_rwp'... Debug: 202 9 command.c:369 register_command_handler(): registering 'ocd_load_image'... Debug: 203 9 command.c:369 register_command_handler(): registering 'ocd_dump_image'... Debug: 204 9 command.c:369 register_command_handler(): registering 'ocd_verify_image'... Debug: 205 9 command.c:369 register_command_handler(): registering 'ocd_test_image'... Debug: 206 9 command.c:369 register_command_handler(): registering 'ocd_reset_nag'... Debug: 207 9 command.c:369 register_command_handler(): registering 'ocd_ps'... Debug: 208 9 ft2232.c:2346 ft2232_init(): ft2232 interface using shortest path jtag state transitions Debug: 209 9 ft2232.c:2233 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'jtagkey' layout (0403:cff8) Debug: 210 41 ft2232.c:2272 ft2232_init_libftdi(): current latency timer: 2 Debug: 211 42 ft2232.c:2283 ft2232_init_libftdi(): FTDI chip type: 4 "2232H" Debug: 212 42 ft2232.c:2308 ft2232_set_data_bits_low_byte(): 80 08 1b Debug: 213 42 ft2232.c:2327 ft2232_set_data_bits_high_byte(): 82 0c 0f Info : 214 42 ft2232.c:656 ftx232h_clk_divide_by_5(): max TCK change to: 30000 kHz Debug: 215 42 core.c:1613 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 216 42 core.c:1616 adapter_khz_to_speed(): have interface set up Debug: 217 42 ft2232.c:625 ftx232h_adaptive_clocking(): 97 Debug: 218 43 ft2232.c:684 ft2232_speed(): 86 04 00 Debug: 219 43 core.c:1613 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 220 43 core.c:1616 adapter_khz_to_speed(): have interface set up Info : 221 43 core.c:1402 adapter_init(): clock speed 6000 kHz Debug: 222 43 openocd.c:132 handle_init_command(): Debug Adapter init complete Debug: 223 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 224 43 command.c:145 script_debug(): command - ocd_transport ocd_transport init Debug: 226 43 transport.c:240 handle_transport_init(): handle_transport_init Debug: 227 43 ft2232.c:1403 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x0c, high_direction: 0x0f Debug: 228 43 core.c:719 jtag_add_reset(): SRST line released Debug: 229 43 core.c:743 jtag_add_reset(): TRST line released Debug: 230 43 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 231 43 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC event: 0 (post-reset) action: runtest 100 Debug: 232 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_runtest 100 Debug: 233 43 command.c:145 script_debug(): command - runtest ocd_runtest 100 User : 234 43 target.c:2323 handle_target(): Polling target imx51.cpu failed, GDB will be halted. Polling again in 100ms Debug: 235 43 target.c:1361 target_call_event_callbacks(): target event 0 (gdb-halt) Debug: 237 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init Debug: 238 43 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init Debug: 239 43 core.c:1415 jtag_init_inner(): Init JTAG chain Debug: 240 43 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 241 43 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC event: 0 (post-reset) action: runtest 100 Debug: 242 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_runtest 100 Debug: 243 43 command.c:145 script_debug(): command - runtest ocd_runtest 100 Debug: 245 43 core.c:1048 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 246 43 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 247 43 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC event: 0 (post-reset) action: runtest 100 Debug: 248 43 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_runtest 100 Debug: 249 44 command.c:145 script_debug(): command - runtest ocd_runtest 100 User : 250 44 target.c:2323 handle_target(): Polling target imx51.cpu failed, GDB will be halted. Polling again in 300ms Debug: 251 44 target.c:1361 target_call_event_callbacks(): target event 0 (gdb-halt) Info : 253 44 core.c:951 jtag_examine_chain_display(): JTAG tap: imx51.DAP tap/device found: 0x1ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x1) Info : 254 44 core.c:1069 jtag_examine_chain(): TAP imx51.SDMA does not have IDCODE Info : 255 44 core.c:951 jtag_examine_chain_display(): JTAG tap: imx51.SJC tap/device found: 0x1190c01d (mfg: 0x00e, part: 0x190c, ver: 0x1) Debug: 256 44 core.c:1208 jtag_validate_ircapture(): IR capture validation scan Debug: 257 46 core.c:1265 jtag_validate_ircapture(): imx51.DAP: IR capture 0x01 Debug: 258 46 core.c:1265 jtag_validate_ircapture(): imx51.SDMA: IR capture 0x00 Debug: 259 46 core.c:1265 jtag_validate_ircapture(): imx51.SJC: IR capture 0x01 Debug: 260 46 tcl.c:630 jtag_tap_handle_event(): JTAG tap: imx51.SJC event: 1 (setup) action: jtag tapenable imx51.DAP Debug: 261 46 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag tapenable imx51.DAP Debug: 262 46 command.c:145 script_debug(): command - ocd_jtag ocd_jtag tapenable imx51.DAP Warn : 263 46 tcl.c:756 jim_jtag_tap_enabler(): failed to enable tap imx51.DAP User : 264 46 tcl.c:634 jtag_tap_handle_event(): Runtime Error: embedded:startup.tcl:20: in procedure 'jtag' in procedure 'ocd_bouncer' at file "embedded:startup.tcl", line 20 Debug: 265 46 openocd.c:145 handle_init_command(): Examining targets... Debug: 266 46 target.c:1361 target_call_event_callbacks(): target event 21 (examine-start) Debug: 267 46 arm_adi_v5.c:806 ahbap_debugport_init(): Debug: 268 50 arm_adi_v5.c:908 ahbap_debugport_init(): MEM_AP Packed Transfers: enabled Debug: 269 54 arm_adi_v5.c:970 dap_find_ap(): Found APB-AP at AP index: 1 (IDR=0x04770002) Debug: 270 56 arm_adi_v5.c:970 dap_find_ap(): Found AHB-AP at AP index: 0 (IDR=0x14770001) Debug: 271 70 cortex_a.c:2463 cortex_a8_examine_first(): cpuid = 0x00000000 Debug: 272 70 cortex_a.c:2464 cortex_a8_examine_first(): ctypr = 0x00000000 Debug: 273 70 cortex_a.c:2465 cortex_a8_examine_first(): ttypr = 0x00000000 Debug: 274 70 cortex_a.c:2466 cortex_a8_examine_first(): didr = 0x00000000 Info : 275 70 arm_dpm.c:986 arm_dpm_setup(): imx51.cpu: hardware has 1 breakpoints, 1 watchpoints Debug: 276 70 cortex_a.c:702 cortex_a8_bpwp_disable(): A8: bpwp disable, cr 00000140 Debug: 277 72 cortex_a.c:702 cortex_a8_bpwp_disable(): A8: bpwp disable, cr 000001c0 Debug: 278 74 cortex_a.c:2490 cortex_a8_examine_first(): Configured 1 hw breakpoints Debug: 279 74 cortex_a.c:173 cortex_a8_init_debug_access(): Debug: 280 80 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 281 80 target.c:1361 target_call_event_callbacks(): target event 22 (examine-end) Debug: 282 80 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 283 80 command.c:145 script_debug(): command - ocd_flash ocd_flash init Debug: 285 80 tcl.c:848 handle_flash_init_command(): Initializing flash devices... Debug: 286 80 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 287 80 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init Debug: 289 80 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices... Debug: 290 80 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 291 80 command.c:145 script_debug(): command - ocd_nand ocd_nand init Debug: 293 80 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... Debug: 294 80 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 295 80 command.c:145 script_debug(): command - ocd_pld ocd_pld init Debug: 296 82 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 User : 297 82 target.c:2333 handle_target(): Polling target imx51.cpu succeeded again Debug: 299 82 pld.c:207 handle_pld_init_command(): Initializing PLDs... Debug: 300 82 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 301 82 command.c:145 script_debug(): command - init ocd_init Debug: 302 84 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 304 185 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 305 285 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 306 385 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 307 486 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 308 587 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 Debug: 309 687 cortex_a.c:845 cortex_a8_poll(): Unknown target state dscr = 0x00000000 regards, Bojan |