On 6 July 2011 12:05, Spencer Oliver <[email protected]> wrote:
> Can you provide a full openocd log?
>
> Attached to this mail. Debug level 3.
> It may be worth at this point to use telnet until we get a better idea of
> the issue.
>
Ok.
Here is the sequence of commands (telnet on port 4444):
Open On-Chip Debugger
> jtag_khz 1
1 kHz
> halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
> jtag_rclk 1
ThumbEE -- incomplete support
target state: halted
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xfffffff9
RCLK not supported - fallback to 1 kHz
> adapter_khz 0
in procedure 'adapter_khz'
> adapter_khz
RCLK - adaptive
> halt
Halt timed out, wake up GDB.
timed out while waiting for target halted
in procedure 'halt'
--
Luc
Debug: 15 85 configuration.c:45 add_script_search_dir(): adding
/home/lantolin/.openocd
Debug: 16 90 configuration.c:45 add_script_search_dir(): adding
/usr/local/share/openocd/site
Debug: 17 93 configuration.c:45 add_script_search_dir(): adding
/usr/local/share/openocd/scripts
Debug: 18 105 configuration.c:87 find_file(): found openocdflashok.cfg
Debug: 19 111 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_telnet_port 4444
Debug: 20 115 command.c:151 script_debug(): command - telnet_port
ocd_telnet_port 4444
Debug: 22 124 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_gdb_port 3333
Debug: 23 125 command.c:151 script_debug(): command - gdb_port ocd_gdb_port 3333
Debug: 25 126 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_interface ft2232
Debug: 26 126 command.c:151 script_debug(): command - interface ocd_interface
ft2232
Debug: 28 127 command.c:364 register_command_handler(): registering
'ocd_ft2232_device_desc'...
Debug: 29 127 command.c:364 register_command_handler(): registering
'ocd_ft2232_serial'...
Debug: 30 127 command.c:364 register_command_handler(): registering
'ocd_ft2232_layout'...
Debug: 31 128 command.c:364 register_command_handler(): registering
'ocd_ft2232_vid_pid'...
Debug: 32 128 command.c:364 register_command_handler(): registering
'ocd_ft2232_latency'...
Info : 33 128 transport.c:123 allow_transports(): only one transport option;
autoselect 'jtag'
Debug: 34 128 command.c:364 register_command_handler(): registering
'ocd_jtag_flush_queue_sleep'...
Debug: 35 129 command.c:364 register_command_handler(): registering
'ocd_jtag_rclk'...
Debug: 36 129 command.c:364 register_command_handler(): registering
'ocd_jtag_ntrst_delay'...
Debug: 37 129 command.c:364 register_command_handler(): registering
'ocd_jtag_ntrst_assert_width'...
Debug: 38 129 command.c:364 register_command_handler(): registering
'ocd_scan_chain'...
Debug: 39 130 command.c:364 register_command_handler(): registering
'ocd_jtag_reset'...
Debug: 40 146 command.c:364 register_command_handler(): registering
'ocd_runtest'...
Debug: 41 146 command.c:364 register_command_handler(): registering
'ocd_irscan'...
Debug: 42 146 command.c:364 register_command_handler(): registering
'ocd_verify_ircapture'...
Debug: 43 147 command.c:364 register_command_handler(): registering
'ocd_verify_jtag'...
Debug: 44 147 command.c:364 register_command_handler(): registering
'ocd_tms_sequence'...
Debug: 45 147 command.c:364 register_command_handler(): registering
'ocd_wait_srst_deassert'...
Debug: 46 148 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 47 148 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 48 148 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 49 148 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 50 149 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 51 149 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 52 149 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 53 149 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 54 150 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 55 150 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 56 150 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 57 150 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 58 150 command.c:364 register_command_handler(): registering
'ocd_jtag'...
Debug: 59 165 command.c:364 register_command_handler(): registering 'ocd_svf'...
Debug: 60 169 command.c:364 register_command_handler(): registering
'ocd_xsvf'...
Debug: 61 170 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_ft2232_device_desc Olimex OpenOCD JTAG
Debug: 62 171 command.c:151 script_debug(): command - ft2232_device_desc
ocd_ft2232_device_desc Olimex OpenOCD JTAG
Debug: 64 172 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_ft2232_layout olimex-jtag
Debug: 65 173 command.c:151 script_debug(): command - ft2232_layout
ocd_ft2232_layout olimex-jtag
Debug: 67 173 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_ft2232_vid_pid 0x15BA 0x0003
Debug: 68 174 command.c:151 script_debug(): command - ft2232_vid_pid
ocd_ft2232_vid_pid 0x15BA 0x0003
Debug: 70 175 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_adapter_nsrst_delay 200
Debug: 71 176 command.c:151 script_debug(): command - adapter_nsrst_delay
ocd_adapter_nsrst_delay 200
User : 73 190 command.c:557 command_print(): adapter_nsrst_delay: 200
Debug: 74 194 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_jtag_ntrst_delay 200
Debug: 75 195 command.c:151 script_debug(): command - jtag_ntrst_delay
ocd_jtag_ntrst_delay 200
User : 77 195 command.c:557 command_print(): jtag_ntrst_delay: 200
Debug: 78 196 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_reset_config trst_and_srst srst_pulls_trst
Debug: 79 196 command.c:151 script_debug(): command - reset_config
ocd_reset_config trst_and_srst srst_pulls_trst
User : 81 196 command.c:557 command_print(): trst_and_srst srst_pulls_trst
srst_gates_jtag trst_push_pull srst_open_drain
Debug: 82 197 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_jtag newtap lpc2388 cpu -irlen 4 -ircapture 0x1 -irmask 0xf
-expected-id 0x4f1f0f0f
Debug: 83 198 command.c:151 script_debug(): command - ocd_jtag ocd_jtag newtap
lpc2388 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4f1f0f0f
Debug: 84 199 tcl.c:575 jim_newtap_cmd(): Creating New Tap, Chip: lpc2388, Tap:
cpu, Dotted: lpc2388.cpu, 8 params
Debug: 85 199 tcl.c:592 jim_newtap_cmd(): Processing option: -irlen
Debug: 86 199 tcl.c:592 jim_newtap_cmd(): Processing option: -ircapture
Debug: 87 199 tcl.c:592 jim_newtap_cmd(): Processing option: -irmask
Debug: 88 199 tcl.c:592 jim_newtap_cmd(): Processing option: -expected-id
Debug: 89 199 core.c:1337 jtag_tap_init(): Created Tap: lpc2388.cpu @ abs
position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 90 200 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_target create lpc2388.cpu arm7tdmi -endian little -chain-position
lpc2388.cpu -variant arm7tdmi-s_r4
Debug: 91 204 command.c:151 script_debug(): command - ocd_target ocd_target
create lpc2388.cpu arm7tdmi -endian little -chain-position lpc2388.cpu -variant
arm7tdmi-s_r4
Debug: 92 208 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 93 212 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 94 212 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 95 212 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 96 213 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 97 213 command.c:364 register_command_handler(): registering 'ocd_arm'...
Debug: 98 213 command.c:364 register_command_handler(): registering 'ocd_etm'...
Debug: 99 213 command.c:364 register_command_handler(): registering
'ocd_arm7_9'...
Debug: 100 214 command.c:364 register_command_handler(): registering
'ocd_arm7_9'...
Debug: 101 214 command.c:364 register_command_handler(): registering
'ocd_arm7_9'...
Debug: 102 214 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x00000010: User mode,
ARM state
Debug: 103 215 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 104 215 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 105 215 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 106 215 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 107 215 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 108 216 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 109 216 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 110 216 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 111 217 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 112 217 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 113 217 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 114 217 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 115 217 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 116 218 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 117 218 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 118 218 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 119 218 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 120 218 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 121 219 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 122 239 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 123 242 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 124 243 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 125 243 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 126 243 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 127 244 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 128 244 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 129 244 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 130 244 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 131 245 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 132 245 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 133 245 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 134 245 command.c:364 register_command_handler(): registering
'ocd_lpc2388.cpu'...
Debug: 135 246 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_lpc2388.cpu configure -work-area-virt 0 -work-area-phys 0x40000000
-work-area-size 0x10000 -work-area-backup 0
Debug: 136 247 command.c:151 script_debug(): command - ocd_lpc2388.cpu
ocd_lpc2388.cpu configure -work-area-virt 0 -work-area-phys 0x40000000
-work-area-size 0x10000 -work-area-backup 0
Debug: 137 264 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_lpc2388.cpu configure -event reset-init
# Force target into ARM state
soft_reset_halt
#do not remap 0x0000-0x0020 to anything but the flash
mwb 0xE01FC040 0x01
Debug: 138 269 command.c:151 script_debug(): command - ocd_lpc2388.cpu
ocd_lpc2388.cpu configure -event reset-init
# Force target into ARM state
soft_reset_halt
#do not remap 0x0000-0x0020 to anything but the flash
mwb 0xE01FC040 0x01
Debug: 139 270 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_flash bank lpc2388.flash lpc2000 0x0 0x0007D000 0 0 lpc2388.cpu
lpc2000_v2 60000 calc_checksum
Debug: 140 271 command.c:151 script_debug(): command - ocd_flash ocd_flash bank
lpc2388.flash lpc2000 0x0 0x0007D000 0 0 lpc2388.cpu lpc2000_v2 60000
calc_checksum
Debug: 142 271 command.c:364 register_command_handler(): registering
'ocd_lpc2000'...
Debug: 143 272 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_adapter_khz 500
Debug: 144 273 command.c:151 script_debug(): command - adapter_khz
ocd_adapter_khz 500
Debug: 146 273 core.c:1639 jtag_config_khz(): handle jtag khz
Debug: 147 273 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 148 273 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
User : 149 273 command.c:557 command_print(): 500 kHz
Debug: 150 279 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_init
Debug: 151 285 command.c:151 script_debug(): command - init ocd_init
Debug: 153 286 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_target init
Debug: 154 287 command.c:151 script_debug(): command - ocd_target ocd_target
init
Debug: 156 287 target.c:929 handle_target_init_command(): Initializing
targets...
Debug: 157 288 command.c:364 register_command_handler(): registering
'ocd_target_request'...
Debug: 158 288 command.c:364 register_command_handler(): registering
'ocd_trace'...
Debug: 159 288 command.c:364 register_command_handler(): registering
'ocd_trace'...
Debug: 160 289 command.c:364 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 161 289 command.c:364 register_command_handler(): registering
'ocd_fast_load'...
Debug: 162 289 command.c:364 register_command_handler(): registering
'ocd_profile'...
Debug: 163 290 command.c:364 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 164 290 command.c:364 register_command_handler(): registering
'ocd_reg'...
Debug: 165 290 command.c:364 register_command_handler(): registering
'ocd_poll'...
Debug: 166 290 command.c:364 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 167 291 command.c:364 register_command_handler(): registering
'ocd_halt'...
Debug: 168 309 command.c:364 register_command_handler(): registering
'ocd_resume'...
Debug: 169 309 command.c:364 register_command_handler(): registering
'ocd_reset'...
Debug: 170 310 command.c:364 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 171 310 command.c:364 register_command_handler(): registering
'ocd_step'...
Debug: 172 310 command.c:364 register_command_handler(): registering
'ocd_mdw'...
Debug: 173 311 command.c:364 register_command_handler(): registering
'ocd_mdh'...
Debug: 174 311 command.c:364 register_command_handler(): registering
'ocd_mdb'...
Debug: 175 311 command.c:364 register_command_handler(): registering
'ocd_mww'...
Debug: 176 311 command.c:364 register_command_handler(): registering
'ocd_mwh'...
Debug: 177 312 command.c:364 register_command_handler(): registering
'ocd_mwb'...
Debug: 178 312 command.c:364 register_command_handler(): registering 'ocd_bp'...
Debug: 179 312 command.c:364 register_command_handler(): registering
'ocd_rbp'...
Debug: 180 313 command.c:364 register_command_handler(): registering 'ocd_wp'...
Debug: 181 313 command.c:364 register_command_handler(): registering
'ocd_rwp'...
Debug: 182 313 command.c:364 register_command_handler(): registering
'ocd_load_image'...
Debug: 183 314 command.c:364 register_command_handler(): registering
'ocd_dump_image'...
Debug: 184 314 command.c:364 register_command_handler(): registering
'ocd_verify_image'...
Debug: 185 314 command.c:364 register_command_handler(): registering
'ocd_test_image'...
Debug: 186 314 command.c:364 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 187 315 ft2232.c:2435 ft2232_init(): ft2232 interface using shortest
path jtag state transitions
Debug: 188 315 ft2232.c:2133 ft2232_init_ftd2xx(): 'ft2232' interface using
FTD2XX with 'olimex-jtag' layout (15ba:0003)
Debug: 189 448 ft2232.c:2246 ft2232_init_ftd2xx(): current latency timer: 88
Info : 190 460 ft2232.c:2273 ft2232_init_ftd2xx(): device: 4 "2232C"
Info : 191 460 ft2232.c:2274 ft2232_init_ftd2xx(): deviceID: 364511235
Info : 192 461 ft2232.c:2275 ft2232_init_ftd2xx(): SerialNumber:
Info : 193 461 ft2232.c:2276 ft2232_init_ftd2xx(): Description: Olimex OpenOCD
JTAG A
Debug: 194 462 ft2232.c:2392 ft2232_set_data_bits_low_byte(): 80 08 1b
Debug: 195 463 ft2232.c:2412 ft2232_set_data_bits_high_byte(): 82 09 0f
Debug: 196 472 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 197 472 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 198 472 ft2232.c:670 ft2232_speed(): 86 0b 00
Debug: 199 473 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 200 473 core.c:1606 adapter_khz_to_speed(): have interface set up
Info : 201 473 core.c:1421 adapter_init(): clock speed 500 kHz
Debug: 202 473 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 203 473 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_transport init
Debug: 204 473 command.c:151 script_debug(): command - ocd_transport
ocd_transport init
Debug: 206 473 transport.c:255 handle_transport_init(): handle_transport_init
Debug: 207 473 ft2232.c:1509 olimex_jtag_reset(): trst: 0, srst: 0,
high_output: 0x01, high_direction: 0x0f
Debug: 208 474 core.c:713 jtag_add_reset(): SRST line released
Debug: 209 474 core.c:737 jtag_add_reset(): TRST line released
Debug: 210 474 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 212 875 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_jtag arp_init
Debug: 213 876 command.c:151 script_debug(): command - ocd_jtag ocd_jtag
arp_init
Debug: 214 876 core.c:1435 jtag_init_inner(): Init JTAG chain
Debug: 215 876 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 216 876 core.c:1055 jtag_examine_chain(): DR scan interrogation for
IDCODE/BYPASS
Debug: 217 876 core.c:329 jtag_call_event_callbacks(): jtag event: TAP reset
Error: 218 880 core.c:945 jtag_examine_chain_check(): JTAG scan chain
interrogation failed: all zeroes
Error: 219 880 core.c:946 jtag_examine_chain_check(): Check JTAG interface,
timings, target power, etc.
Error: 220 880 core.c:1479 jtag_init_inner(): Trying to use configured scan
chain anyway...
Debug: 221 880 core.c:1219 jtag_validate_ircapture(): IR capture validation scan
Debug: 222 882 core.c:1280 jtag_validate_ircapture(): lpc2388.cpu: IR capture
0x01
Warn : 223 882 core.c:1503 jtag_init_inner(): Bypassing JTAG setup events due
to errors
Debug: 224 882 openocd.c:150 handle_init_command(): Examining targets...
Info : 225 884 embeddedice.c:231 embeddedice_build_reg_cache(): Embedded ICE
version 0
Error: 226 884 embeddedice.c:297 embeddedice_build_reg_cache(): unknown
EmbeddedICE version (comms ctrl: 0x00000000)
Info : 227 884 embeddedice.c:303 embeddedice_build_reg_cache(): lpc2388.cpu:
hardware has 2 breakpoint/watchpoint units
Debug: 228 884 arm7_9_common.c:75 arm7_9_clear_watchpoints(): -
Debug: 229 884 embeddedice.c:502 embeddedice_write_reg(): 12: 0x00000000
Debug: 230 884 embeddedice.c:502 embeddedice_write_reg(): 20: 0x00000000
Debug: 231 885 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_flash init
Debug: 232 885 command.c:151 script_debug(): command - ocd_flash ocd_flash init
Debug: 234 888 tcl.c:912 handle_flash_init_command(): Initializing flash
devices...
Debug: 235 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 236 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 237 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 238 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 239 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 240 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 241 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 242 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 243 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 244 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 245 888 command.c:364 register_command_handler(): registering
'ocd_flash'...
Debug: 246 888 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_mflash init
Debug: 247 888 command.c:151 script_debug(): command - ocd_mflash ocd_mflash
init
Debug: 249 890 mflash.c:1331 handle_mflash_init_command(): Initializing mflash
devices...
Debug: 250 890 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_nand init
Debug: 251 890 command.c:151 script_debug(): command - ocd_nand ocd_nand init
Debug: 253 892 tcl.c:521 handle_nand_init_command(): Initializing NAND
devices...
Debug: 254 892 command.c:151 script_debug(): command - ocd_command ocd_command
type ocd_pld init
Debug: 255 892 command.c:151 script_debug(): command - ocd_pld ocd_pld init
Debug: 257 894 pld.c:232 handle_pld_init_command(): Initializing PLDs...
Info : 258 3207 server.c:80 add_connection(): accepting 'telnet' connection
from 4444
Debug: 259 10566 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 1
Debug: 260 10567 command.c:151 script_debug(): command - adapter_khz
ocd_adapter_khz 1
Debug: 262 10576 core.c:1639 jtag_config_khz(): handle jtag khz
Debug: 263 10576 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 264 10576 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 265 10576 ft2232.c:670 ft2232_speed(): 86 6f 17
Debug: 266 10581 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 267 10581 core.c:1606 adapter_khz_to_speed(): have interface set up
User : 268 10582 command.c:557 command_print(): 1 kHz
Debug: 269 13169 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_halt
Debug: 270 13169 command.c:151 script_debug(): command - halt ocd_halt
Debug: 272 13255 target.c:2205 handle_halt_command(): -
Debug: 273 13255 arm7_9_common.c:1294 arm7_9_halt(): target->state: running
Debug: 274 13255 embeddedice.c:502 embeddedice_write_reg(): 9: 0xffffffff
Debug: 275 13255 embeddedice.c:502 embeddedice_write_reg(): 11: 0xffffffff
Debug: 276 13255 embeddedice.c:502 embeddedice_write_reg(): 12: 0x00000100
Debug: 277 13255 embeddedice.c:502 embeddedice_write_reg(): 13: 0x000000f7
Debug: 278 13518 target.c:2184 target_wait_state(): waiting for target halted...
Info : 280 14314 target.c:436 target_poll(): Halt timed out, wake up GDB.
Debug: 281 14314 target.c:1062 target_call_event_callbacks(): target event 2
(gdb-halt)
Error: 290 18554 target.c:2195 target_wait_state(): timed out while waiting for
target halted
Debug: 291 18555 command.c:638 run_command(): Command failed with error code -4
User : 292 18564 command.c:679 command_run_line(): in procedure 'halt'
Debug: 293 21535 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_jtag_rclk 1
Debug: 294 21535 command.c:151 script_debug(): command - jtag_rclk
ocd_jtag_rclk 1
Debug: 295 21621 embeddedice.c:502 embeddedice_write_reg(): 0: 0x00000000
Debug: 296 21621 embeddedice.c:502 embeddedice_write_reg(): 12: 0x00000000
Debug: 297 21622 arm7_9_common.c:1392 arm7_9_debug_entry(): target entered
debug from Thumb state
Debug: 298 22262 arm7_9_common.c:1398 arm7_9_debug_entry(): r0_thumb:
0xffffffff, pc_thumb: 0xfffffff5
Warn : 299 23501 armv4_5.c:382 arm_set_cpsr(): ThumbEE -- incomplete support
Debug: 300 23502 armv4_5.c:397 arm_set_cpsr(): set CPSR 0xffffffff: System
mode, ThumbEE state
Debug: 301 23502 arm7_9_common.c:1438 arm7_9_debug_entry(): target entered
debug state in System mode
Debug: 302 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r0: 0xffffffff
Debug: 303 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r1: 0xffffffff
Debug: 304 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r2: 0xffffffff
Debug: 305 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r3: 0xffffffff
Debug: 306 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r4: 0xffffffff
Debug: 307 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r5: 0xffffffff
Debug: 308 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r6: 0xffffffff
Debug: 309 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r7: 0xffffffff
Debug: 310 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r8: 0xffffffff
Debug: 311 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r9: 0xffffffff
Debug: 312 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r10: 0xffffffff
Debug: 313 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r11: 0xffffffff
Debug: 314 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r12: 0xffffffff
Debug: 315 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r13: 0xffffffff
Debug: 316 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r14: 0xffffffff
Debug: 317 23502 arm7_9_common.c:1460 arm7_9_debug_entry(): r15: 0xfffffff9
Debug: 318 23502 arm7_9_common.c:1468 arm7_9_debug_entry(): entered debug state
at PC 0xfffffff9
Debug: 319 23502 target.c:1062 target_call_event_callbacks(): target event 2
(gdb-halt)
Debug: 320 23502 target.c:1062 target_call_event_callbacks(): target event 3
(halted)
User : 321 23502 target.c:1339 target_arch_state(): target state: halted
User : 322 23503 armv4_5.c:603 arm_arch_state(): target halted in ThumbEE state
due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xfffffff9
Debug: 324 23503 core.c:1648 jtag_config_rclk(): handle jtag rclk
Debug: 325 23503 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 326 23503 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 327 23503 ft2232.c:702 ft2232_khz(): RCLK not supported
Debug: 328 23503 core.c:1623 jtag_rclk_to_speed(): trying fallback speed...
Debug: 329 23503 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 330 23503 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 331 23503 ft2232.c:670 ft2232_speed(): 86 6f 17
Debug: 332 23503 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 333 23503 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 334 23503 ft2232.c:702 ft2232_khz(): RCLK not supported
Debug: 335 23503 core.c:1623 jtag_rclk_to_speed(): trying fallback speed...
Debug: 336 23503 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 337 23503 core.c:1606 adapter_khz_to_speed(): have interface set up
User : 338 23503 command.c:557 command_print(): RCLK not supported - fallback
to 1 kHz
Debug: 339 23504 log.c:437 keep_alive(): keep_alive() was not invoked in the
1000ms timelimit (2019). This may cause trouble with GDB connections.
Debug: 341 43481 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 0
Debug: 342 43482 command.c:151 script_debug(): command - adapter_khz
ocd_adapter_khz 0
Debug: 344 43570 core.c:1639 jtag_config_khz(): handle jtag khz
Debug: 345 43570 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 346 43570 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 347 43571 ft2232.c:702 ft2232_khz(): RCLK not supported
Debug: 348 43571 command.c:638 run_command(): Command failed with error code -4
User : 349 43572 command.c:679 command_run_line(): in procedure 'adapter_khz'
Debug: 350 52390 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz
Debug: 351 52392 command.c:151 script_debug(): command - adapter_khz
ocd_adapter_khz
Debug: 353 52478 core.c:1602 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 354 52478 core.c:1606 adapter_khz_to_speed(): have interface set up
Debug: 355 52478 ft2232.c:702 ft2232_khz(): RCLK not supported
User : 356 52478 command.c:557 command_print(): RCLK - adaptive
Debug: 357 59866 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_halt
Debug: 358 59867 command.c:151 script_debug(): command - halt ocd_halt
Debug: 360 59956 target.c:2205 handle_halt_command(): -
Debug: 361 59956 arm7_9_common.c:1294 arm7_9_halt(): target->state: running
Debug: 362 59956 embeddedice.c:502 embeddedice_write_reg(): 9: 0xffffffff
Debug: 363 59957 embeddedice.c:502 embeddedice_write_reg(): 11: 0xffffffff
Debug: 364 59957 embeddedice.c:502 embeddedice_write_reg(): 12: 0x00000100
Debug: 365 59957 embeddedice.c:502 embeddedice_write_reg(): 13: 0x000000f7
Debug: 366 60216 target.c:2184 target_wait_state(): waiting for target halted...
Info : 368 61009 target.c:436 target_poll(): Halt timed out, wake up GDB.
Debug: 369 61010 target.c:1062 target_call_event_callbacks(): target event 2
(gdb-halt)
Error: 378 65242 target.c:2195 target_wait_state(): timed out while waiting for
target halted
Debug: 379 65243 command.c:638 run_command(): Command failed with error code -4
User : 380 65245 command.c:679 command_run_line(): in procedure 'halt'
Debug: 381 152129 command.c:151 script_debug(): command - ocd_command
ocd_command type ocd_exit
Debug: 382 152129 command.c:151 script_debug(): command - exit ocd_exit
Info : 384 152217 server.c:488 server_loop(): dropped 'telnet' connection
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development