Hello,

According to your instructions, I will try to answer these questions:

(Actual version of openocd)
Open On-Chip Debugger 1.0 (2008-11-01-23:15) svn:1117

- Target PCB/board description
Homemade board containing an LPC2368 and an XC9572XL in one JTAG chain

- Config scripts
(removed comments and blank lines)
telnet_port 4444
gdb_port 3333
tcl_port 6666
gdb_breakpoint_override hard
gdb_memory_map enable
interface ft2232
ft2232_device_desc "Dual RS232"
ft2232_layout oocdlink
ft2232_vid_pid 0x0403 0x6010
jtag_speed 1
jtag_nsrst_delay 50
jtag_ntrst_delay 50
reset_config trst_and_srst srst_pulls_trst
reset is not enough
jtag_reset 1 1
jtag_reset 0 0
jtag_device 8 0x1 0xe3 0xfe
jtag_device 4 0x1 0xf 0xe
working_area 0 0x40000000 0x4000 nobackup
flash bank lpc2000 0x0 0x7d000 0 0 0 lpc2000_v2 72000 calc_checksum

- OpenOCD command line
sudo openocd --debug 3
(I generally leave out --debug, but to obtain the level 3 logs requested
below...)

- List of commands issued or GDB operations performed
telnet localhost 4444
halt
xsvf 0 xc.xsvf
>BUG: TAP_TLR is not a valid state for pathmove sequences
>Connection closed by foreign host.

- Expected result
Success message and a programmed cpld

- Actual result
openocd exits.

- debug_level 3 logs
Debug:   216 191711 command.c:82 script_command(): script_command - xsvf
Debug:   217 191711 command.c:99 script_command(): script_command - xsvf,
argv[0]=ocd_xsvf
Debug:   218 191711 command.c:99 script_command(): script_command - xsvf,
argv[1]=0
Debug:   219 191711 command.c:99 script_command(): script_command - xsvf,
argv[2]=xc.xsvf
Debug:   220 191711 xsvf.c:300 handle_xsvf_command(): XREPEAT
Debug:   221 191711 xsvf.c:392 handle_xsvf_command(): XSTATE
Error:   222 191711 jtag.c:859 jtag_add_pathmove(): BUG: TAP_TLR is not a
valid state for pathmove sequences

- If this is a regression, include logs for working and broken
version
- If this is a regression, please find out the precise version
that caused the regression. This can be done via a binary
search. E.g. if version 550 worked and 600 failed, then try
575, etc.
I haven't tried earlier versions yet.

The xsvf file was created by iMPACT Release 10.1.03 - iMPACT K.39 (lin)

I guess that a move to TLR must be handled not by jtag_add_pathmove but
rather by jtag_add_tlr? I might be able to put a patch together later today
to test this theory. 

Regards,

Peter
-- 
"Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)"
(Linus Torvalds, about his failing hard drive on linux.cs.helsinki.fi)

Attachment: pgpKhiIIFhfj0.pgp
Description: PGP signature

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to