Hi,
I have direct access to the jtag pins of LPC2468 but I’m not being able to perform the correct setup of openocd.
As the dongle between my PC and the microcontroller I’m using Jtagkey2p, and I’m running the openocd on Ubuntu 12.04.
To run openocd I’m typing the following command:
sudo openocd -d -f interface/jtagkey2p.cfg -f target/lpc2478.cfg -c “adapter_khz 1”
Below is the log I get when running it.
Does somebody knows why I’m getting these errors?
kind regards,
Open On-Chip Debugger 0.7.0 (2013-07-17-10:11)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 4 command.c:549 command_print(): debug_level: 3
Debug: 14 4 configuration.c:45 add_script_search_dir(): adding /home/jrodrigo/.openocd
Debug: 15 5 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 16 5 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 17 5 configuration.c:86 find_file(): found interface/jtagkey2p.cfg
Debug: 18 5 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ft2232
Debug: 19 5 command.c:145 script_debug(): command - interface ocd_interface ft2232
Debug: 21 5 command.c:369 register_command_handler(): registering ‘ocd_ft2232_device_desc’…
Debug: 22 5 command.c:369 register_command_handler(): registering ‘ocd_ft2232_serial’…
Debug: 23 5 command.c:369 register_command_handler(): registering ‘ocd_ft2232_layout’…
Debug: 24 5 command.c:369 register_command_handler(): registering ‘ocd_ft2232_vid_pid’…
Debug: 25 5 command.c:369 register_command_handler(): registering ‘ocd_ft2232_latency’…
Debug: 26 5 command.c:369 register_command_handler(): registering ‘ocd_ft2232_channel’…
Info : 27 5 transport.c:118 allow_transports(): only one transport option; autoselect ‘jtag’
Debug: 28 5 command.c:369 register_command_handler(): registering ‘ocd_jtag_flush_queue_sleep’…
Debug: 29 5 command.c:369 register_command_handler(): registering ‘ocd_jtag_rclk’…
Debug: 30 5 command.c:369 register_command_handler(): registering ‘ocd_jtag_ntrst_delay’…
Debug: 31 5 command.c:369 register_command_handler(): registering ‘ocd_jtag_ntrst_assert_width’…
Debug: 32 5 command.c:369 register_command_handler(): registering ‘ocd_scan_chain’…
Debug: 33 5 command.c:369 register_command_handler(): registering ‘ocd_jtag_reset’…
Debug: 34 6 command.c:369 register_command_handler(): registering ‘ocd_runtest’…
Debug: 35 6 command.c:369 register_command_handler(): registering ‘ocd_irscan’…
Debug: 36 6 command.c:369 register_command_handler(): registering ‘ocd_verify_ircapture’…
Debug: 37 6 command.c:369 register_command_handler(): registering ‘ocd_verify_jtag’…
Debug: 38 6 command.c:369 register_command_handler(): registering ‘ocd_tms_sequence’…
Debug: 39 6 command.c:369 register_command_handler(): registering ‘ocd_wait_srst_deassert’…
Debug: 40 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 41 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 42 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 43 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 44 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 45 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 46 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 47 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 48 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 49 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 50 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 51 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 52 6 command.c:369 register_command_handler(): registering ‘ocd_jtag’…
Debug: 53 6 command.c:369 register_command_handler(): registering ‘ocd_svf’…
Debug: 54 6 command.c:369 register_command_handler(): registering ‘ocd_xsvf’…
Debug: 55 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_device_desc Amontec JTAGkey-2P
Debug: 56 6 command.c:145 script_debug(): command - ft2232_device_desc ocd_ft2232_device_desc Amontec JTAGkey-2P
Debug: 58 6 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_layout jtagkey
Debug: 59 7 command.c:145 script_debug(): command - ft2232_layout ocd_ft2232_layout jtagkey
Debug: 61 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ft2232_vid_pid 0x0403 0xCFF8
Debug: 62 7 command.c:145 script_debug(): command - ft2232_vid_pid ocd_ft2232_vid_pid 0x0403 0xCFF8
Debug: 64 7 configuration.c:86 find_file(): found target/lpc2478.cfg
Debug: 65 7 configuration.c:86 find_file(): found target/lpc2xxx.cfg
User : 66 7 command.c:694 command_run_line(): init_targetsUser : 67 7 command.c:696 command_run_line():
Debug: 68 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1
Debug: 69 7 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1
Debug: 71 7 core.c:1648 jtag_config_khz(): handle jtag khz
Debug: 72 7 core.c:1615 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 73 7 core.c:1615 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 74 7 command.c:549 command_print(): adapter speed: 1 kHz
Debug: 75 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_init
Debug: 76 7 command.c:145 script_debug(): command - init ocd_init
Debug: 78 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target init
Debug: 79 7 command.c:145 script_debug(): command - ocd_target ocd_target init
Debug: 81 7 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo Warning - assuming default core clock 4MHz! Flashing may fail if actual core clock is different.
Debug: 82 7 command.c:145 script_debug(): command - echo ocd_echo Warning - assuming default core clock 4MHz! Flashing may fail if actual core clock is different.
User : 84 8 command.c:766 jim_echo(): Warning - assuming default core clock 4MHz! Flashing may fail if actual core clock is different.
Debug: 85 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst
Debug: 86 8 command.c:145 script_debug(): command - reset_config ocd_reset_config trst_and_srst
User : 88 8 command.c:549 command_print(): trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Debug: 89 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 100
Debug: 90 8 command.c:145 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 100
User : 92 8 command.c:549 command_print(): adapter_nsrst_delay: 100
Debug: 93 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 100
Debug: 94 8 command.c:145 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 100
User : 96 8 command.c:549 command_print(): jtag_ntrst_delay: 100
Debug: 97 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 500
Debug: 98 8 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 500
Debug: 100 8 core.c:1648 jtag_config_khz(): handle jtag khz
Debug: 101 8 core.c:1615 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 102 8 core.c:1615 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 103 8 command.c:549 command_print(): adapter speed: 500 kHz
Debug: 104 8 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap lpc2478 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4f1f0f0f
Debug: 105 8 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap lpc2478 cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4f1f0f0f
Debug: 106 8 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: lpc2478, Tap: cpu, Dotted: lpc2478.cpu, 8 params
Debug: 107 8 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 108 8 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture
Debug: 109 8 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask
Debug: 110 8 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 111 8 core.c:1323 jtag_tap_init(): Created Tap: lpc2478.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 112 9 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_target create lpc2478.cpu arm7tdmi -chain-position lpc2478.cpu
Debug: 113 9 command.c:145 script_debug(): command - ocd_target ocd_target create lpc2478.cpu arm7tdmi -chain-position lpc2478.cpu
Debug: 114 9 target.c:1615 target_free_all_working_areas_restore(): freeing all working areas
Debug: 115 9 command.c:369 register_command_handler(): registering ‘ocd_arm’…
Debug: 116 9 command.c:369 register_command_handler(): registering ‘ocd_arm’…
Debug: 117 9 command.c:369 register_command_handler(): registering ‘ocd_arm’…
Debug: 118 9 command.c:369 register_command_handler(): registering ‘ocd_arm’…
Debug: 119 9 command.c:369 register_command_handler(): registering ‘ocd_arm’…
Debug: 120 9 command.c:369 register_command_handler(): registering ‘ocd_arm’…
Debug: 121 10 command.c:369 register_command_handler(): registering ‘ocd_etm’…
Debug: 122 10 command.c:369 register_command_handler(): registering ‘ocd_arm7_9’…
Debug: 123 10 command.c:369 register_command_handler(): registering ‘ocd_arm7_9’…
Debug: 124 10 command.c:369 register_command_handler(): registering ‘ocd_arm7_9’…
Debug: 125 10 armv4_5.c:410 arm_set_cpsr(): set CPSR 0x00000010: User mode, ARM state
Debug: 126 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 127 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 128 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 129 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 130 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 131 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 132 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 133 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 134 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 135 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 136 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 137 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 138 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 139 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 140 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 141 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 142 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 143 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 144 10 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 145 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 146 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 147 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 148 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 149 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 150 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 151 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 152 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 153 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 154 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 155 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 156 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 157 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2478.cpu’…
Debug: 158 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_lpc2478.cpu configure -work-area-phys 0x40000000 -work-area-size 0x10000 -work-area-backup 0
Debug: 159 11 command.c:145 script_debug(): command - ocd_lpc2478.cpu ocd_lpc2478.cpu configure -work-area-phys 0x40000000 -work-area-size 0x10000 -work-area-backup 0
Debug: 160 11 target.c:1615 target_free_all_working_areas_restore(): freeing all working areas
Debug: 161 11 target.c:1615 target_free_all_working_areas_restore(): freeing all working areas
Debug: 162 11 target.c:1615 target_free_all_working_areas_restore(): freeing all working areas
Debug: 163 11 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash bank lpc2478.flash lpc2000 0x0 0x7e000 0 0 lpc2478.cpu lpc2000_v2 4000 calc_checksum
Debug: 164 11 command.c:145 script_debug(): command - ocd_flash ocd_flash bank lpc2478.flash lpc2000 0x0 0x7e000 0 0 lpc2478.cpu lpc2000_v2 4000 calc_checksum
Debug: 166 11 command.c:369 register_command_handler(): registering ‘ocd_lpc2000’…
Debug: 167 11 tcl.c:781 handle_flash_bank_command(): ‘lpc2000’ driver usage field missing
Debug: 168 12 target.c:1178 handle_target_init_command(): Initializing targets…
Debug: 169 12 command.c:369 register_command_handler(): registering ‘ocd_target_request’…
Debug: 170 12 command.c:369 register_command_handler(): registering ‘ocd_trace’…
Debug: 171 12 command.c:369 register_command_handler(): registering ‘ocd_trace’…
Debug: 172 12 command.c:369 register_command_handler(): registering ‘ocd_fast_load_image’…
Debug: 173 12 command.c:369 register_command_handler(): registering ‘ocd_fast_load’…
Debug: 174 12 command.c:369 register_command_handler(): registering ‘ocd_profile’…
Debug: 175 12 command.c:369 register_command_handler(): registering ‘ocd_virt2phys’…
Debug: 176 12 command.c:369 register_command_handler(): registering ‘ocd_reg’…
Debug: 177 12 command.c:369 register_command_handler(): registering ‘ocd_poll’…
Debug: 178 12 command.c:369 register_command_handler(): registering ‘ocd_wait_halt’…
Debug: 179 12 command.c:369 register_command_handler(): registering ‘ocd_halt’…
Debug: 180 12 command.c:369 register_command_handler(): registering ‘ocd_resume’…
Debug: 181 12 command.c:369 register_command_handler(): registering ‘ocd_reset’…
Debug: 182 12 command.c:369 register_command_handler(): registering ‘ocd_soft_reset_halt’…
Debug: 183 12 command.c:369 register_command_handler(): registering ‘ocd_step’…
Debug: 184 12 command.c:369 register_command_handler(): registering ‘ocd_mdw’…
Debug: 185 12 command.c:369 register_command_handler(): registering ‘ocd_mdh’…
Debug: 186 12 command.c:369 register_command_handler(): registering ‘ocd_mdb’…
Debug: 187 12 command.c:369 register_command_handler(): registering ‘ocd_mww’…
Debug: 188 12 command.c:369 register_command_handler(): registering ‘ocd_mwh’…
Debug: 189 12 command.c:369 register_command_handler(): registering ‘ocd_mwb’…
Debug: 190 12 command.c:369 register_command_handler(): registering ‘ocd_bp’…
Debug: 191 12 command.c:369 register_command_handler(): registering ‘ocd_rbp’…
Debug: 192 12 command.c:369 register_command_handler(): registering ‘ocd_wp’…
Debug: 193 13 command.c:369 register_command_handler(): registering ‘ocd_rwp’…
Debug: 194 13 command.c:369 register_command_handler(): registering ‘ocd_load_image’…
Debug: 195 13 command.c:369 register_command_handler(): registering ‘ocd_dump_image’…
Debug: 196 13 command.c:369 register_command_handler(): registering ‘ocd_verify_image’…
Debug: 197 13 command.c:369 register_command_handler(): registering ‘ocd_test_image’…
Debug: 198 13 command.c:369 register_command_handler(): registering ‘ocd_reset_nag’…
Debug: 199 13 command.c:369 register_command_handler(): registering ‘ocd_ps’…
Debug: 200 13 ft2232.c:2346 ft2232_init(): ft2232 interface using shortest path jtag state transitions
Debug: 201 13 ft2232.c:2056 ft2232_init_ftd2xx(): ‘ft2232’ interface using FTD2XX with ‘jtagkey’ layout (0403:cff8)
Error: 202 30 ft2232.c:2160 ft2232_init_ftd2xx(): unable to get latency timer: OK
Error: 203 30 ft2232.c:2164 ft2232_init_ftd2xx(): ftd2xx 1.04 detected - this has known issues with FT_GetLatencyTimer, upgrade to a newer version
Info : 204 34 ft2232.c:2197 ft2232_init_ftd2xx(): device: 6 “2232H”
Info : 205 35 ft2232.c:2198 ft2232_init_ftd2xx(): deviceID: 67358712
Info : 206 35 ft2232.c:2199 ft2232_init_ftd2xx(): SerialNumber: 557X8LX3A
Info : 207 35 ft2232.c:2200 ft2232_init_ftd2xx(): Description: Amontec JTAGkey-2P A
Debug: 208 35 ft2232.c:2308 ft2232_set_data_bits_low_byte(): 80 08 1b
Debug: 209 36 ft2232.c:2327 ft2232_set_data_bits_high_byte(): 82 09 0f
Info : 210 36 ft2232.c:656 ftx232h_clk_divide_by_5(): max TCK change to: 30000 kHz
Debug: 211 38 core.c:1615 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 212 38 core.c:1618 adapter_khz_to_speed(): have interface set up
Debug: 213 38 ft2232.c:625 ftx232h_adaptive_clocking(): 97
Debug: 214 38 ft2232.c:684 ft2232_speed(): 86 3b 00
Debug: 215 38 core.c:1615 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 216 39 core.c:1618 adapter_khz_to_speed(): have interface set up
Info : 217 39 core.c:1404 adapter_init(): clock speed 500 kHz
Debug: 218 39 openocd.c:132 handle_init_command(): Debug Adapter init complete
Debug: 219 39 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_transport init
Debug: 220 39 command.c:145 script_debug(): command - ocd_transport ocd_transport init
Debug: 222 39 transport.c:240 handle_transport_init(): handle_transport_init
Debug: 223 40 ft2232.c:1403 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f
Debug: 224 40 core.c:719 jtag_add_reset(): SRST line released
Debug: 225 40 core.c:743 jtag_add_reset(): TRST line released
Debug: 226 40 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 227 243 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 228 243 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 229 243 core.c:1417 jtag_init_inner(): Init JTAG chain
Debug: 230 243 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 231 244 core.c:1048 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 232 244 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Error: 233 247 core.c:941 jtag_examine_chain_check(): JTAG scan chain interrogation failed: all ones
Error: 234 248 core.c:942 jtag_examine_chain_check(): Check JTAG interface, timings, target power, etc.
Error: 235 248 core.c:1462 jtag_init_inner(): Trying to use configured scan chain anyway…
Debug: 236 248 core.c:1208 jtag_validate_ircapture(): IR capture validation scan
Error: 237 249 core.c:1261 jtag_validate_ircapture(): lpc2478.cpu: IR capture error; saw 0x0f not 0x01
Debug: 238 250 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 239 250 core.c:1485 jtag_init_inner(): Bypassing JTAG setup events due to errors
Debug: 240 250 openocd.c:145 handle_init_command(): Examining targets…
Debug: 241 250 target.c:1294 target_call_event_callbacks(): target event 21 (examine-start)
Info : 242 251 embeddedice.c:231 embeddedice_build_reg_cache(): Embedded ICE version 15
Error: 243 252 embeddedice.c:296 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0xffffffff)
Info : 244 252 embeddedice.c:302 embeddedice_build_reg_cache(): lpc2478.cpu: hardware has 2 breakpoint/watchpoint units
Debug: 245 252 arm7_9_common.c:75 arm7_9_clear_watchpoints(): -
Debug: 246 252 embeddedice.c:501 embeddedice_write_reg(): 12: 0x00000000
Debug: 247 252 embeddedice.c:501 embeddedice_write_reg(): 20: 0x00000000
Debug: 248 253 target.c:1294 target_call_event_callbacks(): target event 22 (examine-end)
Debug: 249 253 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 250 253 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 251 255 arm7_9_common.c:823 arm7_9_poll(): DBGACK already set during server startup.
Debug: 252 256 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000000
Debug: 253 256 embeddedice.c:501 embeddedice_write_reg(): 12: 0x00000000
Debug: 254 257 arm7_9_common.c:1272 arm7_9_debug_entry(): target entered debug from Thumb state
Debug: 255 259 arm7_9_common.c:1278 arm7_9_debug_entry(): r0_thumb: 0xffffffff, pc_thumb: 0xfffffff5
Warn : 256 264 armv4_5.c:395 arm_set_cpsr(): ThumbEE – incomplete support
Debug: 257 264 armv4_5.c:410 arm_set_cpsr(): set CPSR 0xffffffff: System mode, ThumbEE state
Debug: 258 264 arm7_9_common.c:1318 arm7_9_debug_entry(): target entered debug state in System mode
Debug: 259 264 arm7_9_common.c:1338 arm7_9_debug_entry(): r0: 0xffffffff
Debug: 260 264 arm7_9_common.c:1338 arm7_9_debug_entry(): r1: 0xffffffff
Debug: 261 264 arm7_9_common.c:1338 arm7_9_debug_entry(): r2: 0xffffffff
Debug: 262 264 arm7_9_common.c:1338 arm7_9_debug_entry(): r3: 0xffffffff
Debug: 263 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r4: 0xffffffff
Debug: 264 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r5: 0xffffffff
Debug: 265 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r6: 0xffffffff
Debug: 266 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r7: 0xffffffff
Debug: 267 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r8: 0xffffffff
Debug: 268 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r9: 0xffffffff
Debug: 269 265 arm7_9_common.c:1338 arm7_9_debug_entry(): r10: 0xffffffff
Debug: 270 266 arm7_9_common.c:1338 arm7_9_debug_entry(): r11: 0xffffffff
Debug: 271 266 arm7_9_common.c:1338 arm7_9_debug_entry(): r12: 0xffffffff
Debug: 272 266 arm7_9_common.c:1338 arm7_9_debug_entry(): r13: 0xffffffff
Debug: 273 266 arm7_9_common.c:1338 arm7_9_debug_entry(): r14: 0xffffffff
Debug: 274 266 arm7_9_common.c:1338 arm7_9_debug_entry(): r15: 0xfffffff9
Debug: 275 266 arm7_9_common.c:1346 arm7_9_debug_entry(): entered debug state at PC 0xfffffff9
Debug: 276 266 target.c:1294 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 277 266 target.c:1294 target_call_event_callbacks(): target event 1 (halted)
Debug: 279 267 tcl.c:847 handle_flash_init_command(): Initializing flash devices…
Debug: 280 267 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 281 267 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 282 267 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 283 267 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 284 267 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 285 268 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 286 268 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 287 268 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 288 268 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 289 268 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 290 268 command.c:369 register_command_handler(): registering ‘ocd_flash’…
Debug: 291 269 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 292 269 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 294 272 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices…
Debug: 295 272 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 296 272 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 298 274 tcl.c:497 handle_nand_init_command(): Initializing NAND devices…
Debug: 299 274 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 300 274 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 302 276 pld.c:207 handle_pld_init_command(): Initializing PLDs…