Have you used it successfully? Helios has that too (since early 2011?),
but I've never got it running. I've just updated to indigo and still
can't make it work.
When trying to start a debug session, it eventually just hangs in the
openocd startup process after it's detected my device, regardless of
whether I'm using DSF or standard, both give the same issue.
Openocd starts up, finds my adapter and tap's all correctly, but never
gets to the stage of loading my application, the last lines are:
Debug: 287 4090 pld.c:232 handle_pld_init_command(): Initializing PLDs...
Debug: 288 4091 command.c:156 script_debug(): command - ocd_command
ocd_command type ocd_gdb_port pipe
Debug: 289 4091 command.c:156 script_debug(): command - gdb_port
ocd_gdb_port pipe
Debug: 291 4092 command.c:156 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 292 4092 command.c:156 script_debug(): command - init ocd_init
...and sits there forever.
I've attached the gdb and openocd logs (in -d3 mode) if anyone's got any
ideas?
To be clear, the same openocd scripts and gdb settings work fine in tcp
mode, it's just pipe that doesn't work.
Cheers,
Andew
On 29/06/2011 8:25 PM, Spencer Oliver wrote:
I see the latest "GDB Hardware Debugging" plugin in eclipse indigo has
native support for openocd :)
Cheers
Spen
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
Debug: 18 1995 configuration.c:45 add_script_search_dir(): adding
D:\Medmont\Hardware\Projects\MCAP\Firmware\MedmontMCAPDevelopment\eclipse.indigo\..
Debug: 19 1995 configuration.c:45 add_script_search_dir(): adding
D:/Medmont/Hardware/Projects/MCAP/Firmware/MedmontMCAPDevelopment/eclipse.indigo/../share/openocd/scripts
Debug: 20 1995 configuration.c:87 find_file(): found openocd.cfg
Debug: 21 1996 configuration.c:87 find_file(): found
openocd/interface/jtagkey.cfg
Debug: 22 1996 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_interface ft2232
Debug: 23 1996 command.c:156 script_debug(): command - interface ocd_interface
ft2232
Debug: 25 1996 command.c:373 register_command_handler(): registering
'ocd_ft2232_device_desc'...
Debug: 26 1996 command.c:373 register_command_handler(): registering
'ocd_ft2232_serial'...
Debug: 27 1996 command.c:373 register_command_handler(): registering
'ocd_ft2232_layout'...
Debug: 28 1997 command.c:373 register_command_handler(): registering
'ocd_ft2232_vid_pid'...
Debug: 29 1997 command.c:373 register_command_handler(): registering
'ocd_ft2232_latency'...
Info : 30 1997 transport.c:123 allow_transports(): only one transport option;
autoselect 'jtag'
Debug: 31 1997 command.c:373 register_command_handler(): registering
'ocd_jtag_flush_queue_sleep'...
Debug: 32 1997 command.c:373 register_command_handler(): registering
'ocd_jtag_rclk'...
Debug: 33 1997 command.c:373 register_command_handler(): registering
'ocd_jtag_ntrst_delay'...
Debug: 34 1997 command.c:373 register_command_handler(): registering
'ocd_jtag_ntrst_assert_width'...
Debug: 35 1997 command.c:373 register_command_handler(): registering
'ocd_scan_chain'...
Debug: 36 1997 command.c:373 register_command_handler(): registering
'ocd_jtag_reset'...
Debug: 37 1997 command.c:373 register_command_handler(): registering
'ocd_runtest'...
Debug: 38 1997 command.c:373 register_command_handler(): registering
'ocd_irscan'...
Debug: 39 1997 command.c:373 register_command_handler(): registering
'ocd_verify_ircapture'...
Debug: 40 1997 command.c:373 register_command_handler(): registering
'ocd_verify_jtag'...
Debug: 41 1997 command.c:373 register_command_handler(): registering
'ocd_tms_sequence'...
Debug: 42 1997 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 43 1997 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 44 1997 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 45 1997 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 46 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 47 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 48 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 49 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 50 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 51 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 52 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 53 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 54 1998 command.c:373 register_command_handler(): registering
'ocd_jtag'...
Debug: 55 1998 command.c:373 register_command_handler(): registering
'ocd_svf'...
Debug: 56 1998 command.c:373 register_command_handler(): registering
'ocd_xsvf'...
Debug: 57 1998 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_ft2232_device_desc Amontec JTAGkey
Debug: 58 1998 command.c:156 script_debug(): command - ft2232_device_desc
ocd_ft2232_device_desc Amontec JTAGkey
Debug: 60 1998 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_ft2232_layout jtagkey
Debug: 61 1998 command.c:156 script_debug(): command - ft2232_layout
ocd_ft2232_layout jtagkey
Debug: 63 1999 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_ft2232_vid_pid 0x0403 0xcff8
Debug: 64 1999 command.c:156 script_debug(): command - ft2232_vid_pid
ocd_ft2232_vid_pid 0x0403 0xcff8
Debug: 66 1999 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_adapter_khz 1000
Debug: 67 1999 command.c:156 script_debug(): command - adapter_khz
ocd_adapter_khz 1000
Debug: 69 1999 core.c:1618 jtag_config_khz(): handle jtag khz
Debug: 70 1999 core.c:1581 adapter_khz_to_speed(): convert khz to interface
specific speed value
User : 71 1999 command.c:566 command_print(): 1000 kHz
Debug: 72 1999 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_reset_config srst_only srst_pulls_trst
Debug: 73 1999 command.c:156 script_debug(): command - reset_config
ocd_reset_config srst_only srst_pulls_trst
User : 75 1999 command.c:566 command_print(): srst_only srst_pulls_trst
srst_gates_jtag srst_open_drain
Debug: 76 1999 configuration.c:87 find_file(): found openocd/target/lpc3131.cfg
Debug: 77 2000 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_jtag newtap lpc3131 cpu -irlen 4 -expected-id 0x07926f0f
Debug: 78 2000 command.c:156 script_debug(): command - ocd_jtag ocd_jtag newtap
lpc3131 cpu -irlen 4 -expected-id 0x07926f0f
Debug: 79 2000 tcl.c:573 jim_newtap_cmd(): Creating New Tap, Chip: lpc3131,
Tap: cpu, Dotted: lpc3131.cpu, 4 params
Debug: 80 2000 tcl.c:590 jim_newtap_cmd(): Processing option: -irlen
Debug: 81 2000 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id
Debug: 82 2000 core.c:1331 jtag_tap_init(): Created Tap: lpc3131.cpu @ abs
position 0, irlen 4, capture: 0x1 mask: 0x3
Debug: 83 2000 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_adapter_nsrst_delay 1000
Debug: 84 2000 command.c:156 script_debug(): command - adapter_nsrst_delay
ocd_adapter_nsrst_delay 1000
User : 86 2000 command.c:566 command_print(): adapter_nsrst_delay: 1000
Debug: 87 2001 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_jtag_ntrst_delay 1000
Debug: 88 2001 command.c:156 script_debug(): command - jtag_ntrst_delay
ocd_jtag_ntrst_delay 1000
User : 90 2001 command.c:566 command_print(): jtag_ntrst_delay: 1000
Debug: 91 2001 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_target create lpc3131.cpu arm926ejs -endian little -chain-position
lpc3131.cpu
Debug: 92 2001 command.c:156 script_debug(): command - ocd_target ocd_target
create lpc3131.cpu arm926ejs -endian little -chain-position lpc3131.cpu
Debug: 93 2001 command.c:373 register_command_handler(): registering
'ocd_arm'...
Debug: 94 2001 command.c:373 register_command_handler(): registering
'ocd_arm'...
Debug: 95 2001 command.c:373 register_command_handler(): registering
'ocd_arm'...
Debug: 96 2001 command.c:373 register_command_handler(): registering
'ocd_arm'...
Debug: 97 2001 command.c:373 register_command_handler(): registering
'ocd_arm'...
Debug: 98 2001 command.c:373 register_command_handler(): registering
'ocd_arm'...
Debug: 99 2001 command.c:373 register_command_handler(): registering
'ocd_etm'...
Debug: 100 2001 command.c:373 register_command_handler(): registering
'ocd_arm7_9'...
Debug: 101 2002 command.c:373 register_command_handler(): registering
'ocd_arm7_9'...
Debug: 102 2002 command.c:373 register_command_handler(): registering
'ocd_arm7_9'...
Debug: 103 2002 command.c:373 register_command_handler(): registering
'ocd_arm9'...
Debug: 104 2002 command.c:373 register_command_handler(): registering
'ocd_arm926ejs'...
Debug: 105 2002 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x00000010: User mode,
ARM state
Debug: 106 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 107 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 108 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 109 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 110 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 111 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 112 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 113 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 114 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 115 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 116 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 117 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 118 2002 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 119 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 120 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 121 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 122 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 123 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 124 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 125 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 126 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 127 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 128 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 129 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 130 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 131 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 132 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 133 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 134 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 135 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 136 2003 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 137 2004 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 138 2004 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 139 2004 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 140 2004 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 141 2004 command.c:373 register_command_handler(): registering
'ocd_lpc3131.cpu'...
Debug: 142 2004 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_lpc3131.cpu configure -work-area-phys 0x11028000 -work-area-size
0x30000 -work-area-backup 0
Debug: 143 2004 command.c:156 script_debug(): command - ocd_lpc3131.cpu
ocd_lpc3131.cpu configure -work-area-phys 0x11028000 -work-area-size 0x30000
-work-area-backup 0
Debug: 144 2004 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_arm7_9 fast_memory_access enable
Debug: 145 2004 command.c:156 script_debug(): command - ocd_arm7_9 ocd_arm7_9
fast_memory_access enable
User : 147 2004 command.c:566 command_print(): fast memory access is enabled
Debug: 148 2004 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_arm7_9 dcc_downloads enable
Debug: 149 2005 command.c:156 script_debug(): command - ocd_arm7_9 ocd_arm7_9
dcc_downloads enable
User : 151 2005 command.c:566 command_print(): dcc downloads are enabled
Debug: 152 2005 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_jtag newtap fpga tap -irlen 8 -expected-id 0x1b9521cf -expected-id
0x129121cf
Debug: 153 2005 command.c:156 script_debug(): command - ocd_jtag ocd_jtag
newtap fpga tap -irlen 8 -expected-id 0x1b9521cf -expected-id 0x129121cf
Debug: 154 2005 tcl.c:573 jim_newtap_cmd(): Creating New Tap, Chip: fpga, Tap:
tap, Dotted: fpga.tap, 6 params
Debug: 155 2005 tcl.c:590 jim_newtap_cmd(): Processing option: -irlen
Debug: 156 2005 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id
Debug: 157 2005 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id
Debug: 158 2005 core.c:1331 jtag_tap_init(): Created Tap: fpga.tap @ abs
position 0, irlen 8, capture: 0x1 mask: 0x3
Debug: 159 2005 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_init
Debug: 160 2005 command.c:156 script_debug(): command - init ocd_init
Debug: 162 2005 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_target init
Debug: 163 2006 command.c:156 script_debug(): command - ocd_target ocd_target
init
Debug: 165 2006 target.c:891 handle_target_init_command(): Initializing
targets...
Debug: 166 2006 command.c:373 register_command_handler(): registering
'ocd_target_request'...
Debug: 167 2006 command.c:373 register_command_handler(): registering
'ocd_trace'...
Debug: 168 2006 command.c:373 register_command_handler(): registering
'ocd_trace'...
Debug: 169 2006 command.c:373 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 170 2006 command.c:373 register_command_handler(): registering
'ocd_fast_load'...
Debug: 171 2006 command.c:373 register_command_handler(): registering
'ocd_profile'...
Debug: 172 2006 command.c:373 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 173 2006 command.c:373 register_command_handler(): registering
'ocd_reg'...
Debug: 174 2006 command.c:373 register_command_handler(): registering
'ocd_poll'...
Debug: 175 2006 command.c:373 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 176 2006 command.c:373 register_command_handler(): registering
'ocd_halt'...
Debug: 177 2006 command.c:373 register_command_handler(): registering
'ocd_resume'...
Debug: 178 2006 command.c:373 register_command_handler(): registering
'ocd_reset'...
Debug: 179 2006 command.c:373 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 180 2006 command.c:373 register_command_handler(): registering
'ocd_step'...
Debug: 181 2007 command.c:373 register_command_handler(): registering
'ocd_mdw'...
Debug: 182 2007 command.c:373 register_command_handler(): registering
'ocd_mdh'...
Debug: 183 2007 command.c:373 register_command_handler(): registering
'ocd_mdb'...
Debug: 184 2007 command.c:373 register_command_handler(): registering
'ocd_mww'...
Debug: 185 2007 command.c:373 register_command_handler(): registering
'ocd_mwh'...
Debug: 186 2007 command.c:373 register_command_handler(): registering
'ocd_mwb'...
Debug: 187 2007 command.c:373 register_command_handler(): registering
'ocd_bp'...
Debug: 188 2007 command.c:373 register_command_handler(): registering
'ocd_rbp'...
Debug: 189 2007 command.c:373 register_command_handler(): registering
'ocd_wp'...
Debug: 190 2007 command.c:373 register_command_handler(): registering
'ocd_rwp'...
Debug: 191 2007 command.c:373 register_command_handler(): registering
'ocd_load_image'...
Debug: 192 2007 command.c:373 register_command_handler(): registering
'ocd_dump_image'...
Debug: 193 2007 command.c:373 register_command_handler(): registering
'ocd_verify_image'...
Debug: 194 2007 command.c:373 register_command_handler(): registering
'ocd_test_image'...
Debug: 195 2007 command.c:373 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 196 2007 ft2232.c:2336 ft2232_init(): ft2232 interface using shortest
path jtag state transitions
Debug: 197 2007 ft2232.c:2076 ft2232_init_ftd2xx(): 'ft2232' interface using
FTD2XX with 'jtagkey' layout (0403:cff8)
Debug: 198 2043 ft2232.c:2187 ft2232_init_ftd2xx(): current latency timer: 2
Info : 199 2043 ft2232.c:2214 ft2232_init_ftd2xx(): device: 6 "2232H"
Info : 200 2043 ft2232.c:2215 ft2232_init_ftd2xx(): deviceID: 67358712
Info : 201 2043 ft2232.c:2216 ft2232_init_ftd2xx(): SerialNumber: FTTO4AR7A
Info : 202 2043 ft2232.c:2217 ft2232_init_ftd2xx(): Description: Amontec
JTAGkey A
Debug: 203 2043 ft2232.c:2701 jtagkey_init(): 80 08 1b
Debug: 204 2043 ft2232.c:2760 jtagkey_init(): 82 09 0f
Info : 205 2043 ft2232.c:622 ft2232h_ft4232h_clk_divide_by_5(): max TCK change
to: 30000 kHz
Debug: 206 2043 core.c:1581 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 207 2043 core.c:1585 adapter_khz_to_speed(): have interface set up
Debug: 208 2043 ft2232.c:590 ft2232h_ft4232h_adaptive_clocking(): 97
Debug: 209 2044 ft2232.c:651 ft2232_speed(): 86 1d 00
Debug: 210 2045 core.c:1581 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 211 2045 core.c:1585 adapter_khz_to_speed(): have interface set up
Info : 212 2045 core.c:1400 adapter_init(): clock speed 1000 kHz
Debug: 213 2045 openocd.c:137 handle_init_command(): Debug Adapter init complete
Debug: 214 2045 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_transport init
Debug: 215 2045 command.c:156 script_debug(): command - ocd_transport
ocd_transport init
Debug: 217 2045 transport.c:253 handle_transport_init(): handle_transport_init
Debug: 218 2045 ft2232.c:1455 jtagkey_reset(): trst: 0, srst: 0, high_output:
0x09, high_direction: 0x0f
Debug: 219 2045 core.c:714 jtag_add_reset(): SRST line released
Debug: 220 2045 core.c:738 jtag_add_reset(): TRST line released
Debug: 221 2045 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 226 4053 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_jtag arp_init
Debug: 227 4053 command.c:156 script_debug(): command - ocd_jtag ocd_jtag
arp_init
Debug: 228 4053 core.c:1414 jtag_init_inner(): Init JTAG chain
Debug: 229 4053 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 230 4053 core.c:1049 jtag_examine_chain(): DR scan interrogation for
IDCODE/BYPASS
Debug: 231 4053 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 232 4054 core.c:949 jtag_examine_chain_display(): JTAG tap: lpc3131.cpu
tap/device found: 0x07926f0f (mfg: 0x787, part: 0x7926, ver: 0x0)
Info : 233 4054 core.c:949 jtag_examine_chain_display(): JTAG tap: fpga.tap
tap/device found: 0x129121cf (mfg: 0x0e7, part: 0x2912, ver: 0x1)
Debug: 234 4054 core.c:1213 jtag_validate_ircapture(): IR capture validation
scan
Debug: 235 4056 core.c:1274 jtag_validate_ircapture(): lpc3131.cpu: IR capture
0x01
Debug: 236 4056 core.c:1274 jtag_validate_ircapture(): fpga.tap: IR capture 0x1d
Debug: 237 4056 openocd.c:150 handle_init_command(): Examining targets...
Info : 238 4058 embeddedice.c:231 embeddedice_build_reg_cache(): Embedded ICE
version 6
Info : 239 4058 embeddedice.c:303 embeddedice_build_reg_cache(): lpc3131.cpu:
hardware has 2 breakpoint/watchpoint units
Debug: 240 4060 embeddedice.c:502 embeddedice_write_reg(): 0: 0x00000000
Debug: 241 4060 arm7_9_common.c:75 arm7_9_clear_watchpoints(): -
Debug: 242 4060 embeddedice.c:502 embeddedice_write_reg(): 12: 0x00000000
Debug: 243 4060 embeddedice.c:502 embeddedice_write_reg(): 20: 0x00000000
Debug: 244 4060 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_flash init
Debug: 245 4061 command.c:156 script_debug(): command - ocd_flash ocd_flash init
Debug: 246 4062 arm7_9_common.c:898 arm7_9_poll(): DBGACK already set during
server startup.
Debug: 247 4062 embeddedice.c:502 embeddedice_write_reg(): 0: 0x00000005
Debug: 248 4062 embeddedice.c:502 embeddedice_write_reg(): 0: 0x00000005
Debug: 249 4064 arm926ejs.c:293 arm926ejs_examine_debug_reason(): debug
re-entry from system speed access
Debug: 250 4064 arm7_9_common.c:1410 arm7_9_debug_entry(): target entered debug
from ARM state
Debug: 251 4068 armv4_5.c:397 arm_set_cpsr(): set CPSR 0x600000d3: Supervisor
mode, ARM state
Debug: 252 4068 arm7_9_common.c:1438 arm7_9_debug_entry(): target entered debug
state in Supervisor mode
Debug: 253 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r0: 0x00000010
Debug: 254 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r1: 0x00000000
Debug: 255 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r2: 0x00000000
Debug: 256 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r3: 0x00000000
Debug: 257 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r4: 0x00000000
Debug: 258 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r5: 0x00000000
Debug: 259 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r6: 0x00000000
Debug: 260 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r7: 0x00000000
Debug: 261 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r8: 0x00000000
Debug: 262 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r9: 0x00000000
Debug: 263 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r10: 0x00000000
Debug: 264 4068 arm7_9_common.c:1460 arm7_9_debug_entry(): r11: 0x00000000
Debug: 265 4069 arm7_9_common.c:1460 arm7_9_debug_entry(): r12: 0x00000000
Debug: 266 4069 arm7_9_common.c:1460 arm7_9_debug_entry(): r13: 0x00000000
Debug: 267 4069 arm7_9_common.c:1460 arm7_9_debug_entry(): r14: 0x00000000
Debug: 268 4069 arm7_9_common.c:1460 arm7_9_debug_entry(): r15: 0x11029c24
Debug: 269 4069 arm7_9_common.c:1468 arm7_9_debug_entry(): entered debug state
at PC 0x11029c24
Debug: 270 4072 arm926ejs.c:455 arm926ejs_post_debug_entry(): cp15_control_reg:
00051078
Debug: 271 4080 arm926ejs.c:486 arm926ejs_post_debug_entry(): D FSR:
0x000000e2, D FAR: 0x10d960e6, I FSR: 0x0000001c
Debug: 272 4084 target.c:1024 target_call_event_callbacks(): target event 2
(gdb-halt)
Debug: 273 4084 target.c:1024 target_call_event_callbacks(): target event 3
(halted)
Debug: 275 4084 tcl.c:912 handle_flash_init_command(): Initializing flash
devices...
Debug: 276 4084 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_mflash init
Debug: 277 4084 command.c:156 script_debug(): command - ocd_mflash ocd_mflash
init
Debug: 279 4086 mflash.c:1331 handle_mflash_init_command(): Initializing mflash
devices...
Debug: 280 4086 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_nand init
Debug: 281 4086 command.c:156 script_debug(): command - ocd_nand ocd_nand init
Debug: 283 4088 tcl.c:520 handle_nand_init_command(): Initializing NAND
devices...
Debug: 284 4088 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_pld init
Debug: 285 4088 command.c:156 script_debug(): command - ocd_pld ocd_pld init
Debug: 287 4090 pld.c:232 handle_pld_init_command(): Initializing PLDs...
Debug: 288 4091 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_gdb_port pipe
Debug: 289 4091 command.c:156 script_debug(): command - gdb_port ocd_gdb_port
pipe
Debug: 291 4092 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_init
Debug: 292 4092 command.c:156 script_debug(): command - init ocd_init
315-gdb-set confirm off
315^done
(gdb)
316-gdb-set width 0
316^done
(gdb)
317-gdb-set height 0
317^done
(gdb)
318-interpreter-exec console echo
318^done
(gdb)
319-gdb-show prompt
319^done,value="(gdb) "
(gdb)
320-gdb-set new-console on
320^error,msg="No symbol table is loaded. Use the \"file\" command."
(gdb)
321 add-sym
D:\\Medmont\\Hardware\\Projects\\MCAP\\Firmware\\MCAP_workspace_indigo\\E300_USB\\output\\E300_USB.elf
0x11029000
&"add-sym
D:\\\\Medmont\\\\Hardware\\\\Projects\\\\MCAP\\\\Firmware\\\\MCAP_workspace_indigo\\\\E300_USB\\\\output\\\\E300_USB.elf
0x11029000\n"
~"add symbol table from file
\"D:\\Medmont\\Hardware\\Projects\\MCAP\\Firmware\\MCAP_workspace_indigo\\E300_USB\\output\\E300_USB.elf\"
at\n"
add symbol table from file
"D:\Medmont\Hardware\Projects\MCAP\Firmware\MCAP_workspace_indigo\E300_USB\output\E300_USB.elf"
at
~"\t.text_addr = 0x11029000\n"
.text_addr = 0x11029000
add-sym
D:\\Medmont\\Hardware\\Projects\\MCAP\\Firmware\\MCAP_workspace_indigo\\E300_USB\\output\\E300_USB.elf
0x11029000
321^done
(gdb)
322-target-select remote | openocd -d 3 -s openocd -f openocd.cfg -c "gdb_port
pipe" --log_output openocd.log
Open On-Chip Debugger 0.5.0-dev-00592-g2e36e3e-dirty (2010-12-07-08:43)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
&"Open On-Chip Debugger 0.5.0-dev-00592-g2e36e3e-dirty (2010-12-07-08:43)\n"
&"Licensed under GNU GPL v2\n"
&"For bug reports, read\n"
&"\thttp://openocd.berlios.de/doc/doxygen/bugs.html\n"
&"User : 11 2 command.c:566 command_print(): debug_level: 3\n"
&"Debug: 12 2 configuration.c:45 add_script_search_dir(): adding openocd\n"
&"Debug: 13 1994 command.c:156 script_debug(): command - ocd_command
ocd_command type ocd_log_output openocd.log\n"
&"Debug: 14 1994 command.c:156 script_debug(): command - log_output
ocd_log_output openocd.log\n"
&"Debug: 15 1994 log.c:438 keep_alive(): keep_alive() was not invoked in the
1000ms timelimit (1994). This may cause trouble with GDB connections.\n"
User : 11 2 command.c:566 command_print(): debug_level: 3
Debug: 12 2 configuration.c:45 add_script_search_dir(): adding openocd
Debug: 13 1994 command.c:156 script_debug(): command - ocd_command ocd_command
type ocd_log_output openocd.log
Debug: 14 1994 command.c:156 script_debug(): command - log_output
ocd_log_output openocd.log
Debug: 15 1994 log.c:438 keep_alive(): keep_alive() was not invoked in the
1000ms timelimit (1994). This may cause trouble with GDB connections.
~"Ignoring packet error, continuing...\n"
warning: unrecognized item "timeout" in "qSupported" response
Ignoring packet error, continuing...
&"warning: unrecognized item \"timeout\" in \"qSupported\" response\n"
~"Ignoring packet error, continuing...\n"
Ignoring packet error, continuing...
~"Ignoring packet error, continuing...\n"
Ignoring packet error, continuing...
~"Ignoring packet error, continuing...\n"
Ignoring packet error, continuing...
~"Ignoring packet error, continuing...\n"
Ignoring packet error, continuing...
~"Ignoring packet error, continuing...\n"
Ignoring packet error, continuing...
=thread-group-created,id="42000"
warning: Invalid remote reply: timeout
=thread-created,id="1",group-id="42000"
&"warning: Invalid remote reply: timeout\n"
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development