Dangerous Prototypes

Other projects => Past projects => CPLD programmable logic => Topic started by: ian on February 16, 2011, 02:53:51 pm

Title: Can't program XC9572XL stepping 1 with urJTAG
Post by: ian on February 16, 2011, 02:53:51 pm
I get an error when I use urJTAG v1 on Windows with a FT2232 to program a Xilinx XC9572XL stepping 1.

Code: [Select]
jtag> detect
IR length: 8
Chain length: 1
Device Id: 01011001011000000100000010010011 (0x0000000059604093)
  Filename:    c:bsdl/xc9572xl_vq44_1532.bsd
jtag> svf c:svfxc95test.svf stop
Error svf: mismatch at position 17 for TDO
 in input file between line 40 col 1 and line 40 col 49
Error occurred for SVF command SDR.
jtag>

Here are lines 36 through 40 of the SVF file:
Code: [Select]
// Loading devices with 'fbulk' instruction.
SIR 8 TDI (ed) ;
SDR 18 TDI (03ffff) SMASK (03ffff) ;
RUNTEST 200000 TCK;
SDR 18 TDI (03fffd) TDO (000001) MASK (000003) ;

Stepping 1 isn't directly supported by the default urJtag libraries, so I specified the path to a BSDL file that seemed to work.

When I exported the SVF Impact warned me that there were command that might not be supported by all cables. I'm not sure if this is related.

I exported the SVF from Impact. I also made and tested a CoolRunner-II version of the project. urJTAG had no problem programming the same project synthesized for a XC2C64A (into an XC2C64A).

The only other SVF player handy was actually a microcontroller-based *X*SVF player (from XAPP058 app note). It programmed a the XSVF version fine, so I can verify that the chip is OK.

I found a discussion in the urJTAG archive about using this CPLD and this stepping and it working, so I'm assuming it's me.

I'm going to do a little more debugging before I contact the urJTAG list.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.00892052120session_write_close ( )...(null):0
20.00922183712ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.00922184488Database_MySQL->query( ).../DatabaseHandler.php:119
40.05372323224Database_MySQL->error( ).../Db-mysql.class.php:273