adm5120 target not halted,need help

my openocd.cfg

telnet_port 4444

gdb_port 3333

tcl_port 6666

interface parport

parport_port 0xFEE8

parport_cable wiggler

adapter_nsrst_delay 20

jtag_ntrst_delay 20

reset_config trst_and_srst separate

jtag newtap adm5120 cpu -irlen 0x5 -ircapture 0x1 -irmask 0x1f -expected-id 0x00000001

target create adm5120.cpu mips_m4k -endian little -chain-position adm5120.cpu

openocd debug report:

Debug: 15 16 configuration.c:45 add_script_search_dir(): adding C:\Program Files\OpenOCD\0.4.0\bin..

Debug: 16 16 configuration.c:45 add_script_search_dir(): adding C:/Program Files/OpenOCD/0.4.0/bin/…/share/openocd/scripts

Debug: 17 16 configuration.c:87 find_file(): found openocd.cfg

Debug: 18 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_telnet_port 4444

Debug: 19 16 command.c:133 script_debug(): command - telnet_port ocd_telnet_port 4444

Debug: 21 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_gdb_port 3333

Debug: 22 16 command.c:133 script_debug(): command - gdb_port ocd_gdb_port 3333

Debug: 24 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_tcl_port 6666

Debug: 25 16 command.c:133 script_debug(): command - tcl_port ocd_tcl_port 6666

Debug: 27 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_interface parport

Debug: 28 16 command.c:133 script_debug(): command - interface ocd_interface parport

Debug: 30 16 command.c:350 register_command_handler(): registering ‘ocd_parport_port’…

Debug: 31 16 command.c:350 register_command_handler(): registering ‘ocd_parport_cable’…

Debug: 32 16 command.c:350 register_command_handler(): registering ‘ocd_parport_write_on_exit’…

Debug: 33 16 command.c:350 register_command_handler(): registering ‘ocd_parport_toggling_time’…

Warn : 34 16 adapter.c:171 handle_interface_command(): Adapter driver ‘parport’ did not declare which transports it allows; assuming legacy JTAG-only

Info : 35 16 transport.c:123 allow_transports(): only one transport option; autoselect ‘jtag’

Debug: 36 16 command.c:350 register_command_handler(): registering ‘ocd_jtag_flush_queue_sleep’…

Debug: 37 16 command.c:350 register_command_handler(): registering ‘ocd_jtag_rclk’…

Debug: 38 16 command.c:350 register_command_handler(): registering ‘ocd_jtag_ntrst_delay’…

Debug: 39 16 command.c:350 register_command_handler(): registering ‘ocd_jtag_ntrst_assert_width’…

Debug: 40 16 command.c:350 register_command_handler(): registering ‘ocd_scan_chain’…

Debug: 41 16 command.c:350 register_command_handler(): registering ‘ocd_jtag_reset’…

Debug: 42 16 command.c:350 register_command_handler(): registering ‘ocd_runtest’…

Debug: 43 16 command.c:350 register_command_handler(): registering ‘ocd_irscan’…

Debug: 44 16 command.c:350 register_command_handler(): registering ‘ocd_verify_ircapture’…

Debug: 45 16 command.c:350 register_command_handler(): registering ‘ocd_verify_jtag’…

Debug: 46 16 command.c:350 register_command_handler(): registering ‘ocd_tms_sequence’…

Debug: 47 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 48 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 49 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 50 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 51 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 52 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 53 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 54 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 55 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 56 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 57 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 58 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 59 16 command.c:350 register_command_handler(): registering ‘ocd_jtag’…

Debug: 60 16 command.c:350 register_command_handler(): registering ‘ocd_svf’…

Debug: 61 16 command.c:350 register_command_handler(): registering ‘ocd_xsvf’…

Debug: 62 16 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_parport_port 0xFEE8

Debug: 63 16 command.c:133 script_debug(): command - parport_port ocd_parport_port 0xFEE8

User : 65 16 command.c:543 command_print(): parport port = 0xfee8

Debug: 66 31 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_parport_cable wiggler

Debug: 67 31 command.c:133 script_debug(): command - parport_cable ocd_parport_cable wiggler

Debug: 69 31 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_adapter_nsrst_delay 20

Debug: 70 31 command.c:133 script_debug(): command - adapter_nsrst_delay ocd_adapter_nsrst_delay 20

User : 72 31 command.c:543 command_print(): adapter_nsrst_delay: 20

Debug: 73 31 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag_ntrst_delay 20

Debug: 74 31 command.c:133 script_debug(): command - jtag_ntrst_delay ocd_jtag_ntrst_delay 20

User : 76 31 command.c:543 command_print(): jtag_ntrst_delay: 20

Debug: 77 31 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_reset_config trst_and_srst separate

Debug: 78 31 command.c:133 script_debug(): command - reset_config ocd_reset_config trst_and_srst separate

User : 80 31 command.c:543 command_print(): trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain

Debug: 81 31 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag newtap adm5120 cpu -irlen 0x5 -ircapture 0x1 -irmask 0x1f -expected-id 0x00000001

Debug: 82 31 command.c:133 script_debug(): command - ocd_jtag ocd_jtag newtap adm5120 cpu -irlen 0x5 -ircapture 0x1 -irmask 0x1f -expected-id 0x00000001

Debug: 83 31 tcl.c:573 jim_newtap_cmd(): Creating New Tap, Chip: adm5120, Tap: cpu, Dotted: adm5120.cpu, 8 params

Debug: 84 31 tcl.c:590 jim_newtap_cmd(): Processing option: -irlen

Debug: 85 31 tcl.c:590 jim_newtap_cmd(): Processing option: -ircapture

Debug: 86 31 tcl.c:590 jim_newtap_cmd(): Processing option: -irmask

Debug: 87 31 tcl.c:590 jim_newtap_cmd(): Processing option: -expected-id

Debug: 88 31 core.c:1331 jtag_tap_init(): Created Tap: adm5120.cpu @ abs position 0, irlen 5, capture: 0x1 mask: 0x1f

Debug: 89 31 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target create adm5120.cpu mips_m4k -endian little -chain-position adm5120.cpu

Debug: 90 31 command.c:133 script_debug(): command - ocd_target ocd_target create adm5120.cpu mips_m4k -endian little -chain-position adm5120.cpu

Debug: 91 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 92 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 93 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 94 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 95 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 96 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 97 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 98 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 99 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 100 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 101 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 102 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 103 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 104 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 105 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 106 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 107 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 108 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 109 31 command.c:350 register_command_handler(): registering ‘ocd_adm5120.cpu’…

Debug: 110 31 httpd_stubs.c:28 httpd_start(): libocdserver was built without HTTPD support

Debug: 111 47 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_init

Debug: 112 47 command.c:133 script_debug(): command - init ocd_init

Debug: 114 47 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_target init

Debug: 115 47 command.c:133 script_debug(): command - ocd_target ocd_target init

Debug: 117 47 target.c:888 handle_target_init_command(): Initializing targets…

Debug: 118 47 command.c:350 register_command_handler(): registering ‘ocd_target_request’…

Debug: 119 47 command.c:350 register_command_handler(): registering ‘ocd_trace’…

Debug: 120 47 command.c:350 register_command_handler(): registering ‘ocd_trace’…

Debug: 121 47 command.c:350 register_command_handler(): registering ‘ocd_fast_load_image’…

Debug: 122 47 command.c:350 register_command_handler(): registering ‘ocd_fast_load’…

Debug: 123 47 command.c:350 register_command_handler(): registering ‘ocd_profile’…

Debug: 124 47 command.c:350 register_command_handler(): registering ‘ocd_virt2phys’…

Debug: 125 47 command.c:350 register_command_handler(): registering ‘ocd_reg’…

Debug: 126 47 command.c:350 register_command_handler(): registering ‘ocd_poll’…

Debug: 127 47 command.c:350 register_command_handler(): registering ‘ocd_wait_halt’…

Debug: 128 47 command.c:350 register_command_handler(): registering ‘ocd_halt’…

Debug: 129 47 command.c:350 register_command_handler(): registering ‘ocd_resume’…

Debug: 130 47 command.c:350 register_command_handler(): registering ‘ocd_reset’…

Debug: 131 47 command.c:350 register_command_handler(): registering ‘ocd_soft_reset_halt’…

Debug: 132 47 command.c:350 register_command_handler(): registering ‘ocd_step’…

Debug: 133 47 command.c:350 register_command_handler(): registering ‘ocd_mdw’…

Debug: 134 47 command.c:350 register_command_handler(): registering ‘ocd_mdh’…

Debug: 135 47 command.c:350 register_command_handler(): registering ‘ocd_mdb’…

Debug: 136 47 command.c:350 register_command_handler(): registering ‘ocd_mww’…

Debug: 137 47 command.c:350 register_command_handler(): registering ‘ocd_mwh’…

Debug: 138 47 command.c:350 register_command_handler(): registering ‘ocd_mwb’…

Debug: 139 47 command.c:350 register_command_handler(): registering ‘ocd_bp’…

Debug: 140 47 command.c:350 register_command_handler(): registering ‘ocd_rbp’…

Debug: 141 47 command.c:350 register_command_handler(): registering ‘ocd_wp’…

Debug: 142 47 command.c:350 register_command_handler(): registering ‘ocd_rwp’…

Debug: 143 47 command.c:350 register_command_handler(): registering ‘ocd_load_image’…

Debug: 144 47 command.c:350 register_command_handler(): registering ‘ocd_dump_image’…

Debug: 145 47 command.c:350 register_command_handler(): registering ‘ocd_verify_image’…

Debug: 146 47 command.c:350 register_command_handler(): registering ‘ocd_test_image’…

Debug: 147 47 command.c:350 register_command_handler(): registering ‘ocd_reset_nag’…

Debug: 148 47 parport.c:360 parport_init(): requesting privileges for parallel port 0xfee8…

Debug: 149 47 parport.c:370 parport_init(): …privileges granted

Debug: 150 47 parport.c:179 parport_reset(): trst: 0, srst: 0

Info : 151 47 core.c:1400 adapter_init(): clock speed 500 kHz

Debug: 152 47 openocd.c:124 handle_init_command(): Debug Adapter init complete

Debug: 153 47 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_transport init

Debug: 154 47 command.c:133 script_debug(): command - ocd_transport ocd_transport init

Debug: 156 47 transport.c:253 handle_transport_init(): handle_transport_init

Debug: 157 47 parport.c:179 parport_reset(): trst: 0, srst: 0

Debug: 158 47 core.c:714 jtag_add_reset(): SRST line released

Debug: 159 47 core.c:738 jtag_add_reset(): TRST line released

Debug: 160 47 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset

Debug: 161 109 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_jtag arp_init

Debug: 162 109 command.c:133 script_debug(): command - ocd_jtag ocd_jtag arp_init

Debug: 163 109 core.c:1414 jtag_init_inner(): Init JTAG chain

Debug: 164 109 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset

Debug: 165 109 core.c:1049 jtag_examine_chain(): DR scan interrogation for IDCODE/BYPASS

Debug: 166 109 core.c:330 jtag_call_event_callbacks(): jtag event: TAP reset

Info : 167 109 core.c:949 jtag_examine_chain_display(): JTAG tap: adm5120.cpu tap/device found: 0x00000001 (mfg: 0x000, part: 0x0000, ver: 0x0)

Debug: 168 109 core.c:1213 jtag_validate_ircapture(): IR capture validation scan

Debug: 169 109 core.c:1274 jtag_validate_ircapture(): adm5120.cpu: IR capture 0x01

Debug: 170 109 openocd.c:137 handle_init_command(): Examining targets…

Debug: 171 109 mips_ejtag.c:266 mips_ejtag_init(): impcode: 0x41404000

Debug: 172 109 mips_ejtag.c:280 mips_ejtag_init(): EJTAG: Version 2.6 Detected

Debug: 173 109 mips_ejtag.c:296 mips_ejtag_init(): EJTAG: features: R4k DINT ASID_8 noDMA MIPS32

Debug: 174 109 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_flash init

Debug: 175 109 command.c:133 script_debug(): command - ocd_flash ocd_flash init

Debug: 177 109 tcl.c:907 handle_flash_init_command(): Initializing flash devices…

Debug: 178 109 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_mflash init

Debug: 179 109 command.c:133 script_debug(): command - ocd_mflash ocd_mflash init

Debug: 181 109 mflash.c:1325 handle_mflash_init_command(): Initializing mflash devices…

Debug: 182 109 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_nand init

Debug: 183 109 command.c:133 script_debug(): command - ocd_nand ocd_nand init

Debug: 185 109 tcl.c:541 handle_nand_init_command(): Initializing NAND devices…

Debug: 186 109 command.c:133 script_debug(): command - ocd_command ocd_command type ocd_pld init

Debug: 187 109 command.c:133 script_debug(): command - ocd_pld ocd_pld init

Debug: 189 109 pld.c:232 handle_pld_init_command(): Initializing PLDs…

Debug: 190 109 gdb_server.c:2419 gdb_target_start(): gdb service for target ‘adm5120.cpu’ on TCP port 3333

Info : 191 76031 server.c:81 add_connection(): accepting ‘gdb’ connection from 3333

Debug: 192 76031 breakpoints.c:161 breakpoint_clear_target(): Delete all breakpoints for target: adm5120.cpu

Debug: 193 76031 breakpoints.c:299 watchpoint_clear_target(): Delete all watchpoints for target: adm5120.cpu

Debug: 194 76031 target.c:1021 target_call_event_callbacks(): target event 25 (gdb-attach)

Debug: 195 76031 gdb_server.c:886 gdb_new_connection(): New GDB Connection: 1, Target adm5120.cpu, state: running

Debug: 196 76031 gdb_server.c:2189 gdb_input_inner(): received packet: ‘qSupported’

Debug: 197 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘QStartNoAckMode’

Warn : 198 76047 gdb_server.c:658 gdb_get_packet_inner(): acknowledgment received, but no packet pending

Debug: 199 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘Hg0’

Debug: 200 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘?’

User : 201 76047 gdb_server.c:123 gdb_last_signal(): undefined debug reason 6 - target needs reset

Debug: 202 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘Hc-1’

Debug: 203 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘qC’

Debug: 204 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘qAttached’

Debug: 205 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘Hg0’

Debug: 206 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘g’

Debug: 207 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘g’

Debug: 208 76047 gdb_server.c:2189 gdb_input_inner(): received packet: ‘m0,4’

Debug: 209 76047 gdb_server.c:1266 gdb_read_memory_packet(): addr: 0x00000000, len: 0x00000004

Debug: 210 76047 target.c:1397 target_read_buffer(): reading buffer of 4 byte at 0x00000000

Debug: 211 76047 mips_m4k.c:845 mips_m4k_read_memory(): address: 0x00000000, size: 0x00000004, count: 0x00000001

Warn : 212 76047 mips_m4k.c:849 mips_m4k_read_memory(): target not halted

But urjtag working properly