On Mon, Nov 17, 2008 at 01:36:21PM -0700, Steve Franks wrote: > The folks over at urjtag (http://www.urjtag.org/) are doing this for svf > (but not xsvf). Might be a good learning tool. Seems to program all my > xilinx stuff... Sorry, not my xc9572xl, vq44, speed grade 10c, Revision code AWN, fabrication date 0745:
> jtag UrJTAG 0.9 #1359 Copyright (C) 2002, 2003 ETC s.r.o. Copyright (C) 2007, 2008 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 OOCDlink-s Connected to libftd2xx driver. jtag> detect IR length: 12 Chain length: 2 Device Id: 01011001011000000100000010010011 (0x0000000059604093) Manufacturer: Xilinx Part(0): XC9572XL_VQ44 Stepping: 1 Filename: /usr/share/urjtag/xilinx/xc9572xl_vq44/xc9572xl_vq44 Device Id: 01001111000111110000111100001111 (0x000000004F1F0F0F) Manufacturer: ARM Part(1): EmbeddedICE Stepping: 7 Filename: /usr/share/urjtag/arm/EmbeddedICE/EmbeddedICE chain.c(133) Part 1 without active instruction chain.c(184) Part 1 without active instruction jtag> part 1 jtag> instruction BYPASS jtag> part 0 jtag> svf x.svf Error svf: mismatch at position 16 for TDO in input file between line 50 col 1 and line 50 col 49 Error svf: mismatch at position 17 for TDO in input file between line 103 col 1 and line 103 col 49 Error svf: mismatch at position 49 for TDO in input file between line 128 col 1 and line 128 col 73 Error svf: mismatch at position 49 for TDO in input file between line 145 col 1 and line 145 col 73 Error svf: mismatch at position 49 for TDO in input file between line 162 col 1 and line 162 col 73 ... etc. So, it might be caused by my CPLD, not the (x)svf player. I *am* using the right chip definition, the (x)svf checks the idcode register before programming anything: SDR 32 TDI (00000000) SMASK (ffffffff) TDO (f9604093) MASK (0fffffff) ; The first offending line, line 50, reads SDR 18 TDI (03fffd) TDO (000001) MASK (000003) ; which is exactly the same command the xsvf player in openocd balks on. (The CPLD is actually erased by the commands executed up to this line, by the way) Both the svf and xsvf files were created by impact: Release 10.1.03 - iMPACT K.39 (lin) Using a Xilinx Parallel Cable III clone, iMPACT programs the xc9572. But I'd prefer to use the OOCDlink for programming/debugging both the LPC-ARM and the CPLD. So, any idea, anyone, why this does not work? 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)
pgpBsa2R3gfsL.pgp
Description: PGP signature
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
