On Wed, May 9, 2012 at 9:11 PM, Andreas Fritiofson
<[email protected]> wrote:
>
> "Great", that's the type of feedback I need. The config file layouts
> are a bit of a guesswork from my side, so they may be wrong for
> luminary. I've tested with jtagkey.cfg, olimex-arm-usb-ocd.cfg and
> olimex-arm-usb-ocd-h.cfg. Do you have access to any of these or
> another adapter? Just to determine if the config or the code is to
> blame.
>
> Can you send a -d3 debug log?

With the on-board TI/Luminary debugger.

mymacmini:lm3s1968 xiaofanc$ cat
~/bin/share/openocd/scripts/board/ek-lm3s1968_mpsse_icdi.cfg
#
# TI/Luminary Stellaris LM3S1968 Evaluation Kits
#
# http://www.luminarymicro.com/products/lm3s1968_evaluation_kits.html

# NOTE:  to use J-Link instead of the on-board interface,
# you may also need to reduce adapter_khz to be about 1200.
# source [find interface/jlink.cfg]

# include the FT2232 interface config for on-board JTAG interface
# NOTE:  using the on-board FT2232 JTAG/SWD/SWO interface is optional!
# so is using in JTAG mode, as done here.
source [find interface/ftdi/luminary.cfg]

# include the target config
set WORKAREASIZE 0x2000
set CHIPNAME lm3s1968
source [find target/stellaris.cfg]
mymacmini:lm3s1968 xiaofanc$ ~/bin/bin/openocd -d3 -f
board/ek-lm3s1968_mpsse_icdi.cfg
Open On-Chip Debugger 0.6.0-dev-00448-gac053a2 (2012-05-09-19:01)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 11 2 command.c:549 command_print(): debug_level: 3
Debug: 12 2 configuration.c:45 add_script_search_dir(): adding
/Users/xiaofanc/.openocd
Debug: 13 2 configuration.c:45 add_script_search_dir(): adding
/Users/xiaofanc/bin/share/openocd/site
Debug: 14 2 configuration.c:45 add_script_search_dir(): adding
/Users/xiaofanc/bin/share/openocd/scripts
Debug: 15 2 configuration.c:86 find_file(): found
/Users/xiaofanc/bin/share/openocd/scripts/board/ek-lm3s1968_mpsse_icdi.cfg
Debug: 16 3 configuration.c:86 find_file(): found
/Users/xiaofanc/bin/share/openocd/scripts/interface/ftdi/luminary.cfg
Debug: 17 3 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_interface ftdi
Debug: 18 3 command.c:147 script_debug(): command - interface ocd_interface ftdi
Debug: 20 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_device_desc'...
Debug: 21 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_serial'...
Debug: 22 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_channel'...
Debug: 23 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_layout_init'...
Debug: 24 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_layout_signal'...
Debug: 25 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_set_signal'...
Debug: 26 3 command.c:369 register_command_handler(): registering
'ocd_ftdi_vid_pid'...
Info : 27 3 transport.c:118 allow_transports(): only one transport
option; autoselect 'jtag'
Debug: 28 3 command.c:369 register_command_handler(): registering
'ocd_jtag_flush_queue_sleep'...
Debug: 29 3 command.c:369 register_command_handler(): registering
'ocd_jtag_rclk'...
Debug: 30 3 command.c:369 register_command_handler(): registering
'ocd_jtag_ntrst_delay'...
Debug: 31 3 command.c:369 register_command_handler(): registering
'ocd_jtag_ntrst_assert_width'...
Debug: 32 3 command.c:369 register_command_handler(): registering
'ocd_scan_chain'...
Debug: 33 3 command.c:369 register_command_handler(): registering
'ocd_jtag_reset'...
Debug: 34 3 command.c:369 register_command_handler(): registering
'ocd_runtest'...
Debug: 35 3 command.c:369 register_command_handler(): registering
'ocd_irscan'...
Debug: 36 3 command.c:369 register_command_handler(): registering
'ocd_verify_ircapture'...
Debug: 37 3 command.c:369 register_command_handler(): registering
'ocd_verify_jtag'...
Debug: 38 3 command.c:369 register_command_handler(): registering
'ocd_tms_sequence'...
Debug: 39 3 command.c:369 register_command_handler(): registering
'ocd_wait_srst_deassert'...
Debug: 40 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 41 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 42 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 43 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 44 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 45 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 46 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 47 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 48 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 49 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 50 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 51 3 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 52 4 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 53 4 command.c:369 register_command_handler(): registering 'ocd_svf'...
Debug: 54 4 command.c:369 register_command_handler(): registering 'ocd_xsvf'...
Debug: 55 4 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_device_desc Stellaris Evaluation Board
Debug: 56 4 command.c:147 script_debug(): command - ftdi_device_desc
ocd_ftdi_device_desc Stellaris Evaluation Board
Debug: 58 4 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_vid_pid 0x0403 0xbcd9
Debug: 59 4 command.c:147 script_debug(): command - ftdi_vid_pid
ocd_ftdi_vid_pid 0x0403 0xbcd9
Debug: 61 4 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_init 0x0088 0x00cb
Debug: 62 4 command.c:147 script_debug(): command - ftdi_layout_init
ocd_ftdi_layout_init 0x0088 0x00cb
Debug: 64 4 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020
Debug: 65 4 command.c:147 script_debug(): command - ftdi_layout_signal
ocd_ftdi_layout_signal nSRST -data 0x0020 -oe 0x0020
Debug: 67 4 configuration.c:86 find_file(): found
/Users/xiaofanc/bin/share/openocd/scripts/target/stellaris.cfg
Debug: 68 4 configuration.c:86 find_file(): found
/Users/xiaofanc/bin/share/openocd/scripts/target/swj-dp.tcl
Debug: 69 4 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_transport select
Debug: 70 4 command.c:147 script_debug(): command - ocd_transport
ocd_transport select
Debug: 71 4 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_jtag newtap lm3s1968 cpu -irlen 4 -irmask 0xf
-expected-id 0x0ba00477 -ignore-version
Debug: 72 4 command.c:147 script_debug(): command - ocd_jtag ocd_jtag
newtap lm3s1968 cpu -irlen 4 -irmask 0xf -expected-id 0x0ba00477
-ignore-version
Debug: 73 4 tcl.c:553 jim_newtap_cmd(): Creating New Tap, Chip:
lm3s1968, Tap: cpu, Dotted: lm3s1968.cpu, 7 params
Debug: 74 4 tcl.c:570 jim_newtap_cmd(): Processing option: -irlen
Debug: 75 4 tcl.c:570 jim_newtap_cmd(): Processing option: -irmask
Debug: 76 4 tcl.c:570 jim_newtap_cmd(): Processing option: -expected-id
Debug: 77 4 tcl.c:570 jim_newtap_cmd(): Processing option: -ignore-version
Debug: 78 5 core.c:1281 jtag_tap_init(): Created Tap: lm3s1968.cpu @
abs position 0, irlen 4, capture: 0x1 mask: 0xf
Debug: 79 5 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_target create lm3s1968.cpu cortex_m3
-chain-position lm3s1968.cpu
Debug: 80 5 command.c:147 script_debug(): command - ocd_target
ocd_target create lm3s1968.cpu cortex_m3 -chain-position lm3s1968.cpu
Debug: 81 5 target.c:1611 target_free_all_working_areas_restore():
freeing all working areas
Debug: 82 5 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 83 5 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 84 5 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 85 5 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 86 5 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 87 5 command.c:369 register_command_handler(): registering 'ocd_arm'...
Debug: 88 5 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 89 5 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 90 5 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 91 5 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 92 5 command.c:369 register_command_handler(): registering 'ocd_dap'...
Debug: 93 5 command.c:369 register_command_handler(): registering
'ocd_cortex_m3'...
Debug: 94 5 command.c:369 register_command_handler(): registering
'ocd_cortex_m3'...
Debug: 95 5 command.c:369 register_command_handler(): registering
'ocd_cortex_m3'...
Debug: 96 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 97 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 98 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 99 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 100 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 101 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 102 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 103 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 104 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 105 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 106 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 107 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 108 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 109 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 110 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 111 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 112 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 113 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 114 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 115 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 116 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 117 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 118 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 119 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 120 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 121 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 122 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 123 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 124 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 125 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 126 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 127 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 128 5 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 129 6 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 130 6 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 131 6 command.c:369 register_command_handler(): registering
'ocd_lm3s1968.cpu'...
Debug: 132 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_lm3s1968.cpu configure -work-area-phys 0x20000000
-work-area-size 0x2000
Debug: 133 6 command.c:147 script_debug(): command - ocd_lm3s1968.cpu
ocd_lm3s1968.cpu configure -work-area-phys 0x20000000 -work-area-size
0x2000
Debug: 134 6 target.c:1611 target_free_all_working_areas_restore():
freeing all working areas
Debug: 135 6 target.c:1611 target_free_all_working_areas_restore():
freeing all working areas
Debug: 136 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_adapter_khz 500
Debug: 137 6 command.c:147 script_debug(): command - adapter_khz
ocd_adapter_khz 500
Debug: 139 6 core.c:1570 jtag_config_khz(): handle jtag khz
Debug: 140 6 core.c:1537 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 141 6 core.c:1537 adapter_khz_to_speed(): convert khz to
interface specific speed value
User : 142 6 command.c:549 command_print(): 500 kHz
Debug: 143 6 configuration.c:86 find_file(): found
/Users/xiaofanc/bin/share/openocd/scripts/mem_helper.tcl
Debug: 144 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_add_usage_text mrw address
Debug: 145 6 command.c:147 script_debug(): command - add_usage_text
ocd_add_usage_text mrw address
Debug: 147 6 command.c:1100 help_add_command(): added 'mrw' help text
Debug: 148 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_add_help_text mrw Returns value of word in
memory.
Debug: 149 6 command.c:147 script_debug(): command - add_help_text
ocd_add_help_text mrw Returns value of word in memory.
Debug: 151 6 command.c:1113 help_add_command(): added 'mrw' help text
Debug: 152 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_add_usage_text mmw address setbits clearbits
Debug: 153 6 command.c:147 script_debug(): command - add_usage_text
ocd_add_usage_text mmw address setbits clearbits
Debug: 155 6 command.c:1100 help_add_command(): added 'mmw' help text
Debug: 156 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_add_help_text mmw Modify word in memory. new_val
= (old_val & ~clearbits) | setbits;
Debug: 157 6 command.c:147 script_debug(): command - add_help_text
ocd_add_help_text mmw Modify word in memory. new_val = (old_val &
~clearbits) | setbits;
Debug: 159 6 command.c:1113 help_add_command(): added 'mmw' help text
Debug: 160 6 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_lm3s1968.cpu configure -event reset-start
        adapter_khz 500

        #
        # When nRST is asserted on most Stellaris devices, it clears some of
        # the debug state.  The ARMv7M and Cortex-M3 TRMs say that's wrong;
        # and OpenOCD depends on those TRMs.  So we won't use SRST on those
        # chips.  (Only power-on reset should affect debug state, beyond a
        # few specified bits; not the chip's nRST input, wired to SRST.)
        #
        # REVISIT current errata specs don't seem to cover this issue.
        # Do we have more details than this email?
        #   https://lists.berlios.de/pipermail
        #       /openocd-development/2008-August/003065.html
        #

        global _DEVICECLASS

        if {$_DEVICECLASS != 0xff} {
           set device_class $_DEVICECLASS
        } else {
           set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)]
        }

        if {$device_class == 0 || $device_class == 1 ||
                $device_class == 3 || $device_class == 5} {
                # Sandstorm, Fury, DustDevil and Blizzard are able to use NVIC 
SYSRESETREQ
                cortex_m3 reset_config sysresetreq
        } else {
                # Tempest and Firestorm default to using NVIC VECTRESET
                # peripherals will need reseting manually, see proc 
reset_peripherals
                cortex_m3 reset_config vectreset

                # reset peripherals, based on code in
                # http://www.ti.com/lit/er/spmz573a/spmz573a.pdf
                reset_peripherals $device_class
        }

Debug: 161 6 command.c:147 script_debug(): command - ocd_lm3s1968.cpu
ocd_lm3s1968.cpu configure -event reset-start
        adapter_khz 500

        #
        # When nRST is asserted on most Stellaris devices, it clears some of
        # the debug state.  The ARMv7M and Cortex-M3 TRMs say that's wrong;
        # and OpenOCD depends on those TRMs.  So we won't use SRST on those
        # chips.  (Only power-on reset should affect debug state, beyond a
        # few specified bits; not the chip's nRST input, wired to SRST.)
        #
        # REVISIT current errata specs don't seem to cover this issue.
        # Do we have more details than this email?
        #   https://lists.berlios.de/pipermail
        #       /openocd-development/2008-August/003065.html
        #

        global _DEVICECLASS

        if {$_DEVICECLASS != 0xff} {
           set device_class $_DEVICECLASS
        } else {
           set device_class [expr (([mrw 0x400fe000] >> 16) & 0xff)]
        }

        if {$device_class == 0 || $device_class == 1 ||
                $device_class == 3 || $device_class == 5} {
                # Sandstorm, Fury, DustDevil and Blizzard are able to use NVIC 
SYSRESETREQ
                cortex_m3 reset_config sysresetreq
        } else {
                # Tempest and Firestorm default to using NVIC VECTRESET
                # peripherals will need reseting manually, see proc 
reset_peripherals
                cortex_m3 reset_config vectreset

                # reset peripherals, based on code in
                # http://www.ti.com/lit/er/spmz573a/spmz573a.pdf
                reset_peripherals $device_class
        }

Debug: 162 7 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_flash bank lm3s1968.flash stellaris 0 0 0 0
lm3s1968.cpu
Debug: 163 7 command.c:147 script_debug(): command - ocd_flash
ocd_flash bank lm3s1968.flash stellaris 0 0 0 0 lm3s1968.cpu
Debug: 165 7 command.c:369 register_command_handler(): registering
'ocd_stellaris'...
Debug: 166 7 command.c:369 register_command_handler(): registering
'ocd_stellaris'...
Debug: 167 7 tcl.c:780 handle_flash_bank_command(): 'stellaris' driver
usage field missing
Debug: 168 7 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_init
Debug: 169 7 command.c:147 script_debug(): command - init ocd_init
Debug: 171 7 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_target init
Debug: 172 7 command.c:147 script_debug(): command - ocd_target ocd_target init
Debug: 174 7 target.c:1174 handle_target_init_command(): Initializing targets...
Debug: 175 7 command.c:369 register_command_handler(): registering
'ocd_target_request'...
Debug: 176 7 command.c:369 register_command_handler(): registering
'ocd_trace'...
Debug: 177 7 command.c:369 register_command_handler(): registering
'ocd_trace'...
Debug: 178 7 command.c:369 register_command_handler(): registering
'ocd_fast_load_image'...
Debug: 179 7 command.c:369 register_command_handler(): registering
'ocd_fast_load'...
Debug: 180 7 command.c:369 register_command_handler(): registering
'ocd_profile'...
Debug: 181 7 command.c:369 register_command_handler(): registering
'ocd_virt2phys'...
Debug: 182 7 command.c:369 register_command_handler(): registering 'ocd_reg'...
Debug: 183 7 command.c:369 register_command_handler(): registering 'ocd_poll'...
Debug: 184 7 command.c:369 register_command_handler(): registering
'ocd_wait_halt'...
Debug: 185 7 command.c:369 register_command_handler(): registering 'ocd_halt'...
Debug: 186 7 command.c:369 register_command_handler(): registering
'ocd_resume'...
Debug: 187 7 command.c:369 register_command_handler(): registering
'ocd_reset'...
Debug: 188 7 command.c:369 register_command_handler(): registering
'ocd_soft_reset_halt'...
Debug: 189 7 command.c:369 register_command_handler(): registering 'ocd_step'...
Debug: 190 7 command.c:369 register_command_handler(): registering 'ocd_mdw'...
Debug: 191 7 command.c:369 register_command_handler(): registering 'ocd_mdh'...
Debug: 192 7 command.c:369 register_command_handler(): registering 'ocd_mdb'...
Debug: 193 7 command.c:369 register_command_handler(): registering 'ocd_mww'...
Debug: 194 8 command.c:369 register_command_handler(): registering 'ocd_mwh'...
Debug: 195 8 command.c:369 register_command_handler(): registering 'ocd_mwb'...
Debug: 196 8 command.c:369 register_command_handler(): registering 'ocd_bp'...
Debug: 197 8 command.c:369 register_command_handler(): registering 'ocd_rbp'...
Debug: 198 8 command.c:369 register_command_handler(): registering 'ocd_wp'...
Debug: 199 8 command.c:369 register_command_handler(): registering 'ocd_rwp'...
Debug: 200 8 command.c:369 register_command_handler(): registering
'ocd_load_image'...
Debug: 201 8 command.c:369 register_command_handler(): registering
'ocd_dump_image'...
Debug: 202 8 command.c:369 register_command_handler(): registering
'ocd_verify_image'...
Debug: 203 8 command.c:369 register_command_handler(): registering
'ocd_test_image'...
Debug: 204 8 command.c:369 register_command_handler(): registering
'ocd_reset_nag'...
Debug: 205 8 command.c:369 register_command_handler(): registering 'ocd_ps'...
Debug: 206 8 ftdi.c:615 ftdi_initialize(): ftdi interface using
shortest path jtag state transitions
Debug: 207 552 mpsse.c:309 mpsse_open(): current latency timer: 255
Debug: 208 553 mpsse.c:358 mpsse_purge(): -
Debug: 209 553 mpsse.c:623 mpsse_loopback_config(): off
Debug: 210 553 mpsse.c:767 mpsse_flush(): write 7, read 0
Debug: 211 554 mpsse.c:750 write_cb(): transferred 7 of 7
Debug: 213 554 core.c:1537 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 214 554 core.c:1540 adapter_khz_to_speed(): have interface set up
Debug: 215 554 mpsse.c:664 mpsse_set_frequency(): target 500000 Hz
Debug: 216 554 mpsse.c:629 mpsse_set_divisor(): 11
Debug: 217 554 mpsse.c:693 mpsse_set_frequency(): actually 500000 Hz
Debug: 218 554 core.c:1537 adapter_khz_to_speed(): convert khz to
interface specific speed value
Debug: 219 554 core.c:1540 adapter_khz_to_speed(): have interface set up
Info : 220 554 core.c:1358 adapter_init(): clock speed 500 kHz
Debug: 221 554 openocd.c:132 handle_init_command(): Debug Adapter init complete
Debug: 222 554 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_transport init
Debug: 223 554 command.c:147 script_debug(): command - ocd_transport
ocd_transport init
Debug: 225 554 transport.c:246 handle_transport_init(): handle_transport_init
Debug: 226 554 mpsse.c:767 mpsse_flush(): write 9, read 0
Debug: 227 554 mpsse.c:750 write_cb(): transferred 9 of 9
Debug: 228 554 core.c:678 jtag_add_reset(): SRST line released
Debug: 229 554 core.c:702 jtag_add_reset(): TRST line released
Debug: 230 554 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 231 554 mpsse.c:767 mpsse_flush(): write 0, read 0
Debug: 232 554 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_jtag arp_init
Debug: 233 554 command.c:147 script_debug(): command - ocd_jtag
ocd_jtag arp_init
Debug: 234 554 core.c:1371 jtag_init_inner(): Init JTAG chain
Debug: 235 554 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 236 554 mpsse.c:767 mpsse_flush(): write 3, read 0
Debug: 237 554 mpsse.c:750 write_cb(): transferred 3 of 3
Debug: 238 554 core.c:1007 jtag_examine_chain(): DR scan interrogation
for IDCODE/BYPASS
Debug: 239 554 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 240 554 mpsse.c:767 mpsse_flush(): write 97+1, read 81
Debug: 241 555 mpsse.c:750 write_cb(): transferred 98 of 98
Debug: 242 556 mpsse.c:736 read_cb(): raw chunk 85, transferred 81 of 81
Info : 243 556 core.c:910 jtag_examine_chain_display(): JTAG tap:
lm3s1968.cpu tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff,
ver: 0xf)
Warn : 244 556 core.c:910 jtag_examine_chain_display(): JTAG tap:
lm3s1968.cpu       UNEXPECTED: 0xffffffff (mfg: 0x7ff, part: 0xffff,
ver: 0xf)
Error: 245 556 core.c:910 jtag_examine_chain_display(): JTAG tap:
lm3s1968.cpu  expected 1 of 1: 0x0ba00477 (mfg: 0x23b, part: 0xba00,
ver: 0x0)
Warn : 246 556 core.c:947 jtag_examine_chain_end(): Unexpected idcode
after end of chain: 608 0x7fffffff
Error: 247 556 core.c:1115 jtag_examine_chain(): double-check your
JTAG setup (interface, speed, missing TAPs, ...)
Error: 248 556 core.c:1416 jtag_init_inner(): Trying to use configured
scan chain anyway...
Debug: 249 556 core.c:1167 jtag_validate_ircapture(): IR capture validation scan
Debug: 250 556 mpsse.c:767 mpsse_flush(): write 15+1, read 2
Debug: 251 557 mpsse.c:750 write_cb(): transferred 16 of 16
Debug: 252 557 mpsse.c:736 read_cb(): raw chunk 4, transferred 2 of 2
Error: 253 557 core.c:1220 jtag_validate_ircapture(): lm3s1968.cpu: IR
capture error; saw 0x0f not 0x01
Debug: 254 557 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 255 557 mpsse.c:767 mpsse_flush(): write 3, read 0
Debug: 256 557 mpsse.c:750 write_cb(): transferred 3 of 3
Warn : 257 557 core.c:1439 jtag_init_inner(): Bypassing JTAG setup
events due to errors
Debug: 258 557 openocd.c:145 handle_init_command(): Examining targets...
Debug: 259 557 arm_adi_v5.c:1099 ahbap_debugport_init():
Debug: 260 557 mpsse.c:767 mpsse_flush(): write 207+1, read 12
Debug: 261 558 mpsse.c:750 write_cb(): transferred 208 of 208
Debug: 262 558 mpsse.c:736 read_cb(): raw chunk 14, transferred 12 of 12
Warn : 263 558 adi_v5_jtag.c:249 jtagdp_transaction_endcheck():
Invalid ACK 0x7 in JTAG-DP transaction
Debug: 264 558 openocd.c:147 handle_init_command(): target examination failed
Debug: 265 558 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_flash init
Debug: 266 558 command.c:147 script_debug(): command - ocd_flash ocd_flash init
User : 267 558 target.c:2232 handle_target(): Polling target failed,
GDB will be halted. Polling again in 100ms
Debug: 268 558 target.c:1290 target_call_event_callbacks(): target
event 2 (gdb-halt)
Debug: 270 558 tcl.c:846 handle_flash_init_command(): Initializing
flash devices...
Debug: 271 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 272 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 273 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 274 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 275 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 276 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 277 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 278 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 279 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 280 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 281 558 command.c:369 register_command_handler(): registering
'ocd_flash'...
Debug: 282 558 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_mflash init
Debug: 283 558 command.c:147 script_debug(): command - ocd_mflash
ocd_mflash init
Debug: 285 558 mflash.c:1378 handle_mflash_init_command():
Initializing mflash devices...
Debug: 286 558 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_nand init
Debug: 287 558 command.c:147 script_debug(): command - ocd_nand ocd_nand init
User : 288 558 target.c:2232 handle_target(): Polling target failed,
GDB will be halted. Polling again in 300ms
Debug: 289 558 target.c:1290 target_call_event_callbacks(): target
event 2 (gdb-halt)
Debug: 291 558 tcl.c:497 handle_nand_init_command(): Initializing NAND
devices...
Debug: 292 559 command.c:147 script_debug(): command - ocd_command
ocd_command type ocd_pld init
Debug: 293 559 command.c:147 script_debug(): command - ocd_pld ocd_pld init
Debug: 295 559 pld.c:207 handle_pld_init_command(): Initializing PLDs...
User : 296 862 target.c:2232 handle_target(): Polling target failed,
GDB will be halted. Polling again in 700ms
Debug: 297 862 target.c:1290 target_call_event_callbacks(): target
event 2 (gdb-halt)
User : 298 1670 target.c:2232 handle_target(): Polling target failed,
GDB will be halted. Polling again in 1500ms
Debug: 299 1670 target.c:1290 target_call_event_callbacks(): target
event 2 (gdb-halt)
User : 300 3283 target.c:2232 handle_target(): Polling target failed,
GDB will be halted. Polling again in 3100ms
Debug: 301 3283 target.c:1290 target_call_event_callbacks(): target
event 2 (gdb-halt)
User : 302 6511 target.c:2232 handle_target(): Polling target failed,
GDB will be halted. Polling again in 6300ms
Debug: 303 6511 target.c:1290 target_call_event_callbacks(): target
event 2 (gdb-halt)
^C



-- 
Xiaofan

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to