I have OpenOCD Rev115, Olimex Wiggler cable and I am using a STR912.
When I try to connect to the STR912 I get the following error:
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-10-12 18:00 CEST)
Debug: arm966e.c:252 arm966e_target_command(): chain_pos: 1, variant: arm966e
Info: configuration.c:50 configuration_output_handler(): Command sw_bkpts not
found
Debug: jtag.c:1210 jtag_init():
Debug: parport.c:373 parport_init(): requesting privileges for parallel port 0
x378…
Debug: parport.c:383 parport_init(): …privileges granted
Debug: parport.c:210 parport_reset(): trst: 0, srst: 0
Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:1096 jtag_reset_callback():
Debug: jtag.c:1096 jtag_reset_callback():
Debug: jtag.c:1096 jtag_reset_callback():
Debug: jtag.c:247 jtag_call_event_callbacks(): jtag event: 1
Debug: jtag.c:1096 jtag_reset_callback():
Debug: jtag.c:1096 jtag_reset_callback():
Debug: jtag.c:1096 jtag_reset_callback():
Error: jtag.c:1149 jtag_validate_chain(): Error validating JTAG scan chain, IR
mismatch, scan returned 0x07ffff
I am using the following cfg file
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface parport
parport_port 0x378
parport_cable wiggler
jtag_speed 1
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 8 0x1 0x1 0xfe
jtag_device 4 0x1 0xf 0xe
jtag_device 5 0x1 0x1 0x1e
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target arm966e little run_and_halt 1 arm966e
run_and_halt_time 0 30
working_area 0 0x50000000 16384 nobackup
#flash configuration
flash bank str9x 0x0 0x88000 0 0 0
arm7_9 sw_bkpts enable
Thank you very much.