Hi,
I have a development board which has an LPC2138 and a Xilinx both in the jtag chain. I’ve been trying for days now to get the configuration to work, and not getting anywhere.
The board has resistors on it for configuring the JTAG chain so it can either have the CPU or the Xilinx or both, in the chain. It has been tested with CPU only, which works (with Amontec’s JTAGkey), and Xilinx only, which works (with the Xilinx JTAG probe).
However, when I have it configured for both devices and use the JTAGkey, it never gets past the “value captured during scan didn’t pass the requested check” in jtag_read_buffer.
My configuration is:
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface ft2232
ft2232_device_desc “Amontec JTAGkey A”
ft2232_layout jtagkey
ft2232_vid_pid 0x0403 0xcff8
Increased from default of 2.
jtag_speed 5
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst srst_pulls_trst
jtag_nsrst_delay 250
jtag_ntrst_delay 50
#jtag scan chain
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
jtag_device 4 0x1 0xf 0xe
jtag_device 6 0x05 0x3f 0x9
#target configuration
daemon_startup reset
#target
#target arm7tdmi
target arm7tdmi little run_and_init 0 arm7tdmi-s_r4
and the responses I get are:
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-08-31 15:00 CEST)
Warning: arm7_9_common.c:679 arm7_9_assert_reset(): srst resets test logic, too
Warning: jtag.c:1037 jtag_read_buffer(): value captured during scan didn’t pass
the requested check: captured: 0f check_value: 01 check_mask: 0f
Warning: jtag.c:1037 jtag_read_buffer(): value captured during scan didn’t pass
the requested check: captured: 3f check_value: 05 check_mask: 3f
I only have a basic understanding of JTAG and I’m not sure what OpenOCD is checking, so I’d appreciate if anyone can cast any light on what the problem is.
Thanks in advance
- Niels