first time setup problems and questions, reg command

hi all

i just got openocd working on a linux Ubuntu 12.x machine and while the software starts and i can telnet in to port 3333 and send commands, the only thing that works is the command:

reset halt

which does stop the target. i have the gateworks board, and gateworks jtag pod connected up, i was given the config file to use and it sort of works, but once halted it will not start until repowered or push the reset button. Can anyone offer advise/suggestions? thanks so much

launching the program with debug enabled, gps2@ubuntu:~/openocd$ ./src/openocd -l jj.txt -f gw16042.cfg -f gw2388.cfg -d

Open On-Chip Debugger 0.8.0-dev-00193-gff12044-dirty (2013-09-26-12:34)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.sourceforge.net/doc/doxygen/bugs.html
User : 14 2 command.c:549 command_print(): debug_level: 3
Debug: 15 2 configuration.c:45 add_script_search_dir(): adding /home/first-gps2/.openocd
Debug: 16 2 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/site
Debug: 17 2 configuration.c:45 add_script_search_dir(): adding /usr/local/share/openocd/scripts
Debug: 18 2 configuration.c:86 find_file(): found gw16042.cfg
Debug: 19 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_interface ftdi
Debug: 20 2 command.c:145 script_debug(): command - interface ocd_interface ftdi
Debug: 22 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_device_desc'...
Debug: 23 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_serial'...
Debug: 24 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_channel'...
Debug: 25 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_layout_init'...
Debug: 26 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_layout_signal'...
Debug: 27 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_set_signal'...
Debug: 28 2 command.c:369 register_command_handler(): registering 'ocd_ftdi_vid_pid'...
Info : 29 2 transport.c:118 allow_transports(): only one transport option; autoselect 'jtag'
Debug: 30 2 command.c:369 register_command_handler(): registering 'ocd_jtag_flush_queue_sleep'...
Debug: 31 2 command.c:369 register_command_handler(): registering 'ocd_jtag_rclk'...
Debug: 32 2 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_delay'...
Debug: 33 2 command.c:369 register_command_handler(): registering 'ocd_jtag_ntrst_assert_width'...
Debug: 34 2 command.c:369 register_command_handler(): registering 'ocd_scan_chain'...
Debug: 35 2 command.c:369 register_command_handler(): registering 'ocd_jtag_reset'...
Debug: 36 2 command.c:369 register_command_handler(): registering 'ocd_runtest'...
Debug: 37 2 command.c:369 register_command_handler(): registering 'ocd_irscan'...
Debug: 38 2 command.c:369 register_command_handler(): registering 'ocd_verify_ircapture'...
Debug: 39 2 command.c:369 register_command_handler(): registering 'ocd_verify_jtag'...
Debug: 40 2 command.c:369 register_command_handler(): registering 'ocd_tms_sequence'...
Debug: 41 2 command.c:369 register_command_handler(): registering 'ocd_wait_srst_deassert'...
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 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 49 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 50 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 51 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 52 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 53 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 54 2 command.c:369 register_command_handler(): registering 'ocd_jtag'...
Debug: 55 2 command.c:369 register_command_handler(): registering 'ocd_svf'...
Debug: 56 2 command.c:369 register_command_handler(): registering 'ocd_xsvf'...
Debug: 57 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_device_desc USB-JTAG
Debug: 58 2 command.c:145 script_debug(): command - ftdi_device_desc ocd_ftdi_device_desc USB-JTAG
Debug: 60 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 61 2 command.c:145 script_debug(): command - ftdi_vid_pid ocd_ftdi_vid_pid 0x0403 0x6010
Debug: 63 2 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_init 0x0058 0x007b
Debug: 64 2 command.c:145 script_debug(): command - ftdi_layout_init ocd_ftdi_layout_init 0x0058 0x007b
Debug: 66 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nTRST -data 0x0010
Debug: 67 3 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nTRST -data 0x0010
Debug: 69 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_ftdi_layout_signal nSRST -oe 0x0020
Debug: 70 3 command.c:145 script_debug(): command - ftdi_layout_signal ocd_ftdi_layout_signal nSRST -oe 0x0020
Debug: 72 3 configuration.c:86 find_file(): found gw2388.cfg
Debug: 73 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_adapter_khz 1000
Debug: 74 3 command.c:145 script_debug(): command - adapter_khz ocd_adapter_khz 1000
Debug: 76 3 core.c:1646 jtag_config_khz(): handle jtag khz
Debug: 77 3 core.c:1613 adapter_khz_to_speed(): convert khz to interface specific speed value
Debug: 78 3 core.c:1613 adapter_khz_to_speed(): convert khz to interface specific speed value
User : 79 3 command.c:549 command_print(): adapter speed: 1000 kHz
Debug: 80 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst separate
Debug: 81 3 command.c:145 script_debug(): command - reset_config ocd_reset_config trst_and_srst separate
User : 83 3 command.c:549 command_print(): trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Debug: 84 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap arm cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 0x07b37477
Debug: 85 3 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap arm cpu -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 0x07b37477
Debug: 86 3 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: arm, Tap: cpu, Dotted: arm.cpu, 8 params
Debug: 87 3 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 88 3 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture
Debug: 89 3 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask
Debug: 90 3 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 91 3 core.c:1321 jtag_tap_init(): Created Tap: arm.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x1f
Debug: 92 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap arm cpu1 -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 0x07b37477
Debug: 93 3 command.c:145 script_debug(): command - ocd_jtag ocd_jtag newtap arm cpu1 -irlen 5 -ircapture 0x1 -irmask 0x1f -expected-id 0x07b37477
Debug: 94 3 tcl.c:554 jim_newtap_cmd(): Creating New Tap, Chip: arm, Tap: cpu1, Dotted: arm.cpu1, 8 params
Debug: 95 3 tcl.c:571 jim_newtap_cmd(): Processing option: -irlen
Debug: 96 3 tcl.c:571 jim_newtap_cmd(): Processing option: -ircapture
Debug: 97 3 tcl.c:571 jim_newtap_cmd(): Processing option: -irmask
Debug: 98 3 tcl.c:571 jim_newtap_cmd(): Processing option: -expected-id
Debug: 99 3 core.c:1321 jtag_tap_init(): Created Tap: arm.cpu1 @ abs position 1, irlen 5, capture: 0x1 mask: 0x1f
Debug: 100 3 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap msp gsc -irlen 8 -ircapture 0x91 -irmask 0xff

(repeating messages here)


Debug: 395 965 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 396 985 target.c:2321 handle_target(): Polling target arm.cpu1 failed, GDB will be halted. Polling again in 6300ms
Debug: 397 985 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 399 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo toggle trst
Debug: 400 1022 command.c:145 script_debug(): command - echo ocd_echo toggle trst
User : 402 1022 command.c:766 jim_echo(): toggle trst
Debug: 403 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_reset 1 1 0 1
Debug: 404 1022 command.c:145 script_debug(): command - jtag_reset ocd_jtag_reset 1 1 0 1
Debug: 406 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_echo srst high
Debug: 407 1022 command.c:145 script_debug(): command - echo ocd_echo srst high
User : 409 1022 command.c:766 jim_echo(): srst high
Debug: 410 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag_reset 0 0
Debug: 411 1022 command.c:145 script_debug(): command - jtag_reset ocd_jtag_reset 0 0
Debug: 413 1022 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_sleep 10
Debug: 414 1022 command.c:145 script_debug(): command - sleep ocd_sleep 10
User : 416 1029 target.c:2321 handle_target(): Polling target arm.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 417 1029 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
Debug: 418 1032 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init
Debug: 419 1032 command.c:145 script_debug(): command - ocd_jtag ocd_jtag arp_init
Debug: 420 1032 core.c:1415 jtag_init_inner(): Init JTAG chain
Debug: 421 1032 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Debug: 422 1032 core.c:1048 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS
Debug: 423 1032 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Info : 424 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: arm.cpu tap/device found: 0x59604093 (mfg: 0x049, part: 0x9604, ver: 0x5)
Warn : 425 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: arm.cpu       UNEXPECTED: 0x59604093 (mfg: 0x049, part: 0x9604, ver: 0x5)
Error: 426 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: arm.cpu  expected 1 of 1: 0x07b37477 (mfg: 0x23b, part: 0x7b37, ver: 0x0)
Info : 427 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: arm.cpu1 tap/device found: 0x19261013 (mfg: 0x009, part: 0x9261, ver: 0x1)
Warn : 428 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: arm.cpu1       UNEXPECTED: 0x19261013 (mfg: 0x009, part: 0x9261, ver: 0x1)
Error: 429 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: arm.cpu1  expected 1 of 1: 0x07b37477 (mfg: 0x23b, part: 0x7b37, ver: 0x0)
Info : 430 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: msp.gsc tap/device found: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Warn : 431 1033 core.c:951 jtag_examine_chain_display(): JTAG tap: msp.gsc       UNEXPECTED: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)
Error: 432 1033 core.c:1460 jtag_init_inner(): Trying to use configured scan chain anyway...
Debug: 433 1033 core.c:1208 jtag_validate_ircapture(): IR capture validation scan
Debug: 434 1033 core.c:1265 jtag_validate_ircapture(): arm.cpu: IR capture 0x01
Error: 435 1034 core.c:1259 jtag_validate_ircapture(): arm.cpu1: IR capture error; saw 0x08 not 0x01
Debug: 436 1034 core.c:323 jtag_call_event_callbacks(): jtag event: TAP reset
Warn : 437 1034 core.c:1483 jtag_init_inner(): Bypassing JTAG setup events due to errors
Debug: 438 1034 openocd.c:145 handle_init_command(): Examining targets...
Debug: 439 1034 target.c:1359 target_call_event_callbacks(): target event 21 (examine-start)
Error: 440 1034 arm11_dbgtap.c:164 arm11_in_handler_SCAN_N(): 'arm11 target' JTAG error SCREG OUT 0x00
Error: 441 1034 arm11.c:1157 arm11_examine(): unexpected ARM11 ID code
Debug: 442 1034 openocd.c:147 handle_init_command(): target examination failed
Debug: 443 1034 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash init
Debug: 444 1034 command.c:145 script_debug(): command - ocd_flash ocd_flash init
Debug: 446 1034 tcl.c:847 handle_flash_init_command(): Initializing flash devices...
Debug: 447 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 448 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 449 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 450 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 451 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 452 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 453 1034 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 454 1035 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 455 1035 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 456 1035 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 457 1035 command.c:369 register_command_handler(): registering 'ocd_flash'...
Debug: 458 1035 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_mflash init
Debug: 459 1035 command.c:145 script_debug(): command - ocd_mflash ocd_mflash init
Debug: 461 1035 mflash.c:1379 handle_mflash_init_command(): Initializing mflash devices...
Debug: 462 1035 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_nand init
Debug: 463 1035 command.c:145 script_debug(): command - ocd_nand ocd_nand init
Debug: 465 1035 tcl.c:497 handle_nand_init_command(): Initializing NAND devices...
Debug: 466 1035 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_pld init
Debug: 467 1035 command.c:145 script_debug(): command - ocd_pld ocd_pld init
Debug: 469 1035 pld.c:207 handle_pld_init_command(): Initializing PLDs...
User : 470 2437 target.c:2321 handle_target(): Polling target arm.cpu1 failed, GDB will be halted. Polling again in 6300ms
Debug: 471 2437 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 472 6843 target.c:2321 handle_target(): Polling target arm.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 473 6843 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 474 8946 target.c:2321 handle_target(): Polling target arm.cpu1 failed, GDB will be halted. Polling again in 6300ms
Debug: 475 8946 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 476 13252 target.c:2321 handle_target(): Polling target arm.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 477 13252 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 478 15455 target.c:2321 handle_target(): Polling target arm.cpu1 failed, GDB will be halted. Polling again in 6300ms
Debug: 479 15455 target.c:1359 target_call_event_callbacks(): target event 0 (gdb-halt)
User : 480 19661 target.c:2321 handle_target(): Polling target arm.cpu failed, GDB will be halted. Polling again in 6300ms
Debug: 481 19661 target.c:1359 target_call_event_callbacks(): target