Hello,

(Resending to the list @berlios.de since the list
@lists.sourceforge.net doesn't seem to work)

I am trying to use OpenOCD 0.5.0 on the Calao USB A9263 board. This
board is based on the AT91SAM9263 SoC and uses a built-in FTDI 2232 to
provide USB access to the JTAG interface.

The problem is that OpenOCD is not able to halt the target (I'm trying
to halt while the board runs U-Boot, so there is no Linux running doing
some crazy power management stuff). Here is what I get on the telnet
interface:

$ telnet localhost 4444
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Open On-Chip Debugger
> halt  
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
> halt  
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'

Here is what I see on OpenOCD output:

$ ../src/openocd -f ./interface/calao-usb-a9263.cfg 
Open On-Chip Debugger 0.5.0 (2011-10-31-11:55)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.berlios.de/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
adapter_nsrst_delay: 300
jtag_ntrst_delay: 200
RCLK - adaptive
1
Info : RCLK (adaptive clock speed) not supported - fallback to 3 kHz
Info : JTAG tap: at91sam9263.cpu tap/device found: 0x0792603f (mfg:
0x01f, part: 0x7926, ver: 0x0) Info : Embedded ICE version 15
Error: unknown EmbeddedICE version (comms ctrl: 0xfffffffe)
Info : at91sam9263.cpu: hardware has 2 breakpoint/watchpoint units
Info : accepting 'telnet' connection from 4444
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
in procedure 'halt'
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
in procedure 'halt'

And here is the config file I'm using (interface/calao-usb-a9263.cfg) :

$ cat interface/calao-usb-a9263.cfg 
#
# CALAO Systems USB-A9263
#
# http://www.calao-systems.com/
#

interface ft2232
ft2232_layout jtagkey
ft2232_device_desc "USB-A9263"
ft2232_vid_pid 0x0403 0x6010
adapter_nsrst_delay 200
jtag_ntrst_delay 200
script target/at91sam9263.cfg

In case it is useful, I have attached the output of openocd started in
debug mode.

Do you have any clue of what's going on ?

Thanks!

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
$ ../src/openocd -d -f ./interface/calao-usb-a9263.cfg 
Open On-Chip Debugger 0.5.0 (2011-10-31-11:55)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.berlios.de/doc/doxygen/bugs.html
User : 11 3 command.c:557 command_print(): debug_level: 3
Debug: 12 3 configuration.c:45 add_script_search_dir(): adding /home/thomas/.openocd
Debug: 13 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 14 3 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 15 3 configuration.c:87 find_file(): found ./interface/calao-usb-a9263.cfg
Debug: 16 3 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232
Debug: 17 3 command.c:151 script_debug(): command - interface ocd_interface ft2232
Debug: 19 3 command.c:364 register_command_handler(): registering 'ocd_ft2232_device_desc'...
Debug: 20 3 command.c:364 register_command_handler(): registering 'ocd_ft2232_serial'...
Debug: 21 3 command.c:364 register_command_handler(): registering 'ocd_ft2232_layout'...
Debug: 22 4 command.c:364 register_command_handler(): registering 'ocd_ft2232_vid_pid'...
Debug: 23 4 command.c:364 register_command_handler(): registering 'ocd_ft2232_latency'...
Info : 24 4 transport.c:123 allow_transports(): only one transport option; autoselect 'jtag'
Debug: 25 4 command.c:364 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 26 4 command.c:364 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 27 4 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 28 4 command.c:364 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 29 4 command.c:364 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 30 4 command.c:364 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 31 4 command.c:364 register_command_handler(): registering 'ocd_runtest'...
Debug: 32 4 command.c:364 register_command_handler(): registering 'ocd_irscan'...
Debug: 33 4 command.c:364 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 34 4 command.c:364 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 35 4 command.c:364 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 36 4 command.c:364 register_command_handler(): registering 'ocd_wait_srst_deassert'...
Debug: 37 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 38 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 39 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 40 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 41 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 42 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 43 4 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 44 5 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 45 5 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 46 5 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 47 5 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 48 5 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 49 5 command.c:364 register_command_handler(): registering 'ocd_jtag'...
Debug: 50 5 command.c:364 register_command_handler(): registering 'ocd_svf'...
Debug: 51 5 command.c:364 register_command_handler(): registering 'ocd_xsvf'...
Debug: 52 5 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout jtagkey
Debug: 53 5 command.c:151 script_debug(): command - ft2232_layout ocd_ft2232_layout jtagkey
Debug: 55 5 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc USB-A9263
Debug: 56 5 command.c:151 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc USB-A9263
Debug: 58 5 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0x6010
Debug: 59 5 command.c:151 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0x6010
Debug: 61 5 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 200
Debug: 62 5 command.c:151 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 200
User : 64 5 command.c:557 command_print(): adapter_nsrst_delay: 200
Debug: 65 6 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 200
Debug: 66 6 command.c:151 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 200
User : 68 6 command.c:557 command_print(): jtag_ntrst_delay: 200
Debug: 69 6 configuration.c:87 find_file(): found target/at91sam9263.cfg
Debug: 70 6 configuration.c:87 find_file(): found target/at91sam9.cfg
Debug: 71 6 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst separate trst_push_pull srst_open_drain
Debug: 72 6 command.c:151 script_debug(): command - reset_config ocd_reset_config trst_and_srst separate trst_push_pull srst_open_drain
User : 74 6 command.c:557 command_print(): trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Debug: 75 6 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap at91sam9263 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0792603f
Debug: 76 6 command.c:151 script_debug(): command - ocd_jtag ocd_jtag newtap at91sam9263 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x0792603f
Debug: 77 6 tcl.c:575 jim_newtap_cmd(): Creating New Tap, Chip: at91sam9263, Tap: cpu, Dotted: at91sam9263.cpu, 8 params
Debug: 78 6 tcl.c:592 jim_newtap_cmd(): Processing option: -irlen
Debug: 79 7 tcl.c:592 jim_newtap_cmd(): Processing option: -ircapture
Debug: 80 7 tcl.c:592 jim_newtap_cmd(): Processing option: -irmask
Debug: 81 7 tcl.c:592 jim_newtap_cmd(): Processing option: -expected-id
Debug: 82 7 core.c:1337 jtag_tap_init(): Created Tap: at91sam9263.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 83 7 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 300
Debug: 84 7 command.c:151 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 300
User : 86 7 command.c:557 command_print(): adapter_nsrst_delay: 300
Debug: 87 7 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 200
Debug: 88 7 command.c:151 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 200
User : 90 7 command.c:557 command_print(): jtag_ntrst_delay: 200
Debug: 91 7 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag_rclk 3
Debug: 92 7 command.c:151 script_debug(): command - jtag_rclk ocd_jtag_rclk 3
Debug: 94 7 core.c:1648 jtag_config_rclk(): handle jtag rclk
Debug: 95 7 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 96 7 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 97 7 command.c:557 command_print(): RCLK - adaptive
Debug: 98 7 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_target create at91sam9263.cpu arm926ejs -endian little -chain-position at91sam9263.cpu -variant arm926ejs
Debug: 99 7 command.c:151 script_debug(): command - ocd_target ocd_target create at91sam9263.cpu arm926ejs -endian little -chain-position at91sam9263.cpu -variant arm926ejs
Debug: 100 7 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 101 7 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 102 8 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 103 8 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 104 8 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 105 8 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 106 8 command.c:364 register_command_handler(): registering 'ocd_etm'...
Debug: 107 8 command.c:364 register_command_handler(): registering 'ocd_arm7_9'...
Debug: 108 8 command.c:364 register_command_handler(): registering 'ocd_arm7_9'...
Debug: 109 8 command.c:364 register_command_handler(): registering 'ocd_arm7_9'...
Debug: 110 8 command.c:364 register_command_handler(): registering 'ocd_arm9'...
Debug: 111 8 command.c:364 register_command_handler(): registering 'ocd_arm926ejs'...
Debug: 112 8 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x00000010: User mode, ARM state
Debug: 113 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 114 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 115 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 116 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 117 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 118 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 119 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 120 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 121 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 122 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 123 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 124 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 125 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 126 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 127 8 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 128 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 129 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 130 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 131 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 132 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 133 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 134 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 135 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 136 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 137 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 138 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 139 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 140 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 141 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 142 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 143 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 144 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 145 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 146 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 147 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 148 9 command.c:364 register_command_handler(): registering 'ocd_at91sam9263.cpu'...
Debug: 149 9 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_at91sam9263.cpu configure -work-area-phys 0x00300000 -work-area-size 0x14000 -work-area-backup 1
Debug: 150 9 command.c:151 script_debug(): command - ocd_at91sam9263.cpu ocd_at91sam9263.cpu configure -work-area-phys 0x00300000 -work-area-size 0x14000 -work-area-backup 1
User : 151 9 command.c:707 command_run_line(): 1User : 152 10 command.c:709 command_run_line(): 
Debug: 153 10 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 154 10 command.c:151 script_debug(): command - init ocd_init
Debug: 156 10 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 157 10 command.c:151 script_debug(): command - ocd_target ocd_target init
Debug: 159 10 target.c:930 handle_target_init_command(): Initializing targets...
Debug: 160 10 command.c:364 register_command_handler(): registering 'ocd_target_request'...
Debug: 161 10 command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 162 10 command.c:364 register_command_handler(): registering 'ocd_trace'...
Debug: 163 10 command.c:364 register_command_handler(): registering 'ocd_fast_load_image'...
Debug: 164 10 command.c:364 register_command_handler(): registering 'ocd_fast_load'...
Debug: 165 10 command.c:364 register_command_handler(): registering 'ocd_profile'...
Debug: 166 10 command.c:364 register_command_handler(): registering 'ocd_virt2phys'...
Debug: 167 10 command.c:364 register_command_handler(): registering 'ocd_reg'...
Debug: 168 10 command.c:364 register_command_handler(): registering 'ocd_poll'...
Debug: 169 10 command.c:364 register_command_handler(): registering 'ocd_wait_halt'...
Debug: 170 10 command.c:364 register_command_handler(): registering 'ocd_halt'...
Debug: 171 10 command.c:364 register_command_handler(): registering 'ocd_resume'...
Debug: 172 10 command.c:364 register_command_handler(): registering 'ocd_reset'...
Debug: 173 10 command.c:364 register_command_handler(): registering 'ocd_soft_reset_halt'...
Debug: 174 10 command.c:364 register_command_handler(): registering 'ocd_step'...
Debug: 175 11 command.c:364 register_command_handler(): registering 'ocd_mdw'...
Debug: 176 11 command.c:364 register_command_handler(): registering 'ocd_mdh'...
Debug: 177 11 command.c:364 register_command_handler(): registering 'ocd_mdb'...
Debug: 178 11 command.c:364 register_command_handler(): registering 'ocd_mww'...
Debug: 179 11 command.c:364 register_command_handler(): registering 'ocd_mwh'...
Debug: 180 11 command.c:364 register_command_handler(): registering 'ocd_mwb'...
Debug: 181 11 command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 182 11 command.c:364 register_command_handler(): registering 'ocd_rbp'...
Debug: 183 11 command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 184 11 command.c:364 register_command_handler(): registering 'ocd_rwp'...
Debug: 185 11 command.c:364 register_command_handler(): registering 'ocd_load_image'...
Debug: 186 11 command.c:364 register_command_handler(): registering 'ocd_dump_image'...
Debug: 187 11 command.c:364 register_command_handler(): registering 'ocd_verify_image'...
Debug: 188 11 command.c:364 register_command_handler(): registering 'ocd_test_image'...
Debug: 189 11 command.c:364 register_command_handler(): registering 'ocd_reset_nag'...
Debug: 190 11 ft2232.c:2469 ft2232_init(): ft2232 interface using shortest path jtag state transitions
Debug: 191 11 ft2232.c:2342 ft2232_init_libftdi(): 'ft2232' interface using libftdi with 'jtagkey' layout (0403:6010)
Debug: 192 75 ft2232.c:2389 ft2232_init_libftdi(): current latency timer: 2
Debug: 193 75 ft2232.c:2400 ft2232_init_libftdi(): FTDI chip type: 2 "2232C"
Debug: 194 75 ft2232.c:2426 ft2232_set_data_bits_low_byte(): 80 08 1b
Debug: 195 75 ft2232.c:2446 ft2232_set_data_bits_high_byte(): 82 09 0f
Debug: 196 76 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 197 76 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 198 76 ft2232.c:708 ft2232_khz(): RCLK not supported
Debug: 199 76 core.c:1623 jtag_rclk_to_speed(): trying fallback speed...
Debug: 200 76 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 201 76 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 202 76 ft2232.c:676 ft2232_speed(): 86 cf 07
Debug: 203 76 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 204 76 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 205 76 ft2232.c:708 ft2232_khz(): RCLK not supported
Debug: 206 76 core.c:1623 jtag_rclk_to_speed(): trying fallback speed...
Debug: 207 76 core.c:1602 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 208 76 core.c:1606 adapter_khz_to_speed(): have interface set up
Info : 209 76 core.c:1418 adapter_init(): RCLK (adaptive clock speed) not supported - fallback to 3 kHz
Debug: 210 76 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 211 76 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 212 76 command.c:151 script_debug(): command - ocd_transport ocd_transport init
Debug: 214 76 transport.c:255 handle_transport_init(): handle_transport_init
Debug: 215 77 ft2232.c:1480 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f
Debug: 216 77 core.c:713 jtag_add_reset(): SRST line released
Debug: 217 77 core.c:737 jtag_add_reset(): TRST line released
Debug: 218 77 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 220 581 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 221 581 command.c:151 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 222 581 core.c:1435 jtag_init_inner(): Init JTAG chain
Debug: 223 581 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 224 581 core.c:1055 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 225 581 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 226 801 core.c:955 jtag_examine_chain_display(): JTAG tap: at91sam9263.cpu tap/device found: 0x0792603f (mfg: 0x01f, part: 0x7926, ver: 0x0)
Debug: 227 801 core.c:1219 jtag_validate_ircapture(): IR capture validation scan
Debug: 228 807 core.c:1280 jtag_validate_ircapture(): at91sam9263.cpu: IR capture 0x01
Debug: 229 807 openocd.c:150 handle_init_command(): Examining targets...
Info : 230 846 embeddedice.c:231 embeddedice_build_reg_cache(): Embedded ICE version 15
Error: 231 847 embeddedice.c:297 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0xfffffffe)
Info : 232 847 embeddedice.c:303 embeddedice_build_reg_cache(): at91sam9263.cpu: hardware has 2 breakpoint/watchpoint units
Debug: 233 847 arm7_9_common.c:75 arm7_9_clear_watchpoints(): -
Debug: 234 847 embeddedice.c:501 embeddedice_write_reg(): 12: 0x00000000
Debug: 235 847 embeddedice.c:501 embeddedice_write_reg(): 20: 0x00000000
Debug: 236 847 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 237 847 command.c:151 script_debug(): command - ocd_flash ocd_flash init
Debug: 239 904 tcl.c:912 handle_flash_init_command(): Initializing flash devices...
Debug: 240 904 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 241 905 command.c:151 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 243 934 mflash.c:1331 handle_mflash_init_command(): Initializing mflash devices...
Debug: 244 935 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 245 935 command.c:151 script_debug(): command - ocd_nand ocd_nand init
Debug: 247 964 tcl.c:521 handle_nand_init_command(): Initializing NAND devices...
Debug: 248 964 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 249 964 command.c:151 script_debug(): command - ocd_pld ocd_pld init
Debug: 251 994 pld.c:232 handle_pld_init_command(): Initializing PLDs...
Info : 252 4834 server.c:80 add_connection(): accepting 'telnet' connection from 4444
Debug: 253 5981 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_halt
Debug: 254 5981 command.c:151 script_debug(): command - halt ocd_halt
Debug: 256 6011 target.c:2206 handle_halt_command(): -
Debug: 257 6012 arm7_9_common.c:1295 arm7_9_halt(): target->state: running
Debug: 258 6012 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000000
Debug: 259 6055 target.c:2185 target_wait_state(): waiting for target halted...
Info : 261 7013 target.c:437 target_poll(): Halt timed out, wake up GDB.
Debug: 262 7013 target.c:1063 target_call_event_callbacks(): target event 2 (gdb-halt)
Error: 271 11080 target.c:2196 target_wait_state(): timed out while waiting for target halted
Debug: 272 11081 command.c:638 run_command(): Command failed with error code -4
User : 273 11081 command.c:679 command_run_line(): in procedure 'halt'
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to