On Wed, May 9, 2012 at 9:11 PM, Andreas Fritiofson <[email protected]> wrote: > On Wed, May 9, 2012 at 2:44 PM, Xiaofan Chen <[email protected]> wrote: >> But the mpsse version does not work at all. >> >> It either hangs or give the errors. >> > > "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.
I have Amontec JTAGkey2 and it does not work either. mymacmini:lm3s1968 xiaofanc$ cat ~/bin/share/openocd/scripts/board/ek-lm3s1968_jtagkey2_mpsse.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/jtagkey2.cfg] # include the target config set WORKAREASIZE 0x2000 set CHIPNAME lm3s1968 source [find target/stellaris.cfg] mymacmini:lm3s1968 xiaofanc$ ~/bin/bin/openocd -f board/ek-lm3s1968_jtagkey2_mpsse.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 Info : only one transport option; autoselect 'jtag' 500 kHz Info : clock speed 500 kHz Info : JTAG tap: lm3s1968.cpu tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf) Warn : JTAG tap: lm3s1968.cpu UNEXPECTED: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf) Error: JTAG tap: lm3s1968.cpu expected 1 of 1: 0x0ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x0) Warn : Unexpected idcode after end of chain: 608 0x7fffffff Error: double-check your JTAG setup (interface, speed, missing TAPs, ...) Error: Trying to use configured scan chain anyway... Error: lm3s1968.cpu: IR capture error; saw 0x0f not 0x01 Warn : Bypassing JTAG setup events due to errors Warn : Invalid ACK 0x7 in JTAG-DP transaction Polling target failed, GDB will be halted. Polling again in 100ms Polling target failed, GDB will be halted. Polling again in 300ms Polling target failed, GDB will be halted. Polling again in 700ms Polling target failed, GDB will be halted. Polling again in 1500ms Polling target failed, GDB will be halted. Polling again in 3100ms ^C mymacmini:lm3s1968 xiaofanc$ ~/bin/bin/openocd -f board/ek-lm3s1968_jtagkey2_mpsse.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 Info : only one transport option; autoselect 'jtag' 500 kHz Info : clock speed 500 kHz ^C > Can you send a -d3 debug log? Okay. With Jtagkey2: mymacmini:lm3s1968 xiaofanc$ ~/bin/bin/openocd -d3 -f board/ek-lm3s1968_jtagkey2_mpsse.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 1 command.c:549 command_print(): debug_level: 3 Debug: 12 1 configuration.c:45 add_script_search_dir(): adding /Users/xiaofanc/.openocd Debug: 13 1 configuration.c:45 add_script_search_dir(): adding /Users/xiaofanc/bin/share/openocd/site Debug: 14 1 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_jtagkey2_mpsse.cfg Debug: 16 2 configuration.c:86 find_file(): found /Users/xiaofanc/bin/share/openocd/scripts/interface/ftdi/jtagkey2.cfg Debug: 17 2 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi Debug: 18 2 command.c:147 script_debug(): command - interface ocd_interface ftdi Debug: 20 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_device_desc'... Debug: 21 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_serial'... Debug: 22 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_channel'... Debug: 23 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_layout_init'... Debug: 24 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_layout_signal'... Debug: 25 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_set_signal'... Debug: 26 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_vid_pid'... Info : 27 2 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag' Debug: 28 2 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'... Debug: 29 2 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'... Debug: 30 2 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'... Debug: 31 2 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'... Debug: 32 2 command.c:369 register_command_handler(): registering 'ocd_scan_chain'... Debug: 33 2 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'... Debug: 34 2 command.c:369 register_command_handler(): registering 'ocd_runtest'... Debug: 35 2 command.c:369 register_command_handler(): registering 'ocd_irscan'... Debug: 36 2 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'... Debug: 37 2 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'... Debug: 38 2 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'... Debug: 39 2 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'... Debug: 40 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 41 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 42 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 43 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 44 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 45 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 46 2 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 47 2 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 3 command.c:369 register_command_handler(): registering 'ocd_jtag'... Debug: 53 3 command.c:369 register_command_handler(): registering 'ocd_svf'... Debug: 54 3 command.c:369 register_command_handler(): registering 'ocd_xsvf'... Debug: 55 3 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc Amontec JTAGkey-2 Debug: 56 3 command.c:147 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc Amontec JTAGkey-2 Debug: 58 3 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0xcff8 Debug: 59 3 command.c:147 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0xcff8 Debug: 61 3 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0c08 0x0f1b Debug: 62 3 command.c:147 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0c08 0x0f1b Debug: 64 3 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 Debug: 65 3 command.c:147 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0100 -noe 0x0400 Debug: 67 3 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 Debug: 68 3 command.c:147 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -data 0x0200 -noe 0x0800 Debug: 70 3 configuration.c:86 find_file(): found /Users/xiaofanc/bin/share/openocd/scripts/target/stellaris.cfg Debug: 71 3 configuration.c:86 find_file(): found /Users/xiaofanc/bin/share/openocd/scripts/target/swj-dp.tcl Debug: 72 4 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_transport select Debug: 73 4 command.c:147 script_debug(): command - ocd_transport ocd_transport select Debug: 74 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: 75 4 command.c:147 script_debug(): command - ocd_jtag ocd_jtag newtap lm3s1968 cpu -irlen 4 -irmask 0xf -expected-id 0x0ba00477 -ignore-version Debug: 76 4 tcl.c:553 jim_newtap_cmd(): Creating New Tap, Chip: lm3s1968, Tap: cpu, Dotted: lm3s1968.cpu, 7 params Debug: 77 4 tcl.c:570 jim_newtap_cmd(): Processing option: -irlen Debug: 78 4 tcl.c:570 jim_newtap_cmd(): Processing option: -irmask Debug: 79 4 tcl.c:570 jim_newtap_cmd(): Processing option: -expected-id Debug: 80 4 tcl.c:570 jim_newtap_cmd(): Processing option: -ignore-version Debug: 81 4 core.c:1281 jtag_tap_init(): Created Tap: lm3s1968.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf Debug: 82 4 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_target create lm3s1968.cpu cortex_m3 -chain-position lm3s1968.cpu Debug: 83 4 command.c:147 script_debug(): command - ocd_target ocd_target create lm3s1968.cpu cortex_m3 -chain-position lm3s1968.cpu Debug: 84 4 target.c:1611 target_free_all_working_areas_restore(): freeing all working areas Debug: 85 4 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 86 4 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 87 4 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 88 4 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 89 4 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 90 4 command.c:369 register_command_handler(): registering 'ocd_arm'... Debug: 91 4 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 92 4 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 93 4 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 94 4 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 95 4 command.c:369 register_command_handler(): registering 'ocd_dap'... Debug: 96 4 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'... Debug: 97 4 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'... Debug: 98 4 command.c:369 register_command_handler(): registering 'ocd_cortex_m3'... Debug: 99 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 100 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 101 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 102 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 103 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 104 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 105 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 106 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 107 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 108 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 109 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 110 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 111 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 112 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 113 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 114 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 115 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 116 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 117 4 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 118 4 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 5 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 130 5 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 131 5 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 132 5 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 133 5 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 134 5 command.c:369 register_command_handler(): registering 'ocd_lm3s1968.cpu'... Debug: 135 5 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_lm3s1968.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 Debug: 136 5 command.c:147 script_debug(): command - ocd_lm3s1968.cpu ocd_lm3s1968.cpu configure -work-area-phys 0x20000000 -work-area-size 0x2000 Debug: 137 5 target.c:1611 target_free_all_working_areas_restore(): freeing all working areas Debug: 138 5 target.c:1611 target_free_all_working_areas_restore(): freeing all working areas Debug: 139 5 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 500 Debug: 140 5 command.c:147 script_debug(): command - adapter_khz ocd_adapter_khz 500 Debug: 142 5 core.c:1570 jtag_config_khz(): handle jtag khz Debug: 143 5 core.c:1537 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 144 5 core.c:1537 adapter_khz_to_speed(): convert khz to interface specific speed value User : 145 5 command.c:549 command_print(): 500 kHz Debug: 146 5 configuration.c:86 find_file(): found /Users/xiaofanc/bin/share/openocd/scripts/mem_helper.tcl Debug: 147 5 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mrw address Debug: 148 5 command.c:147 script_debug(): command - add_usage_text ocd_add_usage_text mrw address Debug: 150 5 command.c:1100 help_add_command(): added 'mrw' help text Debug: 151 5 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_add_help_text mrw Returns value of word in memory. Debug: 152 5 command.c:147 script_debug(): command - add_help_text ocd_add_help_text mrw Returns value of word in memory. Debug: 154 5 command.c:1113 help_add_command(): added 'mrw' help text Debug: 155 5 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_add_usage_text mmw address setbits clearbits Debug: 156 5 command.c:147 script_debug(): command - add_usage_text ocd_add_usage_text mmw address setbits clearbits Debug: 158 5 command.c:1100 help_add_command(): added 'mmw' help text Debug: 159 5 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: 160 5 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: 162 6 command.c:1113 help_add_command(): added 'mmw' help text Debug: 163 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: 164 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: 165 6 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_flash bank lm3s1968.flash stellaris 0 0 0 0 lm3s1968.cpu Debug: 166 6 command.c:147 script_debug(): command - ocd_flash ocd_flash bank lm3s1968.flash stellaris 0 0 0 0 lm3s1968.cpu Debug: 168 6 command.c:369 register_command_handler(): registering 'ocd_stellaris'... Debug: 169 6 command.c:369 register_command_handler(): registering 'ocd_stellaris'... Debug: 170 6 tcl.c:780 handle_flash_bank_command(): 'stellaris' driver usage field missing Debug: 171 6 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_init Debug: 172 6 command.c:147 script_debug(): command - init ocd_init Debug: 174 6 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_target init Debug: 175 6 command.c:147 script_debug(): command - ocd_target ocd_target init Debug: 177 6 target.c:1174 handle_target_init_command(): Initializing targets... Debug: 178 6 command.c:369 register_command_handler(): registering 'ocd_target_request'... Debug: 179 6 command.c:369 register_command_handler(): registering 'ocd_trace'... Debug: 180 6 command.c:369 register_command_handler(): registering 'ocd_trace'... Debug: 181 6 command.c:369 register_command_handler(): registering 'ocd_fast_load_image'... Debug: 182 6 command.c:369 register_command_handler(): registering 'ocd_fast_load'... Debug: 183 6 command.c:369 register_command_handler(): registering 'ocd_profile'... Debug: 184 6 command.c:369 register_command_handler(): registering 'ocd_virt2phys'... Debug: 185 6 command.c:369 register_command_handler(): registering 'ocd_reg'... Debug: 186 6 command.c:369 register_command_handler(): registering 'ocd_poll'... Debug: 187 7 command.c:369 register_command_handler(): registering 'ocd_wait_halt'... Debug: 188 7 command.c:369 register_command_handler(): registering 'ocd_halt'... Debug: 189 7 command.c:369 register_command_handler(): registering 'ocd_resume'... Debug: 190 7 command.c:369 register_command_handler(): registering 'ocd_reset'... Debug: 191 7 command.c:369 register_command_handler(): registering 'ocd_soft_reset_halt'... Debug: 192 7 command.c:369 register_command_handler(): registering 'ocd_step'... Debug: 193 7 command.c:369 register_command_handler(): registering 'ocd_mdw'... Debug: 194 7 command.c:369 register_command_handler(): registering 'ocd_mdh'... Debug: 195 7 command.c:369 register_command_handler(): registering 'ocd_mdb'... Debug: 196 7 command.c:369 register_command_handler(): registering 'ocd_mww'... Debug: 197 7 command.c:369 register_command_handler(): registering 'ocd_mwh'... Debug: 198 7 command.c:369 register_command_handler(): registering 'ocd_mwb'... Debug: 199 7 command.c:369 register_command_handler(): registering 'ocd_bp'... Debug: 200 7 command.c:369 register_command_handler(): registering 'ocd_rbp'... Debug: 201 7 command.c:369 register_command_handler(): registering 'ocd_wp'... Debug: 202 7 command.c:369 register_command_handler(): registering 'ocd_rwp'... Debug: 203 7 command.c:369 register_command_handler(): registering 'ocd_load_image'... Debug: 204 7 command.c:369 register_command_handler(): registering 'ocd_dump_image'... Debug: 205 7 command.c:369 register_command_handler(): registering 'ocd_verify_image'... Debug: 206 7 command.c:369 register_command_handler(): registering 'ocd_test_image'... Debug: 207 7 command.c:369 register_command_handler(): registering 'ocd_reset_nag'... Debug: 208 7 command.c:369 register_command_handler(): registering 'ocd_ps'... Debug: 209 7 ftdi.c:615 ftdi_initialize(): ftdi interface using shortest path jtag state transitions Debug: 210 548 mpsse.c:309 mpsse_open(): current latency timer: 255 Debug: 211 548 mpsse.c:358 mpsse_purge(): - Debug: 212 549 mpsse.c:623 mpsse_loopback_config(): off Debug: 213 549 mpsse.c:767 mpsse_flush(): write 7, read 0 Debug: 214 549 mpsse.c:750 write_cb(): transferred 7 of 7 Debug: 216 549 core.c:1537 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 217 549 core.c:1540 adapter_khz_to_speed(): have interface set up Debug: 218 549 mpsse.c:664 mpsse_set_frequency(): target 500000 Hz Debug: 219 549 mpsse.c:657 mpsse_rtck_config(): off Debug: 220 549 mpsse.c:647 mpsse_divide_by_5_config(): off Debug: 221 549 mpsse.c:629 mpsse_set_divisor(): 59 Debug: 222 549 mpsse.c:693 mpsse_set_frequency(): actually 500000 Hz Debug: 223 549 core.c:1537 adapter_khz_to_speed(): convert khz to interface specific speed value Debug: 224 549 core.c:1540 adapter_khz_to_speed(): have interface set up Info : 225 549 core.c:1358 adapter_init(): clock speed 500 kHz Debug: 226 549 openocd.c:132 handle_init_command(): Debug Adapter init complete Debug: 227 549 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_transport init Debug: 228 549 command.c:147 script_debug(): command - ocd_transport ocd_transport init Debug: 230 549 transport.c:246 handle_transport_init(): handle_transport_init Debug: 231 549 mpsse.c:767 mpsse_flush(): write 17, read 0 Debug: 232 550 mpsse.c:750 write_cb(): transferred 17 of 17 Debug: 233 550 core.c:678 jtag_add_reset(): SRST line released Debug: 234 550 core.c:702 jtag_add_reset(): TRST line released Debug: 235 550 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 236 550 mpsse.c:767 mpsse_flush(): write 0, read 0 Debug: 237 550 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init Debug: 238 550 command.c:147 script_debug(): command - ocd_jtag ocd_jtag arp_init Debug: 239 550 core.c:1371 jtag_init_inner(): Init JTAG chain Debug: 240 550 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 241 550 mpsse.c:767 mpsse_flush(): write 3, read 0 Debug: 242 550 mpsse.c:750 write_cb(): transferred 3 of 3 Debug: 243 550 core.c:1007 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS Debug: 244 550 core.c:322 jtag_call_event_callbacks(): jtag event: TAP reset Debug: 245 550 mpsse.c:767 mpsse_flush(): write 97+1, read 81 Debug: 246 550 mpsse.c:750 write_cb(): transferred 98 of 98 Debug: 247 551 mpsse.c:736 read_cb(): raw chunk 83, transferred 81 of 81 Info : 248 551 core.c:910 jtag_examine_chain_display(): JTAG tap: lm3s1968.cpu tap/device found: 0x3ba00477 (mfg: 0x23b, part: 0xba00, ver: 0x3) Debug: 249 551 core.c:1167 jtag_validate_ircapture(): IR capture validation scan Debug: 250 551 mpsse.c:767 mpsse_flush(): write 15+1, read 2 Debug: 251 552 mpsse.c:750 write_cb(): transferred 16 of 16 Debug: 252 552 mpsse.c:736 read_cb(): raw chunk 4, transferred 2 of 2 Debug: 253 552 core.c:1226 jtag_validate_ircapture(): lm3s1968.cpu: IR capture 0x01 Debug: 254 552 openocd.c:145 handle_init_command(): Examining targets... Debug: 255 552 arm_adi_v5.c:1099 ahbap_debugport_init(): Debug: 256 552 mpsse.c:767 mpsse_flush(): write 207+1, read 12 Debug: 257 552 mpsse.c:750 write_cb(): transferred 208 of 208 Debug: 258 553 mpsse.c:736 read_cb(): raw chunk 14, transferred 12 of 12 Warn : 259 553 adi_v5_jtag.c:249 jtagdp_transaction_endcheck(): Invalid ACK 0x3 in JTAG-DP transaction Debug: 260 553 openocd.c:147 handle_init_command(): target examination failed Debug: 261 553 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_flash init Debug: 262 553 command.c:147 script_debug(): command - ocd_flash ocd_flash init User : 263 553 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 100ms Debug: 264 553 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 266 553 tcl.c:846 handle_flash_init_command(): Initializing flash devices... Debug: 267 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 268 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 269 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 270 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 271 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 272 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 273 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 274 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 275 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 276 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 277 553 command.c:369 register_command_handler(): registering 'ocd_flash'... Debug: 278 553 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_mflash init Debug: 279 553 command.c:147 script_debug(): command - ocd_mflash ocd_mflash init Debug: 281 553 mflash.c:1378 handle_mflash_init_command(): Initializing mflash devices... Debug: 282 553 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_nand init Debug: 283 553 command.c:147 script_debug(): command - ocd_nand ocd_nand init User : 284 553 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 300ms Debug: 285 553 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) Debug: 287 553 tcl.c:497 handle_nand_init_command(): Initializing NAND devices... Debug: 288 553 command.c:147 script_debug(): command - ocd_command ocd_command type ocd_pld init Debug: 289 553 command.c:147 script_debug(): command - ocd_pld ocd_pld init Debug: 291 553 pld.c:207 handle_pld_init_command(): Initializing PLDs... User : 292 857 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 700ms Debug: 293 857 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) User : 294 1664 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 1500ms Debug: 295 1664 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) User : 296 3280 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 3100ms Debug: 297 3280 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) User : 298 6508 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 6300ms Debug: 299 6508 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) User : 300 12950 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 6300ms Debug: 301 12950 target.c:1290 target_call_event_callbacks(): target event 2 (gdb-halt) User : 302 19407 target.c:2232 handle_target(): Polling target failed, GDB will be halted. Polling again in 6300ms Debug: 303 19407 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
