Are you suggesting to source the target/stellaris.cfg?
I wasn't sure whether I should do that or not because the Tiva C is not
a Stellaris. I think it's similar since TI often copies from itself but
I wasn't sure if it would work.
The boards/ek-tm4c123gxl.cfg sources the target/stellaris_icdi.cfg which
defines much less stuff than target/stellaris.cfg. That's what made me
doubt...
In any case, my config looks now like this:
######################################################################
proc program_device { filename } {
program $filename verify reset exit 0x00000000
}
set WORKAREASIZE 0x8000
set CHIPNAME tm4c123gh6pm
set TARGETNAME $CHIPNAME.cpu
source [find interface/ftdi/xds100v2.cfg]
adapter_khz 1000
reset_config srst_only
jtag newtap $CHIPNAME cpu -expected-id 0x4ba00477 -irlen 4
target create $TARGETNAME cortex_m -chain-position $TARGETNAME
$TARGETNAME configure -work-area-phys 0x20000000 -work-area-size
$WORKAREASIZE -work-area-backup 0
# flash configuration ... autodetects sizes, autoprobed
flash bank $CHIPNAME.flash stellaris 0 0 0 0 $TARGETNAME
init; ftdi_set_signal PWR_RST 1; jtag arp_init; halt; reset init;
######################################################################
I've upgraded to version 0.9.0 from Debian's jessie-backports and here's
the debug log. If anyone think it will help I can also get v0.10.0 from
git and build it myself but I'd prefer to use the version from either
Debian (0.8.0) or if need be from jessie-backports (0.9.0):
Open On-Chip Debugger 0.8.0 (2014-10-20-21:48)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 13 3 command.c:546 command_print(): debug_level: 3
Debug: 14 3 options.c:98 add_default_dirs(): bindir=/usr/bin
Debug: 15 3 options.c:99 add_default_dirs():
pkgdatadir=/usr/share/openocd
Debug: 16 3 options.c:100 add_default_dirs(): run_prefix=
Debug: 17 3 configuration.c:44 add_script_search_dir():
adding /home/HASLERRAIL/holzwarth/.openocd
Debug: 18 3 configuration.c:44 add_script_search_dir():
adding /usr/share/openocd/site
Debug: 19 3 configuration.c:44 add_script_search_dir():
adding /usr/share/openocd/scripts
Debug: 20 3 configuration.c:84 find_file(): found
xds100v2_tm4c123_flash.cfg
Debug: 21 4 configuration.c:84 find_file():
found /usr/share/openocd/scripts/interface/ftdi/xds100v2.cfg
Debug: 22 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_interface ftdi
Debug: 23 4 command.c:145 script_debug(): command - interface
ocd_interface ftdi
Debug: 25 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_device_desc'...
Debug: 26 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_serial'...
Debug: 27 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_channel'...
Debug: 28 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_layout_init'...
Debug: 29 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_layout_signal'...
Debug: 30 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_set_signal'...
Debug: 31 4 command.c:366 register_command_handler(): registering
'ocd_ftdi_vid_pid'...
Info : 32 4 transport.c:118 allow_transports(): only one transport
option; autoselect 'jtag'
Debug: 33 4 command.c:366 register_command_handler(): registering
'ocd_jtag_flush_queue_sleep'...
Debug: 34 4 command.c:366 register_command_handler(): registering
'ocd_jtag_rclk'...
Debug: 35 4 command.c:366 register_command_handler(): registering
'ocd_jtag_ntrst_delay'...
Debug: 36 4 command.c:366 register_command_handler(): registering
'ocd_jtag_ntrst_assert_width'...
Debug: 37 4 command.c:366 register_command_handler(): registering
'ocd_scan_chain'...
Debug: 38 4 command.c:366 register_command_handler(): registering
'ocd_jtag_reset'...
Debug: 39 4 command.c:366 register_command_handler(): registering
'ocd_runtest'...
Debug: 40 4 command.c:366 register_command_handler(): registering
'ocd_irscan'...
Debug: 41 4 command.c:366 register_command_handler(): registering
'ocd_verify_ircapture'...
Debug: 42 4 command.c:366 register_command_handler(): registering
'ocd_verify_jtag'...
Debug: 43 4 command.c:366 register_command_handler(): registering
'ocd_tms_sequence'...
Debug: 44 4 command.c:366 register_command_handler(): registering
'ocd_wait_srst_deassert'...
Debug: 45 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 46 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 47 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 48 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 49 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 50 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 51 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 52 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 53 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 54 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 55 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 56 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 57 4 command.c:366 register_command_handler(): registering
'ocd_jtag'...
Debug: 58 4 command.c:366 register_command_handler(): registering
'ocd_svf'...
Debug: 59 4 command.c:366 register_command_handler(): registering
'ocd_xsvf'...
Debug: 60 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_vid_pid 0x0403 0xa6d0 0x0403 0x6010
Debug: 61 4 command.c:145 script_debug(): command - ftdi_vid_pid
ocd_ftdi_vid_pid 0x0403 0xa6d0 0x0403 0x6010
Debug: 63 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_init 0x0038 0x597b
Debug: 64 4 command.c:145 script_debug(): command - ftdi_layout_init
ocd_ftdi_layout_init 0x0038 0x597b
Debug: 66 4 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0010
Debug: 67 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal nTRST -data 0x0010
Debug: 69 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal nSRST -oe 0x0100
Debug: 70 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal nSRST -oe 0x0100
Debug: 72 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal nEMU_EN -data 0x0020
Debug: 73 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal nEMU_EN -data 0x0020
Debug: 75 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal nEMU0 -data 0x0040
Debug: 76 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal nEMU0 -data 0x0040
Debug: 78 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal nEMU1 -data 0x1000
Debug: 79 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal nEMU1 -data 0x1000
Debug: 81 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal PWR_RST -data 0x0800
Debug: 82 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal PWR_RST -data 0x0800
Debug: 84 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal LOOPBACK -data 0x4000
Debug: 85 5 command.c:145 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal LOOPBACK -data 0x4000
Debug: 87 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_echo
Info : to use this adapter you MUST add ``init; ftdi_set_signal PWR_RST
1; jtag arp_init'' to the end of your config file!
Debug: 88 5 command.c:145 script_debug(): command - echo ocd_echo
Info : to use this adapter you MUST add ``init; ftdi_set_signal PWR_RST
1; jtag arp_init'' to the end of your config file!
User : 90 5 command.c:763 jim_echo():
Info : to use this adapter you MUST add ``init; ftdi_set_signal PWR_RST
1; jtag arp_init'' to the end of your config file!
Debug: 91 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 1000
Debug: 92 5 command.c:145 script_debug(): command - adapter_khz
ocd_adapter_khz 1000
Debug: 94 5 core.c:1644 jtag_config_khz(): handle jtag khz
Debug: 95 5 core.c:1611 adapter_khz_to_speed(): convert khz to interface
specific speed value
Debug: 96 5 core.c:1611 adapter_khz_to_speed(): convert khz to interface
specific speed value
User : 97 5 command.c:546 command_print(): adapter speed: 1000 kHz
Debug: 98 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_reset_config srst_only
Debug: 99 5 command.c:145 script_debug(): command - reset_config
ocd_reset_config srst_only
User : 101 5 command.c:546 command_print(): srst_only separate
srst_gates_jtag srst_open_drain connect_deassert_srst
Debug: 102 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag newtap tm4c123gh6pm cpu -expected-id
0x4ba00477 -irlen 4
Debug: 103 5 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
newtap tm4c123gh6pm cpu -expected-id 0x4ba00477 -irlen 4
Debug: 104 5 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip:
tm4c123gh6pm, Tap: cpu, Dotted: tm4c123gh6pm.cpu, 4 params
Debug: 105 5 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 106 5 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 107 5 core.c:1319 jtag_tap_init(): Created Tap: tm4c123gh6pm.cpu
@ abs position 0, irlen 4, capture: 0x1 mask: 0x3
Debug: 108 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target create tm4c123gh6pm.cpu cortex_m
-chain-position tm4c123gh6pm.cpu
Debug: 109 5 command.c:145 script_debug(): command - ocd_target
ocd_target create tm4c123gh6pm.cpu cortex_m -chain-position
tm4c123gh6pm.cpu
Debug: 110 5 target.c:1722 target_free_all_working_areas_restore():
freeing all working areas
Debug: 111 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 112 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 113 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 114 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 115 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 116 5 command.c:366 register_command_handler(): registering
'ocd_arm'...
Debug: 117 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 118 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 119 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 120 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 121 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 122 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 123 5 command.c:366 register_command_handler(): registering
'ocd_dap'...
Debug: 124 5 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 125 5 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 126 5 command.c:366 register_command_handler(): registering
'ocd_cortex_m'...
Debug: 127 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 128 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 129 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 130 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 131 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 132 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 133 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 134 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 135 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 136 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 137 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 138 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 139 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 140 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 141 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 142 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 143 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 144 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 145 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 146 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 147 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 148 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 149 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 150 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 151 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 152 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 153 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 154 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 155 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 156 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 157 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 158 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 159 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 160 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 161 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 162 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 163 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 164 5 command.c:366 register_command_handler(): registering
'ocd_tm4c123gh6pm.cpu'...
Debug: 165 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_tm4c123gh6pm.cpu configure -work-area-phys
0x20000000 -work-area-size 0x8000 -work-area-backup 0
Debug: 166 5 command.c:145 script_debug(): command -
ocd_tm4c123gh6pm.cpu ocd_tm4c123gh6pm.cpu configure -work-area-phys
0x20000000 -work-area-size 0x8000 -work-area-backup 0
Debug: 167 5 target.c:1722 target_free_all_working_areas_restore():
freeing all working areas
Debug: 168 5 target.c:1722 target_free_all_working_areas_restore():
freeing all working areas
Debug: 169 5 target.c:1722 target_free_all_working_areas_restore():
freeing all working areas
Debug: 170 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_flash bank tm4c123gh6pm.flash stellaris 0 0 0 0
tm4c123gh6pm.cpu
Debug: 171 5 command.c:145 script_debug(): command - ocd_flash ocd_flash
bank tm4c123gh6pm.flash stellaris 0 0 0 0 tm4c123gh6pm.cpu
Debug: 173 5 command.c:366 register_command_handler(): registering
'ocd_stellaris'...
Debug: 174 5 command.c:366 register_command_handler(): registering
'ocd_stellaris'...
Debug: 175 5 tcl.c:804 handle_flash_bank_command(): 'stellaris' driver
usage field missing
Debug: 176 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 177 5 command.c:145 script_debug(): command - init ocd_init
Debug: 179 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target init
Debug: 180 5 command.c:145 script_debug(): command - ocd_target
ocd_target init
Debug: 182 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_target names
Debug: 183 5 command.c:145 script_debug(): command - ocd_target
ocd_target names
Debug: 184 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_tm4c123gh6pm.cpu cget -event gdb-flash-erase-start
Debug: 185 5 command.c:145 script_debug(): command -
ocd_tm4c123gh6pm.cpu ocd_tm4c123gh6pm.cpu cget -event
gdb-flash-erase-start
Debug: 186 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_tm4c123gh6pm.cpu configure -event
gdb-flash-erase-start reset init
Debug: 187 5 command.c:145 script_debug(): command -
ocd_tm4c123gh6pm.cpu ocd_tm4c123gh6pm.cpu configure -event
gdb-flash-erase-start reset init
Debug: 188 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_tm4c123gh6pm.cpu cget -event gdb-flash-write-end
Debug: 189 5 command.c:145 script_debug(): command -
ocd_tm4c123gh6pm.cpu ocd_tm4c123gh6pm.cpu cget -event
gdb-flash-write-end
Debug: 190 5 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_tm4c123gh6pm.cpu configure -event
gdb-flash-write-end reset halt
Debug: 191 5 command.c:145 script_debug(): command -
ocd_tm4c123gh6pm.cpu ocd_tm4c123gh6pm.cpu configure -event
gdb-flash-write-end reset halt
Debug: 192 5 target.c:1285 handle_target_init_command(): Initializing
targets...
Debug: 193 5 command.c:366 register_command_handler(): registering
'ocd_target_request'...
Debug: 194 5 command.c:366 register_command_handler(): registering
'ocd_trace'...
Debug: 195 5 command.c:366 register_command_handler(): registering
'ocd_trace'...
Debug: 196 5 command.c:366 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 197 5 command.c:366 register_command_handler(): registering
'ocd_fast_load'...
Debug: 198 5 command.c:366 register_command_handler(): registering
'ocd_profile'...
Debug: 199 5 command.c:366 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 200 5 command.c:366 register_command_handler(): registering
'ocd_reg'...
Debug: 201 5 command.c:366 register_command_handler(): registering
'ocd_poll'...
Debug: 202 5 command.c:366 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 203 5 command.c:366 register_command_handler(): registering
'ocd_halt'...
Debug: 204 5 command.c:366 register_command_handler(): registering
'ocd_resume'...
Debug: 205 5 command.c:366 register_command_handler(): registering
'ocd_reset'...
Debug: 206 5 command.c:366 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 207 5 command.c:366 register_command_handler(): registering
'ocd_step'...
Debug: 208 5 command.c:366 register_command_handler(): registering
'ocd_mdw'...
Debug: 209 5 command.c:366 register_command_handler(): registering
'ocd_mdh'...
Debug: 210 5 command.c:366 register_command_handler(): registering
'ocd_mdb'...
Debug: 211 5 command.c:366 register_command_handler(): registering
'ocd_mww'...
Debug: 212 5 command.c:366 register_command_handler(): registering
'ocd_mwh'...
Debug: 213 5 command.c:366 register_command_handler(): registering
'ocd_mwb'...
Debug: 214 5 command.c:366 register_command_handler(): registering
'ocd_bp'...
Debug: 215 5 command.c:366 register_command_handler(): registering
'ocd_rbp'...
Debug: 216 5 command.c:366 register_command_handler(): registering
'ocd_wp'...
Debug: 217 5 command.c:366 register_command_handler(): registering
'ocd_rwp'...
Debug: 218 5 command.c:366 register_command_handler(): registering
'ocd_load_image'...
Debug: 219 5 command.c:366 register_command_handler(): registering
'ocd_dump_image'...
Debug: 220 5 command.c:366 register_command_handler(): registering
'ocd_verify_image'...
Debug: 221 5 command.c:366 register_command_handler(): registering
'ocd_test_image'...
Debug: 222 5 command.c:366 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 223 5 command.c:366 register_command_handler(): registering
'ocd_ps'...
Debug: 224 5 command.c:366 register_command_handler(): registering
'ocd_test_mem_access'...
Debug: 225 5 ftdi.c:599 ftdi_initialize(): ftdi interface using shortest
path jtag state transitions
Debug: 226 6 mpsse.c:363 mpsse_purge(): -
Debug: 227 6 mpsse.c:644 mpsse_loopback_config(): off
Debug: 228 6 core.c:1611 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 229 6 core.c:1614 adapter_khz_to_speed(): have interface set up
Debug: 230 6 mpsse.c:689 mpsse_set_frequency(): target 1000000 Hz
Debug: 231 6 mpsse.c:681 mpsse_rtck_config(): off
Debug: 232 6 mpsse.c:670 mpsse_divide_by_5_config(): off
Debug: 233 6 mpsse.c:650 mpsse_set_divisor(): 29
Debug: 234 6 mpsse.c:713 mpsse_set_frequency(): actually 1000000 Hz
Debug: 235 6 core.c:1611 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 236 6 core.c:1614 adapter_khz_to_speed(): have interface set up
Info : 237 6 core.c:1400 adapter_init(): clock speed 1000 kHz
Debug: 238 6 openocd.c:132 handle_init_command(): Debug Adapter init
complete
Debug: 239 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_transport init
Debug: 240 6 command.c:145 script_debug(): command - ocd_transport
ocd_transport init
Debug: 242 6 transport.c:240 handle_transport_init():
handle_transport_init
Debug: 243 6 core.c:717 jtag_add_reset(): SRST line released
Debug: 244 6 core.c:741 jtag_add_reset(): TRST line released
Debug: 245 6 core.c:321 jtag_call_event_callbacks(): jtag event: TAP
reset
Debug: 246 6 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag arp_init
Debug: 247 6 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
arp_init
Debug: 248 6 core.c:1413 jtag_init_inner(): Init JTAG chain
Debug: 249 6 core.c:321 jtag_call_event_callbacks(): jtag event: TAP
reset
Debug: 250 6 core.c:1046 jtag_examine_chain(): DR scan interrogation for
IDCODE/BYPASS
Debug: 251 6 core.c:321 jtag_call_event_callbacks(): jtag event: TAP
reset
Error: 252 7 core.c:939 jtag_examine_chain_check(): JTAG scan chain
interrogation failed: all ones
Error: 253 7 core.c:940 jtag_examine_chain_check(): Check JTAG
interface, timings, target power, etc.
Error: 254 7 core.c:1458 jtag_init_inner(): Trying to use configured
scan chain anyway...
Debug: 255 7 core.c:1206 jtag_validate_ircapture(): IR capture
validation scan
Error: 256 7 core.c:1257 jtag_validate_ircapture(): tm4c123gh6pm.cpu: IR
capture error; saw 0x0f not 0x01
Debug: 257 7 core.c:321 jtag_call_event_callbacks(): jtag event: TAP
reset
Warn : 258 7 core.c:1481 jtag_init_inner(): Bypassing JTAG setup events
due to errors
Debug: 259 7 openocd.c:145 handle_init_command(): Examining targets...
Debug: 260 7 target.c:1401 target_call_event_callbacks(): target event
21 (examine-start)
Debug: 261 7 arm_adi_v5.c:827 ahbap_debugport_init():
Warn : 262 8 adi_v5_jtag.c:252 jtagdp_transaction_endcheck(): Invalid
ACK 0x7 in JTAG-DP transaction
Debug: 263 8 openocd.c:147 handle_init_command(): target examination
failed
Debug: 264 8 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_flash init
Debug: 265 8 command.c:145 script_debug(): command - ocd_flash ocd_flash
init
Debug: 267 8 tcl.c:870 handle_flash_init_command(): Initializing flash
devices...
Debug: 268 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 269 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 270 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 271 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 272 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 273 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 274 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 275 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 276 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 277 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 278 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 279 8 command.c:366 register_command_handler(): registering
'ocd_flash'...
Debug: 280 8 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_mflash init
Debug: 281 8 command.c:145 script_debug(): command - ocd_mflash
ocd_mflash init
Debug: 283 8 mflash.c:1379 handle_mflash_init_command(): Initializing
mflash devices...
Debug: 284 8 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_nand init
Debug: 285 8 command.c:145 script_debug(): command - ocd_nand ocd_nand
init
Debug: 287 8 tcl.c:497 handle_nand_init_command(): Initializing NAND
devices...
Debug: 288 8 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_pld init
Debug: 289 8 command.c:145 script_debug(): command - ocd_pld ocd_pld
init
Debug: 291 8 pld.c:207 handle_pld_init_command(): Initializing PLDs...
Debug: 292 8 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_set_signal PWR_RST 1
Debug: 293 8 command.c:145 script_debug(): command - ftdi_set_signal
ocd_ftdi_set_signal PWR_RST 1
Debug: 295 8 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_jtag arp_init
Debug: 296 8 command.c:145 script_debug(): command - ocd_jtag ocd_jtag
arp_init
Debug: 297 8 core.c:1413 jtag_init_inner(): Init JTAG chain
Debug: 298 8 core.c:321 jtag_call_event_callbacks(): jtag event: TAP
reset
Debug: 299 8 core.c:1046 jtag_examine_chain(): DR scan interrogation for
IDCODE/BYPASS
Debug: 300 8 core.c:321 jtag_call_event_callbacks(): jtag event: TAP
reset
Info : 301 9 core.c:949 jtag_examine_chain_display(): JTAG tap:
tm4c123gh6pm.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part: 0xba00,
ver: 0x4)
Debug: 302 9 core.c:1206 jtag_validate_ircapture(): IR capture
validation scan
Debug: 303 9 core.c:1263 jtag_validate_ircapture(): tm4c123gh6pm.cpu: IR
capture 0x01
Debug: 304 9 command.c:145 script_debug(): command - ocd_command
ocd_command type ocd_halt
Debug: 305 9 command.c:145 script_debug(): command - halt ocd_halt
Debug: 307 9 target.c:2636 handle_halt_command(): -
Error: 308 9 target.c:523 target_halt(): Target not examined yet
Debug: 309 9 command.c:628 run_command(): Command failed with error code
-4
User : 310 9 command.c:666 command_run_line(): Runtime Error:
xds100v2_tm4c123_flash.cfg:34:
in procedure 'script'
at file "embedded:startup.tcl", line 58
in procedure 'halt' called at file "xds100v2_tm4c123_flash.cfg", line 34
On Fri, 2017-03-03 at 16:06 +0300, Paul Fertser wrote:
> On Fri, Mar 03, 2017 at 12:47:14PM +0000, Holzwarth Dominique wrote:
> > Well the problem is that the vanilla config for my board:
> > boards/ek-tm4c123gxl.cfg
> >
> > is using the ICDI which I don't want to use because there seems to be an
> > issue with masking interrupts when debugging. Which is not the case when
> > using the JTAG interface.
>
> Yes, a known issue. You just have to source the target config then,
> not the board config.
>
> > At the moment, this is not my issue though :-) I'd like to solve the
> > problem which I initially described and then I can do a little cleanup.
>
> Please update to current version and show a -d3 log if it still fails.
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel