JTAG communication failure

I’m getting the following error message:

Info: openocd.c:86 main(): Open On-Chip Debugger (2007-04-11 16:20 CEST)

Error: jtag.c:1182 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.

I know that my problem may be the wiggler, but I’d like to eliminate the possibilities of error in my .cfg. I’m currently using an ARM7 (lpc2378), and my .cfg is the following:

telnet_port 4444

gdb_port 3333

#interface

interface parport

#parport_port 0x378

parport_port /dev/parport0

parport_cable wiggler

jtag_speed 0

reset_config [combination] [trst_type] [srst_type]

reset_config trst_and_srst srst_pulls_trst

#jtag scan chain

jtag_device 4 0x1 0xf 0xe

jtag_nsrst_delay 333

jtag_ntrst_delay 333

#target configuration, what to do on a target reset

target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4

run_and_halt_time 0 30

daemon_startup reset

#target_script 0 reset openocd.script

working_area 0 0x40000000 0x4000 nobackup

flash bank lpc2000 0 0 <target#> [‘calc_checksum’]

mthomas: LPC2138 @ 12MHz 0x7D000 from 500*1024 (not 512!)

flash bank lpc2000 0x0 0x7D000 0 0 lpc2000_v2 0 12000 calc_checksum

If someone could catch an error in my .cfg it would be very usefull!!

Thank you

lmariano:
I’m getting the following error message:

Info: openocd.c:86 main(): Open On-Chip Debugger (2007-04-11 16:20 CEST)

Error: jtag.c:1182 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.

SNIP********************

If someone could catch an error in my .cfg it would be very usefull!!

Thank you

Not necessarily an error, but I have never been able to get a wiggler to work reliably with " jtag_speed 0", especially when I am using a cable between the PC and the wiggler. A number greater than zero will slow the speed and increase reliability.

–Dave

yes, I’ve changed this value already to reduce the clock, but no progress… thanks anyway.

I am getting the same error.

Reset the controller (press the reset button)

and change the jtag_speed 0 to jtag_speed 4

that should make it work

Mihir