Hi,

I've been trying to get an arm-jtag-ew usb programmer to work (Olimex
arm-jtag-ew) with an imote2 board, which has a pxa271 CPU.

I'm using the latest openocd from git (cloned today) and I've tried with
both the attached configuration files (imote2.cfg, openocd.cfg) as well
as the stock imote2 config that comes with openocd. I've also tried
setting some adapter_khz, not setting it, etc, with no success.

It seems that the first jtag scan works successfully, but subsequent
scans fail miserably. The 'reset' command works (the device *is* reset)
but it throws an error:

JTAG scan chain interrogation failed: all ones.
Check JTAG interface, timings, target power, etc.
error: -100

halt, resume, etc don't work because the subsequent scans don't work;
openocd doesn't seem to be able to see in which state the cpu is.

I'm also attaching a log file (jtaglog.txt) of what openocd throws at
me. There are some whitespace lines separating the initial stuff from
the output after calling 'reset'.

Does anyone see what I'm doing wrong?

Thank you in advance,
Alex Hornung
interface arm-jtag-ew
#source [find board/crossbow_tech_imote2.cfg]
set CHIPNAME imote2
source [find target/pxa270.cfg]
jtag_nsrst_delay 800
jtag_ntrst_delay 0
# above, 800
reset_config trst_and_srst separate
# ... separate
set _FLASHNAME $_CHIPNAME.flash
flash bank $_FLASHNAME cfi 0x00000000 0x2000000 2 2 $_TARGETNAME
source [find interface/arm-jtag-ew.cfg]
jtag_khz 40000
jtag_nsrst_delay 800
jtag_ntrst_delay 0
reset_config trst_and_srst
#missing separate, above
jtag newtap imote2 cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id 
0x79265013
target create imote2.cpu xscale -endian little -chain-position imote2.cpu 
-variant pxa27x
imote2.cpu configure -work-area-virt 0x5c000000 -work-area-phys 0x5c000000 
-work-area-size 0x10000 -work-area-backup 1
flash bank imote2.flash cfi 0x00000000 0x2000000 2 2 imote2.cpu

#jtag_device 7 0x1 0x7f 0x7e
#daemon_startup reset
#target xscale little reset_halt 0 pxa27x
#working_area 0 0x5c000000 0x1000 nobackup
#run_and_halt_time 0 30
#flash bank cfi 0x00000000 0x2000000 2 2 0
r...@debian:~# /usr/local/bin/openocd -d3 -f imote2.cfg 
Open On-Chip Debugger 0.5.0-dev-00409-g0672a64 (2010-07-14-10:24)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
User : 10 1 command.c:543 command_print(): debug_level: 3
Debug: 11 1 configuration.c:45 add_script_search_dir(): adding /root/.openocd
Debug: 12 1 configuration.c:45 add_script_search_dir(): adding 
/usr/local/share/openocd/site
Debug: 13 1 configuration.c:45 add_script_search_dir(): adding 
/usr/local/share/openocd/scripts
Debug: 14 1 configuration.c:87 find_file(): found imote2.cfg
Debug: 15 1 configuration.c:87 find_file(): found 
/usr/local/share/openocd/scripts/interface/arm-jtag-ew.cfg
Debug: 16 1 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_interface arm-jtag-ew
Debug: 17 1 command.c:133 script_debug(): command - interface ocd_interface 
arm-jtag-ew
Debug: 19 1 command.c:350 register_command_handler(): registering 
'ocd_armjtagew_info'...
Warn : 20 1 adapter.c:171 handle_interface_command(): Adapter driver 
'arm-jtag-ew' did not declare which transports it allows; assuming legacy 
JTAG-only
Info : 21 1 transport.c:120 allow_transports(): only one transport option; 
autoselect 'jtag'
Debug: 22 1 command.c:350 register_command_handler(): registering 
'ocd_jtag_rclk'...
Debug: 23 1 command.c:350 register_command_handler(): registering 
'ocd_jtag_ntrst_delay'...
Debug: 24 1 command.c:350 register_command_handler(): registering 
'ocd_jtag_ntrst_assert_width'...
Debug: 25 1 command.c:350 register_command_handler(): registering 
'ocd_scan_chain'...
Debug: 26 1 command.c:350 register_command_handler(): registering 
'ocd_jtag_reset'...
Debug: 27 1 command.c:350 register_command_handler(): registering 
'ocd_runtest'...
Debug: 28 1 command.c:350 register_command_handler(): registering 
'ocd_irscan'...
Debug: 29 1 command.c:350 register_command_handler(): registering 
'ocd_verify_ircapture'...
Debug: 30 1 command.c:350 register_command_handler(): registering 
'ocd_verify_jtag'...
Debug: 31 1 command.c:350 register_command_handler(): registering 
'ocd_tms_sequence'...
Debug: 32 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 33 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 34 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 35 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 36 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 37 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 38 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 39 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 40 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 41 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 42 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 43 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 44 1 command.c:350 register_command_handler(): registering 'ocd_jtag'...
Debug: 45 1 command.c:350 register_command_handler(): registering 'ocd_svf'...
Debug: 46 1 command.c:350 register_command_handler(): registering 'ocd_xsvf'...
Debug: 47 1 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_adapter_khz 40000
Debug: 48 1 command.c:133 script_debug(): command - adapter_khz ocd_adapter_khz 
40000
Debug: 50 1 core.c:1593 jtag_config_khz(): handle jtag khz
Debug: 51 1 core.c:1556 adapter_khz_to_speed(): convert khz to interface 
specific speed value
User : 52 1 command.c:543 command_print(): 40000 kHz
Debug: 53 1 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_adapter_nsrst_delay 800
Debug: 54 1 command.c:133 script_debug(): command - adapter_nsrst_delay 
ocd_adapter_nsrst_delay 800
User : 56 1 command.c:543 command_print(): adapter_nsrst_delay: 800
Debug: 57 1 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_jtag_ntrst_delay 0
Debug: 58 1 command.c:133 script_debug(): command - jtag_ntrst_delay 
ocd_jtag_ntrst_delay 0
User : 60 1 command.c:543 command_print(): jtag_ntrst_delay: 0
Debug: 61 1 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_reset_config trst_and_srst
Debug: 62 2 command.c:133 script_debug(): command - reset_config 
ocd_reset_config trst_and_srst
User : 64 2 command.c:543 command_print(): trst_and_srst separate 
srst_gates_jtag trst_push_pull srst_open_drain
Debug: 65 2 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_jtag newtap imote2 cpu -irlen 7 -ircapture 0x1 -irmask 0x7f 
-expected-id 0x79265013
Debug: 66 2 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap 
imote2 cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id 0x79265013
Debug: 67 2 tcl.c:573 jim_newtap_cmd(): Creating New Tap, Chip: imote2, Tap: 
cpu, Dotted: imote2.cpu, 8 params
Debug: 68 2 tcl.c:590 jim_newtap_cmd(): Processing option: -irlen
Debug: 69 2 tcl.c:590 jim_newtap_cmd(): Processing option: -ircapture
Debug: 70 2 tcl.c:590 jim_newtap_cmd(): Processing option: -irmask
Debug: 71 2 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id
Debug: 72 2 core.c:1314 jtag_tap_init(): Created Tap: imote2.cpu @ abs position 
0, irlen 7, capture: 0x1 mask: 0x7f
Debug: 73 2 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_target create imote2.cpu xscale -endian little -chain-position 
imote2.cpu -variant pxa27x
Debug: 74 2 command.c:133 script_debug(): command - ocd_target ocd_target 
create imote2.cpu xscale -endian little -chain-position imote2.cpu -variant 
pxa27x
Debug: 75 2 command.c:350 register_command_handler(): registering 'ocd_arm'...
Debug: 76 2 command.c:350 register_command_handler(): registering 'ocd_arm'...
Debug: 77 2 command.c:350 register_command_handler(): registering 'ocd_arm'...
Debug: 78 2 command.c:350 register_command_handler(): registering 'ocd_arm'...
Debug: 79 2 command.c:350 register_command_handler(): registering 'ocd_arm'...
Debug: 80 2 command.c:350 register_command_handler(): registering 'ocd_arm'...
Debug: 81 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 82 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 83 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 84 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 85 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 86 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 87 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 88 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 89 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 90 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 91 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 92 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Debug: 93 2 command.c:350 register_command_handler(): registering 
'ocd_xscale'...
Info : 94 2 xscale.c:3075 xscale_init_arch_info(): imote2.cpu: hardware has 2 
breakpoints and 2 watchpoints
Debug: 95 2 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x00000010: User mode, ARM 
state
Debug: 96 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 97 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 98 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 99 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 100 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 101 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 102 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 103 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 104 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 105 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 106 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 107 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 108 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 109 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 110 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 111 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 112 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 113 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 114 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 115 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 116 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 117 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 118 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 119 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 120 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 121 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 122 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 123 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 124 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 125 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 126 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 127 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 128 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 129 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 130 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 131 2 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 132 3 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 133 3 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 134 3 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 135 3 command.c:350 register_command_handler(): registering 
'ocd_imote2.cpu'...
Debug: 136 3 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_imote2.cpu configure -work-area-virt 0x5c000000 -work-area-phys 
0x5c000000 -work-area-size 0x10000 -work-area-backup 1
Debug: 137 3 command.c:133 script_debug(): command - ocd_imote2.cpu 
ocd_imote2.cpu configure -work-area-virt 0x5c000000 -work-area-phys 0x5c000000 
-work-area-size 0x10000 -work-area-backup 1
Debug: 138 3 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_flash bank imote2.flash cfi 0x00000000 0x2000000 2 2 imote2.cpu
Debug: 139 3 command.c:133 script_debug(): command - ocd_flash ocd_flash bank 
imote2.flash cfi 0x00000000 0x2000000 2 2 imote2.cpu
Debug: 141 14 httpd_stubs.c:28 httpd_start(): libocdserver was built without 
HTTPD support
Debug: 142 14 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_init
Debug: 143 14 command.c:133 script_debug(): command - init ocd_init
Debug: 145 14 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_target init
Debug: 146 14 command.c:133 script_debug(): command - ocd_target ocd_target init
Debug: 148 14 target.c:885 handle_target_init_command(): Initializing targets...
Debug: 149 14 command.c:350 register_command_handler(): registering 
'ocd_target_request'...
Debug: 150 14 command.c:350 register_command_handler(): registering 
'ocd_trace'...
Debug: 151 14 command.c:350 register_command_handler(): registering 
'ocd_trace'...
Debug: 152 14 command.c:350 register_command_handler(): registering 
'ocd_fast_load_image'...
Debug: 153 14 command.c:350 register_command_handler(): registering 
'ocd_fast_load'...
Debug: 154 14 command.c:350 register_command_handler(): registering 
'ocd_profile'...
Debug: 155 14 command.c:350 register_command_handler(): registering 
'ocd_virt2phys'...
Debug: 156 14 command.c:350 register_command_handler(): registering 'ocd_reg'...
Debug: 157 14 command.c:350 register_command_handler(): registering 
'ocd_poll'...
Debug: 158 14 command.c:350 register_command_handler(): registering 
'ocd_wait_halt'...
Debug: 159 14 command.c:350 register_command_handler(): registering 
'ocd_halt'...
Debug: 160 14 command.c:350 register_command_handler(): registering 
'ocd_resume'...
Debug: 161 14 command.c:350 register_command_handler(): registering 
'ocd_reset'...
Debug: 162 14 command.c:350 register_command_handler(): registering 
'ocd_soft_reset_halt'...
Debug: 163 14 command.c:350 register_command_handler(): registering 
'ocd_step'...
Debug: 164 14 command.c:350 register_command_handler(): registering 'ocd_mdw'...
Debug: 165 14 command.c:350 register_command_handler(): registering 'ocd_mdh'...
Debug: 166 14 command.c:350 register_command_handler(): registering 'ocd_mdb'...
Debug: 167 14 command.c:350 register_command_handler(): registering 'ocd_mww'...
Debug: 168 14 command.c:350 register_command_handler(): registering 'ocd_mwh'...
Debug: 169 14 command.c:350 register_command_handler(): registering 'ocd_mwb'...
Debug: 170 14 command.c:350 register_command_handler(): registering 'ocd_bp'...
Debug: 171 14 command.c:350 register_command_handler(): registering 'ocd_rbp'...
Debug: 172 14 command.c:350 register_command_handler(): registering 'ocd_wp'...
Debug: 173 14 command.c:350 register_command_handler(): registering 'ocd_rwp'...
Debug: 174 14 command.c:350 register_command_handler(): registering 
'ocd_load_image'...
Debug: 175 14 command.c:350 register_command_handler(): registering 
'ocd_dump_image'...
Debug: 176 14 command.c:350 register_command_handler(): registering 
'ocd_verify_image'...
Debug: 177 14 command.c:350 register_command_handler(): registering 
'ocd_test_image'...
Debug: 178 14 command.c:350 register_command_handler(): registering 
'ocd_reset_nag'...
Info : 179 165 arm-jtag-ew.c:490 armjtagew_get_version_info(): ARM-JTAG-EW 
firmware version 1.5, hardware revision A, SN=OL2572F000F44EE, Additional info: 
Date of firmware compilation: Feb 22 2010, 11:19:34, Source revision: 1021
Info : 180 167 arm-jtag-ew.c:450 armjtagew_get_status(): U_tg = 2842 mV, U_aux 
= 0 mV, U_tgpwr = 5130 mV, I_tgpwr = 0 mA, D1 = 1, Target power OK enabled

Info : 181 167 arm-jtag-ew.c:251 armjtagew_init(): ARM-JTAG-EW JTAG Interface 
ready
Debug: 182 167 arm-jtag-ew.c:393 armjtagew_reset(): trst: 0, srst: 0
Debug: 183 168 core.c:1556 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 184 168 core.c:1560 adapter_khz_to_speed(): have interface set up
Error: 185 168 adapter.c:80 default_speed_div(): Translation from jtag_speed to 
khz not implemented
Debug: 186 168 core.c:1556 adapter_khz_to_speed(): convert khz to interface 
specific speed value
Debug: 187 168 core.c:1560 adapter_khz_to_speed(): have interface set up
Info : 188 168 core.c:1372 adapter_init(): adapter-specific clock speed value 
40000
Debug: 189 168 openocd.c:123 handle_init_command(): Debug Adapter init complete
Debug: 190 168 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_transport init
Debug: 191 168 command.c:133 script_debug(): command - ocd_transport 
ocd_transport init
Debug: 193 168 transport.c:250 handle_transport_init(): handle_transport_init
Debug: 194 168 arm-jtag-ew.c:393 armjtagew_reset(): trst: 0, srst: 0
Debug: 195 169 core.c:706 jtag_add_reset(): SRST line released
Debug: 196 169 core.c:730 jtag_add_reset(): TRST line released
Debug: 197 169 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 199 980 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_jtag arp_init
Debug: 200 980 command.c:133 script_debug(): command - ocd_jtag ocd_jtag 
arp_init
Debug: 201 980 core.c:1397 jtag_init_inner(): Init JTAG chain
Debug: 202 980 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 203 982 core.c:1032 jtag_examine_chain(): DR scan interrogation for 
IDCODE/BYPASS
Debug: 204 982 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 205 1005 core.c:932 jtag_examine_chain_display(): JTAG tap: imote2.cpu 
tap/device found: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Debug: 206 1005 core.c:1196 jtag_validate_ircapture(): IR capture validation 
scan
Debug: 207 1007 core.c:1257 jtag_validate_ircapture(): imote2.cpu: IR capture 
0x01
Debug: 208 1007 openocd.c:136 handle_init_command(): Examining targets...
Debug: 209 1007 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_flash init
Debug: 210 1007 command.c:133 script_debug(): command - ocd_flash ocd_flash init
Debug: 213 1007 tcl.c:907 handle_flash_init_command(): Initializing flash 
devices...
Debug: 214 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 215 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 216 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 217 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 218 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 219 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 220 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 221 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 222 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 223 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 224 1007 command.c:350 register_command_handler(): registering 
'ocd_flash'...
Debug: 225 1008 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_mflash init
Debug: 226 1008 command.c:133 script_debug(): command - ocd_mflash ocd_mflash 
init
Debug: 228 1008 mflash.c:1325 handle_mflash_init_command(): Initializing mflash 
devices...
Debug: 229 1008 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_nand init
Debug: 230 1008 command.c:133 script_debug(): command - ocd_nand ocd_nand init
Debug: 232 1008 tcl.c:540 handle_nand_init_command(): Initializing NAND 
devices...
Debug: 233 1008 command.c:133 script_debug(): command - ocd_command ocd_command 
type ocd_pld init
Debug: 234 1008 command.c:133 script_debug(): command - ocd_pld ocd_pld init
Debug: 236 1008 pld.c:232 handle_pld_init_command(): Initializing PLDs...
Debug: 237 1008 gdb_server.c:2419 gdb_target_start(): gdb service for target 
'imote2.cpu' on TCP port 3333
Info : 238 136380 server.c:81 add_connection(): accepting 'telnet' connection 
from 4444




Debug: 239 140434 command.c:133 script_debug(): command - ocd_command 
ocd_command type ocd_reset
Debug: 240 140434 command.c:133 script_debug(): command - reset ocd_reset
Debug: 242 140434 command.c:133 script_debug(): command - ocd_command 
ocd_command type ocd_target names
Debug: 243 140434 command.c:133 script_debug(): command - ocd_target ocd_target 
names
Debug: 244 140434 command.c:133 script_debug(): command - ocd_command 
ocd_command type ocd_imote2.cpu invoke-event reset-start
Debug: 245 140434 command.c:133 script_debug(): command - ocd_imote2.cpu 
ocd_imote2.cpu invoke-event reset-start
Debug: 246 140434 command.c:133 script_debug(): command - ocd_command 
ocd_command type ocd_jtag arp_init-reset
Debug: 247 140434 command.c:133 script_debug(): command - ocd_jtag ocd_jtag 
arp_init-reset
Debug: 248 140434 core.c:1484 jtag_init_reset(): Initializing with hard 
TRST+SRST reset
Debug: 249 140434 arm-jtag-ew.c:393 armjtagew_reset(): trst: 1, srst: 0
Debug: 250 140436 core.c:725 jtag_add_reset(): TRST line asserted
Debug: 251 140436 arm-jtag-ew.c:393 armjtagew_reset(): trst: 1, srst: 1
Debug: 252 140437 core.c:701 jtag_add_reset(): SRST line asserted
Debug: 253 140437 arm-jtag-ew.c:393 armjtagew_reset(): trst: 0, srst: 1
Debug: 254 140438 core.c:730 jtag_add_reset(): TRST line released
Debug: 255 140438 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 256 140438 arm-jtag-ew.c:393 armjtagew_reset(): trst: 0, srst: 0
Debug: 257 140439 core.c:706 jtag_add_reset(): SRST line released
Debug: 259 141254 core.c:1397 jtag_init_inner(): Init JTAG chain
Debug: 260 141254 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 261 141256 core.c:1032 jtag_examine_chain(): DR scan interrogation for 
IDCODE/BYPASS
Debug: 262 141256 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Error: 263 141279 core.c:922 jtag_examine_chain_check(): JTAG scan chain 
interrogation failed: all ones
Error: 264 141279 core.c:923 jtag_examine_chain_check(): Check JTAG interface, 
timings, target power, etc.
User : 265 141279 command.c:828 openocd_jim_vfprintf(): error: -100
Debug: 266 141279 command.c:624 run_command(): Command failed with error code -4
User : 267 141279 command.c:828 openocd_jim_vfprintf(): Command handler 
execution failed
User : 268 141279 command.c:828 openocd_jim_vfprintf(): in procedure 'reset' 
User : 269 141279 command.c:828 openocd_jim_vfprintf(): 

_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to