Hi all,
I have super-simple openocd.cfg :

------
source [find ../tcl/interface/jtagkey2.cfg]

# Processor       : ARM946e (wb) rev 0 (v4l)
jtag_rclk 300
jtag_khz 0

scan_chain

------

I.e. I just want to scan my chain in order to take configure
parameters. After that I want to make target for one processor in a
chain, ARM946E-S.

I took latest OpenOCD (v5.0-dev) version and linked it with latest libftdi.

I am suspecting that processors are not correctly reset by the OpenOCD.

Here is log below, thanks for any hints.

BR,
Drasko


r...@konj:~/openocd/openocd/src# openocd -f pera_openocd.cfg
Open On-Chip Debugger 0.5.0-dev-00494-g5c98e06-dirty (2010-08-24-20:22)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
RCLK - adaptive
RCLK - adaptive
   TapName             Enabled  IdCode     Expected   IrLen IrCap IrMask
-- ------------------- -------- ---------- ---------- ----- ----- ------
Info : max TCK change to: 30000 kHz
Info : RCLK (adaptive clock speed)
Info : inter: 0.000061, inter2: 0.000062 end: 0.001065
Info : JTAG tap: mico_0.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_1.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_2.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_3.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_4.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : TAP pera10_0.cpu does not have IDCODE
Warn : JTAG tap: pera10_0.cpu       UNEXPECTED: 0x00000000 (mfg:
0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pera10_0.cpu  expected 1 of 1: 0x15940477 (mfg:
0x23b, part: 0x5940, ver: 0x1)
Info : TAP pera10_1.cpu does not have IDCODE
Warn : JTAG tap: pera10_1.cpu       UNEXPECTED: 0x00000000 (mfg:
0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pera10_1.cpu  expected 1 of 1: 0x15946477 (mfg:
0x23b, part: 0x5946, ver: 0x1)
Warn : Unexpected idcode after end of chain: 162 0x00000000
Warn : Unexpected idcode after end of chain: 194 0x00000000
Warn : Unexpected idcode after end of chain: 226 0x00000000
Warn : Unexpected idcode after end of chain: 258 0x00000000
Warn : Unexpected idcode after end of chain: 290 0x00000000
Warn : Unexpected idcode after end of chain: 322 0x00000000
Warn : Unexpected idcode after end of chain: 354 0x00000000
Warn : Unexpected idcode after end of chain: 386 0x00000000
Warn : Unexpected idcode after end of chain: 418 0x00000000
Warn : Unexpected idcode after end of chain: 450 0x00000000
Warn : Unexpected idcode after end of chain: 482 0x00000000
Warn : Unexpected idcode after end of chain: 514 0x00000000
Warn : Unexpected idcode after end of chain: 546 0x00000000
Warn : Unexpected idcode after end of chain: 578 0x00000000
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Info : inter: 0.000105, inter2: 0.000106 end: 0.001445
Info : JTAG tap: mico_0.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_1.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_2.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_3.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : JTAG tap: mico_4.cpu tap/device found: 0x01273043 (mfg: 0x021,
part: 0x1273, ver: 0x0)
Info : TAP pera10_0.cpu does not have IDCODE
Warn : JTAG tap: pera10_0.cpu       UNEXPECTED: 0x00000000 (mfg:
0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pera10_0.cpu  expected 1 of 1: 0x15940477 (mfg:
0x23b, part: 0x5940, ver: 0x1)
Info : TAP pera10_1.cpu does not have IDCODE
Warn : JTAG tap: pera10_1.cpu       UNEXPECTED: 0x00000000 (mfg:
0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pera10_1.cpu  expected 1 of 1: 0x15946477 (mfg:
0x23b, part: 0x5946, ver: 0x1)
Warn : Unexpected idcode after end of chain: 162 0x00000000
Warn : Unexpected idcode after end of chain: 194 0x00000000
Warn : Unexpected idcode after end of chain: 226 0x00000000
Warn : Unexpected idcode after end of chain: 258 0x00000000
Warn : Unexpected idcode after end of chain: 290 0x00000000
Warn : Unexpected idcode after end of chain: 322 0x00000000
Warn : Unexpected idcode after end of chain: 354 0x00000000
Warn : Unexpected idcode after end of chain: 386 0x00000000
Warn : Unexpected idcode after end of chain: 418 0x00000000
Warn : Unexpected idcode after end of chain: 450 0x00000000
Warn : Unexpected idcode after end of chain: 482 0x00000000
Warn : Unexpected idcode after end of chain: 514 0x00000000
Warn : Unexpected idcode after end of chain: 546 0x00000000
Warn : Unexpected idcode after end of chain: 578 0x00000000
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Command handler execution failed
in procedure 'transport'
Command handler execution failed
in procedure 'init'
r...@konj:~/openocd/openocd/src#



-------------------------------------------------------------------------
More detailed, with more debug information (-d3 option) :
====================================


r...@konj:~/openocd/openocd/src# openocd -d3 -f pera_openocd.cfg
Open On-Chip Debugger 0.5.0-dev-00494-g5c98e06-dirty (2010-08-24-20:22)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
User : 11 2 command.c:543 command_print() 71184: debug_level: 3
Debug: 12 2 configuration.c:45 add_script_search_dir() 72424: adding
/home/ddraskovic/.openocd
Debug: 13 2 configuration.c:45 add_script_search_dir() 72408: adding
/usr/local/share/openocd/site
Debug: 14 2 configuration.c:45 add_script_search_dir() 72360: adding
/usr/local/share/openocd/scripts
Debug: 15 2 configuration.c:87 find_file() 69944: found pera_openocd.cfg
Debug: 16 2 configuration.c:87 find_file() 67920: found
../tcl/interface/jtagkey2.cfg
Debug: 17 2 command.c:133 script_debug() 63432: command - ocd_command
ocd_command type ocd_interface ft2232
Debug: 18 2 command.c:133 script_debug() 63512: command - interface
ocd_interface ft2232
Debug: 20 2 command.c:350 register_command_handler() 63280:
registering 'ocd_ft2232_device_desc'...
Debug: 21 2 command.c:350 register_command_handler() 62600:
registering 'ocd_ft2232_serial'...
Debug: 22 2 command.c:350 register_command_handler() 62032:
registering 'ocd_ft2232_layout'...
Debug: 23 2 command.c:350 register_command_handler() 61488:
registering 'ocd_ft2232_vid_pid'...
Debug: 24 2 command.c:350 register_command_handler() 60976:
registering 'ocd_ft2232_latency'...
Info : 25 2 transport.c:123 allow_transports() 60616: only one
transport option; autoselect 'jtag'
Debug: 26 2 command.c:350 register_command_handler() 60256:
registering 'ocd_jtag_flush_queue_sleep'...
Debug: 27 2 command.c:350 register_command_handler() 59624:
registering 'ocd_jtag_rclk'...
Debug: 28 2 command.c:350 register_command_handler() 59112:
registering 'ocd_jtag_ntrst_delay'...
Debug: 29 2 command.c:350 register_command_handler() 58568:
registering 'ocd_jtag_ntrst_assert_width'...
Debug: 30 2 command.c:350 register_command_handler() 58088:
registering 'ocd_scan_chain'...
Debug: 31 2 command.c:350 register_command_handler() 57560:
registering 'ocd_jtag_reset'...
Debug: 32 2 command.c:350 register_command_handler() 57056:
registering 'ocd_runtest'...
Debug: 33 2 command.c:350 register_command_handler() 56456:
registering 'ocd_irscan'...
Debug: 34 2 command.c:350 register_command_handler() 55880:
registering 'ocd_verify_ircapture'...
Debug: 35 2 command.c:350 register_command_handler() 55312:
registering 'ocd_verify_jtag'...
Debug: 36 2 command.c:350 register_command_handler() 54712:
registering 'ocd_tms_sequence'...
Debug: 37 2 command.c:350 register_command_handler() 54168:
registering 'ocd_jtag'...
Debug: 38 2 command.c:350 register_command_handler() 53648:
registering 'ocd_jtag'...
Debug: 39 2 command.c:350 register_command_handler() 53344:
registering 'ocd_jtag'...
Debug: 40 2 command.c:350 register_command_handler() 53032:
registering 'ocd_jtag'...
Debug: 41 2 command.c:350 register_command_handler() 52856:
registering 'ocd_jtag'...
Debug: 42 2 command.c:350 register_command_handler() 52704:
registering 'ocd_jtag'...
Debug: 43 2 command.c:350 register_command_handler() 52552:
registering 'ocd_jtag'...
Debug: 44 2 command.c:350 register_command_handler() 52376:
registering 'ocd_jtag'...
Debug: 45 2 command.c:350 register_command_handler() 52216:
registering 'ocd_jtag'...
Debug: 46 2 command.c:350 register_command_handler() 52112:
registering 'ocd_jtag'...
Debug: 47 2 command.c:350 register_command_handler() 51904:
registering 'ocd_jtag'...
Debug: 48 2 command.c:350 register_command_handler() 51768:
registering 'ocd_jtag'...
Debug: 49 2 command.c:350 register_command_handler() 51552:
registering 'ocd_jtag'...
Debug: 50 2 command.c:350 register_command_handler() 50656:
registering 'ocd_svf'...
Debug: 51 2 command.c:350 register_command_handler() 50112:
registering 'ocd_xsvf'...
Debug: 52 2 command.c:133 script_debug() 49184: command - ocd_command
ocd_command type ocd_ft2232_device_desc Amontec JTAGkey-2
Debug: 53 2 command.c:133 script_debug() 49232: command -
ft2232_device_desc ocd_ft2232_device_desc Amontec JTAGkey-2
Debug: 55 2 command.c:133 script_debug() 48576: command - ocd_command
ocd_command type ocd_ft2232_layout jtagkey
Debug: 56 2 command.c:133 script_debug() 48664: command -
ft2232_layout ocd_ft2232_layout jtagkey
Debug: 58 2 command.c:133 script_debug() 47616: command - ocd_command
ocd_command type ocd_ft2232_vid_pid 0x0403 0xCFF8
Debug: 59 2 command.c:133 script_debug() 47688: command -
ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0xCFF8
Debug: 61 2 configuration.c:87 find_file() 50584: found ./pera10.cfg
Debug: 62 3 command.c:133 script_debug() 31152: command - ocd_command
ocd_command type ocd_jtag_rclk 300
Debug: 63 3 command.c:133 script_debug() 31216: command - jtag_rclk
ocd_jtag_rclk 300
Debug: 65 3 core.c:1637 jtag_config_rclk() 31200: handle jtag rclk
Debug: 66 3 core.c:1591 adapter_khz_to_speed() 31168: convert khz to
interface specific speed value
User : 67 3 command.c:543 command_print() 31176: RCLK - adaptive
Debug: 68 3 command.c:133 script_debug() 29304: command - ocd_command
ocd_command type ocd_adapter_khz 0
Debug: 69 3 command.c:133 script_debug() 29368: command - adapter_khz
ocd_adapter_khz 0
Debug: 71 3 core.c:1628 jtag_config_khz() 29352: handle jtag khz
Debug: 72 3 core.c:1591 adapter_khz_to_speed() 29320: convert khz to
interface specific speed value
User : 73 3 command.c:543 command_print() 29328: RCLK - adaptive
Debug: 74 3 command.c:133 script_debug() 29384: command - ocd_command
ocd_command type ocd_scan_chain
Debug: 75 3 command.c:133 script_debug() 29504: command - scan_chain
ocd_scan_chain
User : 77 3 command.c:543 command_print() 29368:    TapName
 Enabled  IdCode     Expected   IrLen IrCap IrMask
User : 78 3 command.c:543 command_print() 29216: --
------------------- -------- ---------- ---------- ----- ----- ------
Debug: 79 3 command.c:133 script_debug() 25976: command - ocd_command
ocd_command type ocd_jtag newtap mico_0 cpu -ignore-version -irlen 8
-expected-id 0x01273043
Debug: 80 3 command.c:133 script_debug() 25352: command - ocd_jtag
ocd_jtag newtap mico_0 cpu -ignore-version -irlen 8 -expected-id
0x01273043
Debug: 81 3 tcl.c:573 jim_newtap_cmd() 25352: Creating New Tap, Chip:
mico_0, Tap: cpu, Dotted: mico_0.cpu, 5 params
Debug: 82 3 tcl.c:590 jim_newtap_cmd() 25392: Processing option: -ignore-version
Debug: 83 3 tcl.c:590 jim_newtap_cmd() 25400: Processing option: -irlen
Debug: 84 3 tcl.c:590 jim_newtap_cmd() 25392: Processing option: -expected-id
Debug: 85 3 core.c:1349 jtag_tap_init() 25272: Created Tap: mico_0.cpu
@ abs position 0, irlen 8, capture: 0x1 mask: 0x3
Debug: 86 3 command.c:133 script_debug() 24880: command - ocd_command
ocd_command type ocd_jtag newtap mico_1 cpu -ignore-version -irlen 8
-expected-id 0x01273043
Debug: 87 3 command.c:133 script_debug() 24976: command - ocd_jtag
ocd_jtag newtap mico_1 cpu -ignore-version -irlen 8 -expected-id
0x01273043
Debug: 88 3 tcl.c:573 jim_newtap_cmd() 24976: Creating New Tap, Chip:
mico_1, Tap: cpu, Dotted: mico_1.cpu, 5 params
Debug: 89 3 tcl.c:590 jim_newtap_cmd() 25016: Processing option: -ignore-version
Debug: 90 3 tcl.c:590 jim_newtap_cmd() 25024: Processing option: -irlen
Debug: 91 3 tcl.c:590 jim_newtap_cmd() 25016: Processing option: -expected-id
Debug: 92 3 core.c:1349 jtag_tap_init() 24896: Created Tap: mico_1.cpu
@ abs position 0, irlen 8, capture: 0x1 mask: 0x3
Debug: 93 3 command.c:133 script_debug() 24624: command - ocd_command
ocd_command type ocd_jtag newtap mico_2 cpu -ignore-version -irlen 8
-expected-id 0x01273043
Debug: 94 3 command.c:133 script_debug() 24768: command - ocd_jtag
ocd_jtag newtap mico_2 cpu -ignore-version -irlen 8 -expected-id
0x01273043
Debug: 95 3 tcl.c:573 jim_newtap_cmd() 24760: Creating New Tap, Chip:
mico_2, Tap: cpu, Dotted: mico_2.cpu, 5 params
Debug: 96 3 tcl.c:590 jim_newtap_cmd() 24800: Processing option: -ignore-version
Debug: 97 3 tcl.c:590 jim_newtap_cmd() 24808: Processing option: -irlen
Debug: 98 3 tcl.c:590 jim_newtap_cmd() 24800: Processing option: -expected-id
Debug: 99 3 core.c:1349 jtag_tap_init() 24680: Created Tap: mico_2.cpu
@ abs position 0, irlen 8, capture: 0x1 mask: 0x3
Debug: 100 3 command.c:133 script_debug() 24408: command - ocd_command
ocd_command type ocd_jtag newtap mico_3 cpu -ignore-version -irlen 8
-expected-id 0x01273043
Debug: 101 11 command.c:133 script_debug() 24536: command - ocd_jtag
ocd_jtag newtap mico_3 cpu -ignore-version -irlen 8 -expected-id
0x01273043
Debug: 102 11 tcl.c:573 jim_newtap_cmd() 24528: Creating New Tap,
Chip: mico_3, Tap: cpu, Dotted: mico_3.cpu, 5 params
Debug: 103 11 tcl.c:590 jim_newtap_cmd() 24568: Processing option:
-ignore-version
Debug: 104 11 tcl.c:590 jim_newtap_cmd() 24576: Processing option: -irlen
Debug: 105 11 tcl.c:590 jim_newtap_cmd() 24568: Processing option: -expected-id
Debug: 106 11 core.c:1349 jtag_tap_init() 24448: Created Tap:
mico_3.cpu @ abs position 0, irlen 8, capture: 0x1 mask: 0x3
Debug: 107 11 command.c:133 script_debug() 24208: command -
ocd_command ocd_command type ocd_jtag newtap mico_4 cpu
-ignore-version -irlen 8 -expected-id 0x01273043
Debug: 108 11 command.c:133 script_debug() 24328: command - ocd_jtag
ocd_jtag newtap mico_4 cpu -ignore-version -irlen 8 -expected-id
0x01273043
Debug: 109 11 tcl.c:573 jim_newtap_cmd() 24320: Creating New Tap,
Chip: mico_4, Tap: cpu, Dotted: mico_4.cpu, 5 params
Debug: 110 11 tcl.c:590 jim_newtap_cmd() 24360: Processing option:
-ignore-version
Debug: 111 11 tcl.c:590 jim_newtap_cmd() 24368: Processing option: -irlen
Debug: 112 11 tcl.c:590 jim_newtap_cmd() 24360: Processing option: -expected-id
Debug: 113 11 core.c:1349 jtag_tap_init() 24240: Created Tap:
mico_4.cpu @ abs position 0, irlen 8, capture: 0x1 mask: 0x3
Debug: 114 11 command.c:133 script_debug() 24192: command -
ocd_command ocd_command type ocd_jtag newtap pera10_0 cpu -irlen 4
-expected-id 0x15940477
Debug: 115 11 command.c:133 script_debug() 24408: command - ocd_jtag
ocd_jtag newtap pera10_0 cpu -irlen 4 -expected-id 0x15940477
Debug: 116 11 tcl.c:573 jim_newtap_cmd() 24360: Creating New Tap,
Chip: pera10_0, Tap: cpu, Dotted: pera10_0.cpu, 4 params
Debug: 117 11 tcl.c:590 jim_newtap_cmd() 24416: Processing option: -irlen
Debug: 118 11 tcl.c:590 jim_newtap_cmd() 24408: Processing option: -expected-id
Debug: 119 11 core.c:1349 jtag_tap_init() 24272: Created Tap:
pera10_0.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0x3
Debug: 120 11 command.c:133 script_debug() 23984: command -
ocd_command ocd_command type ocd_jtag newtap pera10_1 cpu -irlen 4
-expected-id 0x15946477
Debug: 121 11 command.c:133 script_debug() 24184: command - ocd_jtag
ocd_jtag newtap pera10_1 cpu -irlen 4 -expected-id 0x15946477
Debug: 122 11 tcl.c:573 jim_newtap_cmd() 24136: Creating New Tap,
Chip: pera10_1, Tap: cpu, Dotted: pera10_1.cpu, 4 params
Debug: 123 11 tcl.c:590 jim_newtap_cmd() 24192: Processing option: -irlen
Debug: 124 11 tcl.c:590 jim_newtap_cmd() 24184: Processing option: -expected-id
Debug: 125 11 core.c:1349 jtag_tap_init() 24056: Created Tap:
pera10_1.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0x3
Debug: 126 11 httpd_stubs.c:28 httpd_start() 38648: libocdserver was
built without HTTPD support
Debug: 127 11 command.c:133 script_debug() 37112: command -
ocd_command ocd_command type ocd_init
Debug: 128 11 command.c:133 script_debug() 37232: command - init ocd_init
Debug: 130 11 command.c:133 script_debug() 35656: command -
ocd_command ocd_command type ocd_target init
Debug: 131 11 command.c:133 script_debug() 35760: command - ocd_target
ocd_target init
Debug: 133 11 target.c:888 handle_target_init_command() 35744:
Initializing targets...
Debug: 134 11 ft2232.c:2336 ft2232_init() 36920: ft2232 interface
using shortest path jtag state transitions
Debug: 135 11 ft2232.c:2249 ft2232_init_libftdi() 36920: 'ft2232'
interface using libftdi with 'jtagkey' layout (0403:cff8)
Debug: 136 290 ft2232.c:2296 ft2232_init_libftdi() 79160: current
latency timer: 2
Debug: 137 290 ft2232.c:2307 ft2232_init_libftdi() 79160: FTDI chip
type: 4 "2232H"
Debug: 138 290 ft2232.c:2701 jtagkey_init() 79176: 80 08 1b
Debug: 139 290 ft2232.c:2760 jtagkey_init() 79176: 82 09 0f
Info : 140 290 ft2232.c:622 ft2232h_ft4232h_clk_divide_by_5() 79144:
max TCK change to: 30000 kHz
Debug: 141 291 core.c:1591 adapter_khz_to_speed() 79088: convert khz
to interface specific speed value
Debug: 142 291 core.c:1595 adapter_khz_to_speed() 79112: have interface set up
Debug: 143 291 ft2232.c:590 ft2232h_ft4232h_adaptive_clocking() 79128: 96
Debug: 144 291 core.c:1591 adapter_khz_to_speed() 79088: convert khz
to interface specific speed value
Debug: 145 291 core.c:1595 adapter_khz_to_speed() 79112: have interface set up
Info : 146 291 core.c:1421 adapter_init() 79096: RCLK (adaptive clock speed)
Debug: 147 291 openocd.c:124 handle_init_command() 79096: Debug
Adapter init complete
Debug: 148 291 command.c:133 script_debug() 77440: command -
ocd_command ocd_command type ocd_transport init
Debug: 149 291 command.c:133 script_debug() 77560: command -
ocd_transport ocd_transport init
Debug: 151 291 transport.c:253 handle_transport_init() 77560:
handle_transport_init
Debug: 152 291 ft2232.c:1937 ft2232_execute_reset() 77544: reset trst: 0 srst 0
Debug: 153 291 ft2232.c:1455 jtagkey_reset() 77512: trst: 0, srst: 0,
high_output: 0x09, high_direction: 0x0f
Debug: 154 292 ft2232.c:1958 ft2232_execute_reset() 77552: trst: 0, srst: 0
Debug: 155 292 ft2232.c:790 ft2232_send_and_recv() 77544: write buffer (size 3):
Debug: 156 292 ft2232.c:771 ft2232_debug_dump_buffer() 77560: 82 09 0f
Debug: 157 292 core.c:714 jtag_add_reset() 77568: SRST line released
Debug: 158 292 core.c:738 jtag_add_reset() 77568: TRST line released
Debug: 159 292 core.c:330 jtag_call_event_callbacks() 77560: jtag
event: TAP reset
Debug: 160 292 command.c:133 script_debug() 75000: command -
ocd_command ocd_command type ocd_jtag arp_init
Debug: 161 292 command.c:133 script_debug() 75160: command - ocd_jtag
ocd_jtag arp_init
Debug: 162 292 core.c:1432 jtag_init_inner() 75232: Init JTAG chain
Debug: 163 292 core.c:330 jtag_call_event_callbacks() 75208: jtag
event: TAP reset
Debug: 164 292 ft2232.c:1749 ft2232_execute_statemove() 75208:
statemove end in RESET
Debug: 165 292 ft2232.c:419 clock_tms() 75184: mpsse cmd=4b, tms_bits
= 0x000000ff, bit_count=5
Debug: 166 292 ft2232.c:429 clock_tms() 75208: tap_set_state(RESET)
Debug: 167 292 ft2232.c:429 clock_tms() 75208: tap_set_state(RESET)
Debug: 168 292 ft2232.c:429 clock_tms() 75208: tap_set_state(RESET)
Debug: 169 292 ft2232.c:429 clock_tms() 75208: tap_set_state(RESET)
Debug: 170 292 ft2232.c:429 clock_tms() 75208: tap_set_state(RESET)
Debug: 171 292 ft2232.c:790 ft2232_send_and_recv() 75208: write buffer (size 3):
Debug: 172 292 ft2232.c:771 ft2232_debug_dump_buffer() 75216: 4b 04 1f
Debug: 173 292 core.c:1049 jtag_examine_chain() 75208: DR scan
interrogation for IDCODE/BYPASS
Debug: 174 293 core.c:330 jtag_call_event_callbacks() 75208: jtag
event: TAP reset
Debug: 175 293 ft2232.c:1884 ft2232_execute_scan() 75216: DRSCAN type:3
Debug: 176 293 commands.c:189 jtag_build_buffer() 75120: DRSCAN num_fields: 1
Debug: 177 293 commands.c:202 jtag_build_buffer() 75072:
fields[0].out_value[640]: 0x000000FF000000FF
Debug: 178 293 ft2232.c:480 move_to_state() 75120: start=RESET goal=DRSHIFT
Debug: 179 293 ft2232.c:419 clock_tms() 75096: mpsse cmd=4b, tms_bits
= 0x00000017, bit_count=7
Debug: 180 293 ft2232.c:429 clock_tms() 75120: tap_set_state(RESET)
Debug: 181 293 ft2232.c:429 clock_tms() 75120: tap_set_state(RESET)
Debug: 182 293 ft2232.c:429 clock_tms() 75120: tap_set_state(RESET)
Debug: 183 293 ft2232.c:429 clock_tms() 75120: tap_set_state(RUN/IDLE)
Debug: 184 293 ft2232.c:429 clock_tms() 75120: tap_set_state(DRSELECT)
Debug: 185 293 ft2232.c:429 clock_tms() 75120: tap_set_state(DRCAPTURE)
Debug: 186 293 ft2232.c:429 clock_tms() 75120: tap_set_state(DRSHIFT)
Debug: 187 293 ft2232.c:1103 ft2232_add_scan() 75128: finish via PAUSE
Debug: 188 293 ft2232.c:419 clock_tms() 75096: mpsse cmd=6b, tms_bits
= 0x00000001, bit_count=2
Debug: 189 293 ft2232.c:429 clock_tms() 75120: tap_set_state(DREXIT1)
Debug: 190 293 ft2232.c:429 clock_tms() 75120: tap_set_state(DRPAUSE)
Debug: 191 293 ft2232.c:1925 ft2232_execute_scan() 75200: DR scan, 640
bits, end in DRPAUSE
Debug: 192 293 ft2232.c:1749 ft2232_execute_statemove() 75208:
statemove end in RESET
Debug: 193 293 ft2232.c:419 clock_tms() 75184: mpsse cmd=4b, tms_bits
= 0x000000ff, bit_count=5
Debug: 194 293 ft2232.c:429 clock_tms() 75208: tap_set_state(DREXIT2)
Debug: 195 293 ft2232.c:429 clock_tms() 75208: tap_set_state(DRUPDATE)
Debug: 196 293 ft2232.c:429 clock_tms() 75208: tap_set_state(DRSELECT)
Debug: 197 293 ft2232.c:429 clock_tms() 75208: tap_set_state(IRSELECT)
Debug: 198 293 ft2232.c:429 clock_tms() 75208: tap_set_state(RESET)
Debug: 199 293 ft2232.c:790 ft2232_send_and_recv() 75208: write buffer
(size 94):
Debug: 200 293 ft2232.c:765 ft2232_debug_dump_buffer() 75184: 4b 06 17
39 4e 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 201 293 ft2232.c:765 ft2232_debug_dump_buffer() 75184: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 202 293 ft2232.c:765 ft2232_debug_dump_buffer() 75184: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 203 293 ft2232.c:765 ft2232_debug_dump_buffer() 75184: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 204 293 ft2232.c:765 ft2232_debug_dump_buffer() 75184: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 205 293 ft2232.c:771 ft2232_debug_dump_buffer() 75192: 00 00 ff
00 00 3b 06 00 6b 01 01 4b 04 1f
Info : 206 293 ft2232.c:834 ft2232_send_and_recv() 75184: inter:
0.000108, inter2: 0.000109 end: 0.000236
Debug: 207 293 ft2232.c:855 ft2232_send_and_recv() 74936: read buffer
(0 retries): 81 bytes
Debug: 208 293 ft2232.c:765 ft2232_debug_dump_buffer() 74920: 43 30 27
01 43 30 27 01 43 30 27 01 43 30 27 01
Debug: 209 293 ft2232.c:765 ft2232_debug_dump_buffer() 74920: 43 30 27
01 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 210 293 ft2232.c:765 ft2232_debug_dump_buffer() 74920: 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 211 293 ft2232.c:765 ft2232_debug_dump_buffer() 74920: 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 212 293 ft2232.c:765 ft2232_debug_dump_buffer() 74920: 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 213 293 ft2232.c:771 ft2232_debug_dump_buffer() 74952: 00
Debug: 214 293 commands.c:248 jtag_read_buffer() 74720:
fields[0].in_value[640]: 0x0127304301273043
Info : 215 293 core.c:949 jtag_examine_chain_display() 74896: JTAG
tap: mico_0.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 216 293 core.c:949 jtag_examine_chain_display() 74728: JTAG
tap: mico_1.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 217 293 core.c:949 jtag_examine_chain_display() 74376: JTAG
tap: mico_2.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 218 293 core.c:949 jtag_examine_chain_display() 74032: JTAG
tap: mico_3.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 219 293 core.c:949 jtag_examine_chain_display() 74032: JTAG
tap: mico_4.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 220 293 core.c:1072 jtag_examine_chain() 74080: TAP
pera10_0.cpu does not have IDCODE
Warn : 221 293 core.c:949 jtag_examine_chain_display() 73432: JTAG
tap: pera10_0.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part:
0x0000, ver: 0x0)
Error: 222 293 core.c:949 jtag_examine_chain_display() 73432: JTAG
tap: pera10_0.cpu  expected 1 of 1: 0x15940477 (mfg: 0x23b, part:
0x5940, ver: 0x1)
Info : 223 293 core.c:1072 jtag_examine_chain() 72688: TAP
pera10_1.cpu does not have IDCODE
Warn : 224 293 core.c:949 jtag_examine_chain_display() 72640: JTAG
tap: pera10_1.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part:
0x0000, ver: 0x0)
Error: 225 293 core.c:949 jtag_examine_chain_display() 72640: JTAG
tap: pera10_1.cpu  expected 1 of 1: 0x15946477 (mfg: 0x23b, part:
0x5946, ver: 0x1)
Warn : 226 307 core.c:987 jtag_examine_chain_end() 72672: Unexpected
idcode after end of chain: 162 0x00000000
Warn : 227 307 core.c:987 jtag_examine_chain_end() 72672: Unexpected
idcode after end of chain: 194 0x00000000
Warn : 228 307 core.c:987 jtag_examine_chain_end() 72672: Unexpected
idcode after end of chain: 226 0x00000000
Warn : 229 307 core.c:987 jtag_examine_chain_end() 72672: Unexpected
idcode after end of chain: 258 0x00000000
Warn : 230 307 core.c:987 jtag_examine_chain_end() 71448: Unexpected
idcode after end of chain: 290 0x00000000
Warn : 231 307 core.c:987 jtag_examine_chain_end() 71448: Unexpected
idcode after end of chain: 322 0x00000000
Warn : 232 307 core.c:987 jtag_examine_chain_end() 71448: Unexpected
idcode after end of chain: 354 0x00000000
Warn : 233 307 core.c:987 jtag_examine_chain_end() 71448: Unexpected
idcode after end of chain: 386 0x00000000
Warn : 234 307 core.c:987 jtag_examine_chain_end() 71448: Unexpected
idcode after end of chain: 418 0x00000000
Warn : 235 307 core.c:987 jtag_examine_chain_end() 71448: Unexpected
idcode after end of chain: 450 0x00000000
Warn : 236 307 core.c:987 jtag_examine_chain_end() 69952: Unexpected
idcode after end of chain: 482 0x00000000
Warn : 237 307 core.c:987 jtag_examine_chain_end() 69952: Unexpected
idcode after end of chain: 514 0x00000000
Warn : 238 307 core.c:987 jtag_examine_chain_end() 69952: Unexpected
idcode after end of chain: 546 0x00000000
Warn : 239 307 core.c:987 jtag_examine_chain_end() 69952: Unexpected
idcode after end of chain: 578 0x00000000
Error: 240 307 core.c:1161 jtag_examine_chain() 69944: double-check
your JTAG setup (interface, speed, missing TAPs, ...)
Debug: 241 307 command.c:133 script_debug() 68760: command -
ocd_command ocd_command type ocd_jtag arp_init-reset
Debug: 242 307 command.c:133 script_debug() 68920: command - ocd_jtag
ocd_jtag arp_init-reset
Debug: 243 307 core.c:1519 jtag_init_reset() 68968: Initializing with
hard TRST+SRST reset
Debug: 244 307 core.c:727 jtag_add_reset() 68968: JTAG reset with TLR
instead of TRST
Debug: 245 307 core.c:330 jtag_call_event_callbacks() 68968: jtag
event: TAP reset
Debug: 246 307 ft2232.c:1749 ft2232_execute_statemove() 68968:
statemove end in RESET
Debug: 247 307 ft2232.c:419 clock_tms() 68936: mpsse cmd=4b, tms_bits
= 0x000000ff, bit_count=5
Debug: 248 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 249 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 250 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 251 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 252 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 253 307 ft2232.c:790 ft2232_send_and_recv() 68968: write buffer (size 3):
Debug: 254 307 ft2232.c:771 ft2232_debug_dump_buffer() 68984: 4b 04 1f
Debug: 255 307 core.c:1432 jtag_init_inner() 68992: Init JTAG chain
Debug: 256 307 core.c:330 jtag_call_event_callbacks() 68968: jtag
event: TAP reset
Debug: 257 307 ft2232.c:1749 ft2232_execute_statemove() 68968:
statemove end in RESET
Debug: 258 307 ft2232.c:419 clock_tms() 68936: mpsse cmd=4b, tms_bits
= 0x000000ff, bit_count=5
Debug: 259 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 260 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 261 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 262 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 263 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 264 307 ft2232.c:790 ft2232_send_and_recv() 68968: write buffer (size 3):
Debug: 265 307 ft2232.c:771 ft2232_debug_dump_buffer() 68984: 4b 04 1f
Debug: 266 307 core.c:1049 jtag_examine_chain() 68968: DR scan
interrogation for IDCODE/BYPASS
Debug: 267 307 core.c:330 jtag_call_event_callbacks() 68968: jtag
event: TAP reset
Debug: 268 307 ft2232.c:1884 ft2232_execute_scan() 68976: DRSCAN type:3
Debug: 269 307 commands.c:189 jtag_build_buffer() 68880: DRSCAN num_fields: 1
Debug: 270 307 commands.c:202 jtag_build_buffer() 68824:
fields[0].out_value[640]: 0x000000FF000000FF
Debug: 271 307 ft2232.c:480 move_to_state() 68880: start=RESET goal=DRSHIFT
Debug: 272 307 ft2232.c:419 clock_tms() 68856: mpsse cmd=4b, tms_bits
= 0x00000017, bit_count=7
Debug: 273 307 ft2232.c:429 clock_tms() 68880: tap_set_state(RESET)
Debug: 274 307 ft2232.c:429 clock_tms() 68880: tap_set_state(RESET)
Debug: 275 307 ft2232.c:429 clock_tms() 68880: tap_set_state(RESET)
Debug: 276 307 ft2232.c:429 clock_tms() 68880: tap_set_state(RUN/IDLE)
Debug: 277 307 ft2232.c:429 clock_tms() 68880: tap_set_state(DRSELECT)
Debug: 278 307 ft2232.c:429 clock_tms() 68880: tap_set_state(DRCAPTURE)
Debug: 279 307 ft2232.c:429 clock_tms() 68880: tap_set_state(DRSHIFT)
Debug: 280 307 ft2232.c:1103 ft2232_add_scan() 68888: finish via PAUSE
Debug: 281 307 ft2232.c:419 clock_tms() 68856: mpsse cmd=6b, tms_bits
= 0x00000001, bit_count=2
Debug: 282 307 ft2232.c:429 clock_tms() 68880: tap_set_state(DREXIT1)
Debug: 283 307 ft2232.c:429 clock_tms() 68880: tap_set_state(DRPAUSE)
Debug: 284 307 ft2232.c:1925 ft2232_execute_scan() 68960: DR scan, 640
bits, end in DRPAUSE
Debug: 285 307 ft2232.c:1749 ft2232_execute_statemove() 68968:
statemove end in RESET
Debug: 286 307 ft2232.c:419 clock_tms() 68944: mpsse cmd=4b, tms_bits
= 0x000000ff, bit_count=5
Debug: 287 307 ft2232.c:429 clock_tms() 68968: tap_set_state(DREXIT2)
Debug: 288 307 ft2232.c:429 clock_tms() 68968: tap_set_state(DRUPDATE)
Debug: 289 307 ft2232.c:429 clock_tms() 68968: tap_set_state(DRSELECT)
Debug: 290 307 ft2232.c:429 clock_tms() 68968: tap_set_state(IRSELECT)
Debug: 291 307 ft2232.c:429 clock_tms() 68968: tap_set_state(RESET)
Debug: 292 307 ft2232.c:790 ft2232_send_and_recv() 68968: write buffer
(size 94):
Debug: 293 307 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 4b 06 17
39 4e 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 294 307 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 295 307 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 296 307 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 297 307 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 ff
00 00 00 ff 00 00 00 ff 00 00 00 ff 00
Debug: 298 307 ft2232.c:771 ft2232_debug_dump_buffer() 68952: 00 00 ff
00 00 3b 06 00 6b 01 01 4b 04 1f
Info : 299 308 ft2232.c:834 ft2232_send_and_recv() 68944: inter:
0.000074, inter2: 0.000075 end: 0.000197
Debug: 300 308 ft2232.c:855 ft2232_send_and_recv() 68960: read buffer
(0 retries): 81 bytes
Debug: 301 308 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 43 30 27
01 43 30 27 01 43 30 27 01 43 30 27 01
Debug: 302 308 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 43 30 27
01 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 303 308 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 304 308 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 305 308 ft2232.c:765 ft2232_debug_dump_buffer() 68944: 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00
Debug: 306 308 ft2232.c:771 ft2232_debug_dump_buffer() 68984: 00
Debug: 307 308 commands.c:248 jtag_read_buffer() 68744:
fields[0].in_value[640]: 0x0127304301273043
Info : 308 308 core.c:949 jtag_examine_chain_display() 68920: JTAG
tap: mico_0.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 309 308 core.c:949 jtag_examine_chain_display() 68920: JTAG
tap: mico_1.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 310 308 core.c:949 jtag_examine_chain_display() 68920: JTAG
tap: mico_2.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 311 308 core.c:949 jtag_examine_chain_display() 68920: JTAG
tap: mico_3.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 312 308 core.c:949 jtag_examine_chain_display() 68920: JTAG
tap: mico_4.cpu tap/device found: 0x01273043 (mfg: 0x021, part:
0x1273, ver: 0x0)
Info : 313 308 core.c:1072 jtag_examine_chain() 68968: TAP
pera10_0.cpu does not have IDCODE
Warn : 314 308 core.c:949 jtag_examine_chain_display() 68920: JTAG
tap: pera10_0.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part:
0x0000, ver: 0x0)
Error: 315 308 core.c:949 jtag_examine_chain_display() 66504: JTAG
tap: pera10_0.cpu  expected 1 of 1: 0x15940477 (mfg: 0x23b, part:
0x5940, ver: 0x1)
Info : 316 308 core.c:1072 jtag_examine_chain() 66552: TAP
pera10_1.cpu does not have IDCODE
Warn : 317 308 core.c:949 jtag_examine_chain_display() 66504: JTAG
tap: pera10_1.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part:
0x0000, ver: 0x0)
Error: 318 308 core.c:949 jtag_examine_chain_display() 66504: JTAG
tap: pera10_1.cpu  expected 1 of 1: 0x15946477 (mfg: 0x23b, part:
0x5946, ver: 0x1)
Warn : 319 308 core.c:987 jtag_examine_chain_end() 66536: Unexpected
idcode after end of chain: 162 0x00000000
Warn : 320 308 core.c:987 jtag_examine_chain_end() 66536: Unexpected
idcode after end of chain: 194 0x00000000
Warn : 321 308 core.c:987 jtag_examine_chain_end() 66536: Unexpected
idcode after end of chain: 226 0x00000000
Warn : 322 308 core.c:987 jtag_examine_chain_end() 66536: Unexpected
idcode after end of chain: 258 0x00000000
Warn : 323 308 core.c:987 jtag_examine_chain_end() 66536: Unexpected
idcode after end of chain: 290 0x00000000
Warn : 324 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 322 0x00000000
Warn : 325 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 354 0x00000000
Warn : 326 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 386 0x00000000
Warn : 327 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 418 0x00000000
Warn : 328 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 450 0x00000000
Warn : 329 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 482 0x00000000
Warn : 330 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 514 0x00000000
Warn : 331 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 546 0x00000000
Warn : 332 308 core.c:987 jtag_examine_chain_end() 63608: Unexpected
idcode after end of chain: 578 0x00000000
Error: 333 308 core.c:1161 jtag_examine_chain() 63600: double-check
your JTAG setup (interface, speed, missing TAPs, ...)
Debug: 334 335 command.c:624 run_command() 64656: Command failed with
error code -4
User : 335 335 command.c:828 openocd_jim_vfprintf() 71744: Command
handler execution failed
User : 336 335 command.c:828 openocd_jim_vfprintf() 71728: in
procedure 'transport' User : 337 335 command.c:828
openocd_jim_vfprintf() 71760:
Debug: 338 335 command.c:624 run_command() 71752: Command failed with
error code -4
User : 339 335 command.c:828 openocd_jim_vfprintf() 77440: Command
handler execution failed
User : 340 335 command.c:828 openocd_jim_vfprintf() 77424: in
procedure 'init' User : 341 335 command.c:828 openocd_jim_vfprintf()
77456:
r...@konj:~/openocd/openocd/src#
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to