Hi, I'm getting segmentation faults during detect, but it might be a new bug. The problem is only present in the Debian package, if I build the software myself from the upstream git source I do not get segmentation faults.
I'm using urjtag 0.10+r2007-1.2 which is the version currently
available through Debian testing. I have a Spartan 3E Starter Kit, and
I am using urjtag with the "xpc_int" cable choice. There are three
devices in the jtag chain on the development board.
The interaction I see is
% jtag
UrJTAG 0.10 #2007
Copyright (C) 2002, 2003 ETC s.r.o.
Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors
UrJTAG is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
There is absolutely no warranty for UrJTAG.
warning: UrJTAG may damage your hardware!
Type "quit" to exit, "help" for help.
jtag> cable xpc_int
firmware version = 0x0404 (1028)
cable CPLD version = 0x0006 (6)
jtag> detect
IR length: 22
Chain length: 3
Device Id: 00000110111001011110000010010011 (0x06E5E093)
Manufacturer: Xilinx (0x093)
Part(0): XC2C64-VQ44 (0x6E5E)
Stepping: 0
Filename: /usr/share/urjtag/xilinx/xc2c64a-vq44/xc2c64a-vq44
Segmentation fault
In case it helps, the last few lines of an ltrace for the segmentation
fault are
fopen("/usr/share/urjtag/xilinx/xc2c64a"..., "re") = 0x5574c81b76c0
malloc(168) = 0x5574c81fd0a0
malloc(200) = 0x5574c81fd180
malloc(12) = 0x5574c81ef090
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++
The output of the detect command when I run the version I have compiled
myself is
jtag> detect
IR length: 22
Chain length: 3
Device Id: 00000110111001011110000010010011 (0x06E5E093)
Manufacturer: Xilinx (0x093)
Part(0): XC2C64-VQ44 (0x6E5E)
Stepping: 0
Filename: /home/kipp/urjtag/share/urjtag/xilinx/xc2c64a-vq44/xc2c64a-vq44
Device Id: 00000101000001000110000010010011 (0x05046093)
Manufacturer: Xilinx (0x093)
Part(1): xcf04s (0x5046)
Stepping: 0
Filename: /home/kipp/urjtag/share/urjtag/xilinx/xcf04s/xcf04s
Device Id: 00000001110000100010000010010011 (0x01C22093)
Manufacturer: Xilinx (0x093)
Part(2): xc3s500e_fg320 (0x1C22)
Stepping: 0
Filename:
/home/kipp/urjtag/share/urjtag/xilinx/xc3s500e_fg320/xc3s500e_fg320
-Kipp
signature.asc
Description: This is a digitally signed message part

