This is the last device I'll be testing the Flyswatter with.
openocd -d --file interface/ftdi/flyswatter.cfg --file target/ar71xx.cfg
I had to add "adapter_khz 1000" at the end of ftdi/flyswatter.cfg,
otherwise I'd get a complaint that adapter speed is not defined (not
sure if the speed is correct).
This time the error is really early with "Error: JTAG scan chain
interrogation failed: all ones" (see attachment with debug log)
I rechecked pins and even made sure with JTAGenum the pins in openwrt
documentation match - JTAGenum finds the JTAG interface at the same
location (http://wiki.openwrt.org/toh/mikrotik/rb450g#jtag).
After some preliminary googling it was suggested that ar71xx.cfg might
be out of date for EJTAG, but I'm not sure.
Maybe someone has better insight?
Thanks,
Ondrej
% openocd -d --file interface/ftdi/flyswatter.cfg --file target/ar71xx.cfg
Open On-Chip Debugger 0.8.0 (2014-07-30-14:23)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 2 command.c:546 command_print(): debug_level: 3
Debug: 14 2 options.c:98 add_default_dirs(): bindir=/home/ondro/sat/bin
Debug: 15 2 options.c:99 add_default_dirs(): pkgdatadir=/home/ondro/sat/share/openocd
Debug: 16 2 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 2 configuration.c:44 add_script_search_dir(): adding /home/ondro/.openocd
Debug: 18 2 configuration.c:44 add_script_search_dir(): adding /home/ondro/sat/share/openocd/site
Debug: 19 2 configuration.c:44 add_script_search_dir(): adding /home/ondro/sat/share/openocd/scripts
Debug: 20 2 configuration.c:84 find_file(): found interface/ftdi/flyswatter.cfg
Debug: 21 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo WARNING!
Debug: 22 2 command.c:145 script_debug(): command - echo ocd_echo WARNING!
User : 24 2 command.c:763 jim_echo(): WARNING!
Debug: 25 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo This file was not tested with real interface, it is based on schematics and code
Debug: 26 2 command.c:145 script_debug(): command - echo ocd_echo This file was not tested with real interface, it is based on schematics and code
User : 28 2 command.c:763 jim_echo(): This file was not tested with real interface, it is based on schematics and code
Debug: 29 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo in ft2232.c. Please report your experience with this file to openocd-devel
Debug: 30 2 command.c:145 script_debug(): command - echo ocd_echo in ft2232.c. Please report your experience with this file to openocd-devel
User : 32 2 command.c:763 jim_echo(): in ft2232.c. Please report your experience with this file to openocd-devel
Debug: 33 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo mailing list, so it could be marked as working or fixed.
Debug: 34 2 command.c:145 script_debug(): command - echo ocd_echo mailing list, so it could be marked as working or fixed.
User : 36 2 command.c:763 jim_echo(): mailing list, so it could be marked as working or fixed.
Debug: 37 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 38 2 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 40 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 41 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 42 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 43 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 44 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 45 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 46 2 command.c:366 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Info : 47 2 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag'
Debug: 48 2 command.c:366 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 49 2 command.c:366 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 50 2 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 51 2 command.c:366 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 52 2 command.c:366 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 53 3 command.c:366 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 54 3 command.c:366 register_command_handler(): registering 'ocd_runtest'...
Debug: 55 3 command.c:366 register_command_handler(): registering 'ocd_irscan'...
Debug: 56 3 command.c:366 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 57 3 command.c:366 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 58 3 command.c:366 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 59 3 command.c:366 register_command_handler(): registering 'ocd_wait_srst_deassert'...
Debug: 60 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 61 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 62 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 63 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 64 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 65 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 66 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 67 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 68 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 69 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 70 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 71 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 72 3 command.c:366 register_command_handler(): registering 'ocd_jtag'...
Debug: 73 3 command.c:366 register_command_handler(): registering 'ocd_svf'...
Debug: 74 3 command.c:366 register_command_handler(): registering 'ocd_xsvf'...
Debug: 75 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc Flyswatter
Debug: 76 3 command.c:145 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc Flyswatter
Debug: 78 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 79 3 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 81 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0818 0x0cfb
Debug: 82 3 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0818 0x0cfb
Debug: 84 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0010
Debug: 85 3 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0010
Debug: 87 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -oe 0x0020
Debug: 88 3 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -oe 0x0020
Debug: 90 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal LED -data 0x0c00
Debug: 91 3 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal LED -data 0x0c00
Debug: 93 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000
Debug: 94 3 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000
Debug: 96 3 core.c:1644 jtag_config_khz(): handle jtag khz
Debug: 97 3 core.c:1611 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 98 3 core.c:1611 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 99 3 command.c:546 command_print(): adapter speed: 1000 kHz
Debug: 100 3 configuration.c:84 find_file(): found target/ar71xx.cfg
Debug: 101 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 102 3 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 104 3 command.c:546 command_print(): adapter_nsrst_delay: 100
Debug: 105 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100
Debug: 106 3 command.c:145 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100
User : 108 3 command.c:546 command_print(): jtag_ntrst_delay: 100
Debug: 109 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst
Debug: 110 3 command.c:145 script_debug(): command - reset_config ocd_reset_config trst_and_srst
User : 112 4 command.c:546 command_print(): trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Debug: 113 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap ar71xx cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 1
Debug: 114 4 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap ar71xx cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 1
Debug: 115 4 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: ar71xx, Tap: cpu, Dotted: ar71xx.cpu, 8 params
Debug: 116 4 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 117 4 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture
Debug: 118 4 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask
Debug: 119 4 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 120 4 core.c:1319 jtag_tap_init(): Created Tap: ar71xx.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x1f
Debug: 121 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create ar71xx.cpu mips_m4k -endian big -chain-position ar71xx.cpu
Debug: 122 4 command.c:145 script_debug(): command - ocd_target ocd_target create ar71xx.cpu mips_m4k -endian big -chain-position ar71xx.cpu
Debug: 123 4 target.c:1722 target_free_all_working_areas_restore(): freeing all working areas
Debug: 124 4 command.c:366 register_command_handler(): registering 'ocd_mips32'...
Debug: 125 4 command.c:366 register_command_handler(): registering 'ocd_mips32'...
Debug: 126 4 command.c:366 register_command_handler(): registering 'ocd_mips_m4k'...
Debug: 127 4 command.c:366 register_command_handler(): registering 'ocd_mips_m4k'...
Debug: 128 4 command.c:366 register_command_handler(): registering 'ocd_mips_m4k'...
Debug: 129 4 command.c:366 register_command_handler(): registering 'ocd_mips_m4k'...
Debug: 130 4 command.c:366 register_command_handler(): registering 'ocd_mips_m4k'...
Debug: 131 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 132 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 133 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 134 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 135 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 136 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 137 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 138 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 139 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 140 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 141 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 142 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 143 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 144 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 145 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 146 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 147 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 148 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 149 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 150 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 151 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 152 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 153 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 154 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 155 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 156 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 157 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 158 4 command.c:366 register_command_handler(): registering 'ocd_ar71xx.cpu'...
Debug: 159 4 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu configure -event reset-halt-post
#setup PLL to lowest common denominator 300/300/150 setting
mww 0xb8050000 0x000f40a3 ;# reset val + CPU:3 DDR:3 AHB:0
mww 0xb8050000 0x800f40a3 ;# send to PLL
#next command will reset for PLL changes to take effect
mww 0xb8050008 3 ;# set reset_switch and clock_switch (resets SoC)
Debug: 160 4 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu configure -event reset-halt-post
#setup PLL to lowest common denominator 300/300/150 setting
mww 0xb8050000 0x000f40a3 ;# reset val + CPU:3 DDR:3 AHB:0
mww 0xb8050000 0x800f40a3 ;# send to PLL
#next command will reset for PLL changes to take effect
mww 0xb8050008 3 ;# set reset_switch and clock_switch (resets SoC)
Debug: 161 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu configure -event reset-init
#complete pll initialization
mww 0xb8050000 0x800f0080 ;# set sw_update bit
mww 0xb8050008 0 ;# clear reset_switch bit
mww 0xb8050000 0x800f00e8 ;# clr pwrdwn & bypass
mww 0xb8050008 1 ;# set clock_switch bit
sleep 1 ;# wait for lock
# Setup DDR config and flash mapping
mww 0xb8000000 0xefbc8cd0 ;# DDR cfg cdl val (rst: 0x5bfc8d0)
mww 0xb8000004 0x8e7156a2 ;# DDR cfg2 cdl val (rst: 0x80d106a8)
mww 0xb8000010 8 ;# force precharge all banks
mww 0xb8000010 1 ;# force EMRS update cycle
mww 0xb800000c 0 ;# clr ext. mode register
mww 0xb8000010 2 ;# force auto refresh all banks
mww 0xb8000010 8 ;# force precharge all banks
mww 0xb8000008 0x31 ;# set DDR mode value CAS=3
mww 0xb8000010 1 ;# force EMRS update cycle
mww 0xb8000014 0x461b ;# DDR refresh value
mww 0xb8000018 0xffff ;# DDR Read Data This Cycle value (16bit: 0xffff)
mww 0xb800001c 0x7 ;# delay added to the DQS line (normal = 7)
mww 0xb8000020 0
mww 0xb8000024 0
mww 0xb8000028 0
Debug: 162 5 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu configure -event reset-init
#complete pll initialization
mww 0xb8050000 0x800f0080 ;# set sw_update bit
mww 0xb8050008 0 ;# clear reset_switch bit
mww 0xb8050000 0x800f00e8 ;# clr pwrdwn & bypass
mww 0xb8050008 1 ;# set clock_switch bit
sleep 1 ;# wait for lock
# Setup DDR config and flash mapping
mww 0xb8000000 0xefbc8cd0 ;# DDR cfg cdl val (rst: 0x5bfc8d0)
mww 0xb8000004 0x8e7156a2 ;# DDR cfg2 cdl val (rst: 0x80d106a8)
mww 0xb8000010 8 ;# force precharge all banks
mww 0xb8000010 1 ;# force EMRS update cycle
mww 0xb800000c 0 ;# clr ext. mode register
mww 0xb8000010 2 ;# force auto refresh all banks
mww 0xb8000010 8 ;# force precharge all banks
mww 0xb8000008 0x31 ;# set DDR mode value CAS=3
mww 0xb8000010 1 ;# force EMRS update cycle
mww 0xb8000014 0x461b ;# DDR refresh value
mww 0xb8000018 0xffff ;# DDR Read Data This Cycle value (16bit: 0xffff)
mww 0xb800001c 0x7 ;# delay added to the DQS line (normal = 7)
mww 0xb8000020 0
mww 0xb8000024 0
mww 0xb8000028 0
Debug: 163 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu configure -work-area-phys 0xa0600000 -work-area-size 0x20000
Debug: 164 5 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu configure -work-area-phys 0xa0600000 -work-area-size 0x20000
Debug: 165 5 target.c:1722 target_free_all_working_areas_restore(): freeing all working areas
Debug: 166 5 target.c:1722 target_free_all_working_areas_restore(): freeing all working areas
User : 167 5 command.c:691 command_run_line(): 131072User : 168 5 command.c:693 command_run_line():
Debug: 169 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 170 5 command.c:145 script_debug(): command - init ocd_init
Debug: 172 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 173 5 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 175 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target names
Debug: 176 5 command.c:145 script_debug(): command - ocd_target ocd_target names
Debug: 177 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu cget -event gdb-flash-erase-start
Debug: 178 5 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu cget -event gdb-flash-erase-start
Debug: 179 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 180 5 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu configure -event gdb-flash-erase-start reset init
Debug: 181 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu cget -event gdb-flash-write-end
Debug: 182 5 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu cget -event gdb-flash-write-end
Debug: 183 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ar71xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 184 5 command.c:145 script_debug(): command - ocd_ar71xx.cpu ocd_ar71xx.cpu configure -event gdb-flash-write-end reset halt
Debug: 185 5 target.c:1285 handle_target_init_command(): Initializing targets...
Debug: 186 5 command.c:366 register_command_handler(): registering 'ocd_target_request'...
Debug: 187 5 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 188 5 command.c:366 register_command_handler(): registering 'ocd_trace'...
Debug: 189 5 command.c:366 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 190 5 command.c:366 register_command_handler(): registering 'ocd_fast_load'...
Debug: 191 6 command.c:366 register_command_handler(): registering 'ocd_profile'...
Debug: 192 6 command.c:366 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 193 6 command.c:366 register_command_handler(): registering 'ocd_reg'...
Debug: 194 6 command.c:366 register_command_handler(): registering 'ocd_poll'...
Debug: 195 6 command.c:366 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 196 6 command.c:366 register_command_handler(): registering 'ocd_halt'...
Debug: 197 6 command.c:366 register_command_handler(): registering 'ocd_resume'...
Debug: 198 6 command.c:366 register_command_handler(): registering 'ocd_reset'...
Debug: 199 6 command.c:366 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 200 6 command.c:366 register_command_handler(): registering 'ocd_step'...
Debug: 201 6 command.c:366 register_command_handler(): registering 'ocd_mdw'...
Debug: 202 6 command.c:366 register_command_handler(): registering 'ocd_mdh'...
Debug: 203 6 command.c:366 register_command_handler(): registering 'ocd_mdb'...
Debug: 204 6 command.c:366 register_command_handler(): registering 'ocd_mww'...
Debug: 205 6 command.c:366 register_command_handler(): registering 'ocd_mwh'...
Debug: 206 6 command.c:366 register_command_handler(): registering 'ocd_mwb'...
Debug: 207 6 command.c:366 register_command_handler(): registering 'ocd_bp'...
Debug: 208 6 command.c:366 register_command_handler(): registering 'ocd_rbp'...
Debug: 209 6 command.c:366 register_command_handler(): registering 'ocd_wp'...
Debug: 210 6 command.c:366 register_command_handler(): registering 'ocd_rwp'...
Debug: 211 6 command.c:366 register_command_handler(): registering 'ocd_load_image'...
Debug: 212 6 command.c:366 register_command_handler(): registering 'ocd_dump_image'...
Debug: 213 6 command.c:366 register_command_handler(): registering 'ocd_verify_image'...
Debug: 214 6 command.c:366 register_command_handler(): registering 'ocd_test_image'...
Debug: 215 6 command.c:366 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 216 6 command.c:366 register_command_handler(): registering 'ocd_ps'...
Debug: 217 6 command.c:366 register_command_handler(): registering 'ocd_test_mem_access'...
Debug: 218 6 ftdi.c:599 ftdi_initialize(): ftdi interface using shortest path jtag state transitions
Debug: 219 18 mpsse.c:363 mpsse_purge(): -
Debug: 220 20 mpsse.c:644 mpsse_loopback_config(): off
Debug: 221 21 core.c:1611 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 222 21 core.c:1614 adapter_khz_to_speed(): have interface set up
Debug: 223 21 mpsse.c:689 mpsse_set_frequency(): target 1000000 Hz
Debug: 224 21 mpsse.c:650 mpsse_set_divisor(): 5
Debug: 225 21 mpsse.c:713 mpsse_set_frequency(): actually 1000000 Hz
Debug: 226 21 core.c:1611 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 227 21 core.c:1614 adapter_khz_to_speed(): have interface set up
Info : 228 21 core.c:1400 adapter_init(): clock speed 1000 kHz
Debug: 229 21 openocd.c:132 handle_init_command(): Debug Adapter init complete
Debug: 230 21 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 231 21 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 233 21 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 234 22 core.c:717 jtag_add_reset(): SRST line released
Debug: 235 22 core.c:741 jtag_add_reset(): TRST line released
Debug: 236 22 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 237 226 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 238 226 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 239 226 core.c:1413 jtag_init_inner(): Init JTAG chain
Debug: 240 226 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 241 227 core.c:1046 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 242 227 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset
Error: 243 228 core.c:939 jtag_examine_chain_check(): JTAG scan chain interrogation failed: all ones
Error: 244 228 core.c:940 jtag_examine_chain_check(): Check JTAG interface, timings, target power, etc.
Error: 245 228 core.c:1458 jtag_init_inner(): Trying to use configured scan chain anyway...
Debug: 246 228 core.c:1206 jtag_validate_ircapture(): IR capture validation scan
Error: 247 229 core.c:1257 jtag_validate_ircapture(): ar71xx.cpu: IR capture error; saw 0x1f not 0x01
Debug: 248 229 core.c:321 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 249 230 core.c:1481 jtag_init_inner(): Bypassing JTAG setup events due to errors
Debug: 250 230 openocd.c:145 handle_init_command(): Examining targets...
Debug: 251 230 target.c:1401 target_call_event_callbacks(): target event 21 (examine-start)
Debug: 252 232 mips_ejtag.c:352 mips_ejtag_init(): impcode: 0xffffffff
Debug: 253 232 mips_ejtag.c:377 mips_ejtag_init(): EJTAG: Unknown Version Detected
Debug: 254 232 mips_ejtag.c:387 mips_ejtag_init(): EJTAG: features: R3k DINT ASID_8 ASID_6 MIPS16 noDMA MIPS64
Debug: 255 232 target.c:1401 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 256 232 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 257 232 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 258 234 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 259 234 mips_m4k.c:215 mips_m4k_poll(): EJTAG_CTRL_BRKST already set during server startup.
Error: 260 238 mips32_pracc.c:214 mips32_pracc_exec_write(): Error writing unexpected address 0xffffffff
Error: 261 242 mips32_pracc.c:214 mips32_pracc_exec_write(): Error writing unexpected address 0xffffffff
Debug: 262 242 mips_m4k.c:946 mips_m4k_read_memory(): address: 0xff300000, size: 0x00000004, count: 0x00000001
Error: 263 246 mips32_pracc.c:214 mips32_pracc_exec_write(): Error writing unexpected address 0xffffffff
Debug: 264 246 target.c:2068 target_read_u32(): address: 0xff300000 failed
Debug: 265 246 mips_m4k.c:946 mips_m4k_read_memory(): address: 0xff301000, size: 0x00000004, count: 0x00000001
Error: 266 250 mips32_pracc.c:214 mips32_pracc_exec_write(): Error writing unexpected address 0xffffffff
Debug: 267 250 target.c:2068 target_read_u32(): address: 0xff301000 failed
Debug: 268 250 mips_m4k.c:117 mips_m4k_debug_entry(): entered debug state at PC 0x0, target->state: halted
Debug: 269 250 target.c:1401 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 270 250 target.c:1401 target_call_event_callbacks(): target event 1 (halted)
Debug: 272 250 tcl.c:870 handle_flash_init_command(): Initializing flash devices...
Debug: 273 250 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 274 250 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 275 252 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 277 252 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices...
Debug: 278 252 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 279 252 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 280 254 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 282 254 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 283 254 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 284 254 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 285 256 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 287 256 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Debug: 288 359 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 289 462 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 290 565 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 291 668 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 292 771 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 293 874 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 294 977 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 295 1080 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 296 1183 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 297 1286 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 298 1389 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 299 1492 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 300 1595 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 301 1698 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 302 1801 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 303 1904 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 304 2007 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 305 2110 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 306 2213 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
Debug: 307 2316 mips_m4k.c:207 mips_m4k_poll(): Reset Detected
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel