UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor kresimir
Visitor
18,581 Views
Registered: ‎06-03-2010

Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

Hello,

 

I bought Xilinx CoolRunner II CPLD and USB Platform Cable. I'm trying to use it for programming a 4-bit UP counter.

 

My host environment:

Windows XP Service Pack 2 (32 bit).

Xilinx ISE WebPack 12.1 (32 bit).

Xilinx USB drivers installed successful.

 

Platform USB Cable with JTAG support:

DLC9LP

(this device works properly because I tested it on Spartan 3 FPGA. It programmed FPGA correctly via JTAG Flying Wire Adapter!)

 

CoolRunner II CPLD type (1.8 V)

XILINX XC2C32A
VQG44AMS072
A3079146A
6I

 

Schema used to program CoolRunner II CPLD (configuration settings) is shown on the picture.

Note 1: When DLC9LP device was connected to power 1.8V, status LED was GREEN.

Note 2: Cable autodetection via IMPACT was OK.

 

PROBLEM WHEN USING IMPACT:

 

iMPACT Version: 12.1
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
// *** BATCH CMD : setMode -bs
GUI --- Auto connect to cable...
// *** BATCH CMD : setCable -port auto
AutoDetecting cable. Please wait.
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusb_xlp.sys found.
 Driver version: src=1029, dest=1029.
 Driver windrvr6.sys version = 8.1.1.0. WinDriver v8.11 Jungo (c) 1997 - 2006 Build Date: Oct 16 2006 X86 32bit SYS 12:35:07, version = 811.
 Cable PID = 0008.
 Max current requested during enumeration is 74 mA.
Type = 0x0004.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1303.
File version of F:/Xilinx/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
PLD file version = 0012h.
 PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time =      1 sec.
Type = 0x0004.
 ESN device is not available for this cable.
Enumerating cables. Please wait.
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusb_xlp.sys found.
 Driver version: src=1029, dest=1029.
 Driver windrvr6.sys version = 8.1.1.0. WinDriver v8.11 Jungo (c) 1997 - 2006 Build Date: Oct 16 2006 X86 32bit SYS 12:35:07, version = 811.
 Cable PID = 0008.
 Max current requested during enumeration is 74 mA.
Type = 0x0004.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1303.
File version of F:/Xilinx/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
Type = 0x0004.
 ESN device is not available for this cable.
=======================================================
Found cable - > Type = 0x0004.
 ESN device is not available for this cable.
No ESN.
=======================================================
Connecting to cable (Usb Port - USB22).
Checking cable driver.
 Driver file xusb_xlp.sys found.
 Driver version: src=1029, dest=1029.
 Driver windrvr6.sys version = 8.1.1.0. WinDriver v8.11 Jungo (c) 1997 - 2006 Build Date: Oct 16 2006 X86 32bit SYS 12:35:07, version = 811.
Cable connection failed.
PROGRESS_END - End Operation.
Elapsed time =      4 sec.
Error opening cdb file for reading.
// *** BATCH CMD : setCable -port usb21 -baud 750000
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusb_xlp.sys found.
 Driver version: src=1029, dest=1029.
 Driver windrvr6.sys version = 8.1.1.0. WinDriver v8.11 Jungo (c) 1997 - 2006 Build Date: Oct 16 2006 X86 32bit SYS 12:35:07, version = 811.
 Cable PID = 0008.
 Max current requested during enumeration is 74 mA.
Type = 0x0004.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 750 KHz.
Cable connection established.
Firmware version = 1303.
File version of F:/Xilinx/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
PLD file version = 0012h.
 PLD version = 0012h.
Type = 0x0004.
 ESN device is not available for this cable.
// *** BATCH CMD : addDevice -p 1 -file "F:/XilinxProjects/Counter4UpTest/Counter4Up.jed"
'1': Loading file 'F:/XilinxProjects/Counter4UpTest/Counter4Up.jed' ...
done.
INFO:iMPACT:1777 -
Reading F:/Xilinx/ISE_DS/ISE/xbr/data/xc2c32a.bsd...
INFO:iMPACT:501 - '1': Added Device xc2c32a successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
INFO:iMPACT - Current time: uto 8. lip 22:55:09 2010
// *** BATCH CMD : Verify -p 1
PROGRESS_START - Starting Operation.
INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode in the bsdl File.
INFO:iMPACT:1578 - '1':  Device IDCODE :        00001111111111111000111111111111
INFO:iMPACT:1579 - '1': Expected IDCODE:    00000110111000011000000010010011

PROGRESS_END - End Operation.
Elapsed time =      0 sec.
*********************************************************************************************************************************

This happends when I try to Verfy or get device Id.

Can someone help me ?

 

Krešimir Popović
5.6.2010.jpg
0 Kudos
10 Replies
Visitor kresimir
Visitor
18,577 Views
Registered: ‎06-03-2010

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

Hello,

 

just to add also:

 

"ERROR:iMPACT - A problem may exist in the hardware configuration. Check that the cable, scan chain, and power connections are intact, that the specified scan chain configuration matches the actual hardware, and that the power supply is adequate and delivering the correct voltage."

 

This also happends during IMPACT usage.

Krešimir Popović
0 Kudos
Visitor kresimir
Visitor
18,570 Views
Registered: ‎06-03-2010

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

Is

 

XILINX XC2C32A
VQG44AMS072
A3079146A
6I

 

a valid part marking. Is this authentic Xilinx device ?

Krešimir Popović
0 Kudos
Advisor eilert
Advisor
18,543 Views
Registered: ‎08-14-2007

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

Hi Krešimir,

it's hard to say anything useful, because basically everything looks good, but still depends on your actual physical setup.

You surely have checked your connections several times, but how about signal integrity? Are there long wires?

How about the soldering and the PCB?

 

Do you have an oscilloscope, so you can check the signals for disturbances (noise, reflections, etc.)

Is your  power supply noise and spike free? Sometimes other parts can corrupt the power by switching high loads.

 

Have a nice synthesis

  Eilert

 

 

0 Kudos
Visitor kresimir
Visitor
18,542 Views
Registered: ‎06-03-2010

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

Hello,

 

a) I forgot to mention that VCC, VCCAUX, VCCIO1, VCCIO2 were connected to the same power 1.8V.

Multimeter showed 1.77 - 1.8V.

 

b) 3 GND pins on CPLD were grounded.

 

c) All other pins IO, global clock,... were not grounded. They are NC (not connected).

 

I don't have osciloscop.

 

ps. Is my CPLD orginal or "fake" ? Can you check its numbers which I provided?

       Can you recommend somethig regarding configuration scheme ?

       How much current is normal to be used by this scheme ? 100 mA, 50 mA, ...?

Krešimir Popović
0 Kudos
Xilinx Employee
Xilinx Employee
18,519 Views
Registered: ‎07-30-2007

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

I looked up your lot code, and everything appears proper. From a part marking perspective, it appears as if it is a 'real' device.

 

Did you assign the device in iMPACT, or did iMPACT auto-detect the device when initializing the JTAG chain?

 

I would check the device pins very closely to see if they were soldered on properly and that there is no solder bridging between pins. 

 

/Arthur

0 Kudos
Visitor kresimir
Visitor
18,510 Views
Registered: ‎06-03-2010

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

Hello,

 

iIMPACT couldn't init JTAG chain when I executed "Initialize chain". When try to initialize it I get:

 

"ERROR:iMPACT - A problem may exist in the hardware configuration. Check that the cable, scan chain, and power connections are intact, that the specified scan chain configuration matches the actual hardware, and that the power supply is adequate and delivering the correct voltage."

 

When I assign device manually (*.jed file --> Add Xilinx Device) then I get:


INFO:iMPACT - Current time: uto 8. lip 22:55:09 2010
// *** BATCH CMD : Verify -p 1
PROGRESS_START - Starting Operation.
INFO:iMPACT:583 - '1': The idcode read from the device does not match the idcode in the bsdl File.
INFO:iMPACT:1578 - '1':  Device IDCODE :        00001111111111111000111111111111
INFO:iMPACT:1579 - '1': Expected IDCODE:    00000110111000011000000010010011

PROGRESS_END - End Operation.
Elapsed time =      0 sec.

 

We checked again pin connections. More then three times. No neighbor pins were connected. I will send you the picture of connections so you can see how it looks.

 

Krešimir Popović
0 Kudos
Xilinx Employee
Xilinx Employee
18,491 Views
Registered: ‎07-30-2007

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

You will need to be able to initialize the chain.  It looks like this is failing with all 1's being returned.  This typically due to the device not being in a shift state.  Check the TCK signal for glitches at the devcie. 

 

Also you can reference the following: http://www.xilinx.com/support/answers/11857.htm

 

Cheers,

Greg

0 Kudos
Highlighted
Newbie shiju
Newbie
14,009 Views
Registered: ‎10-17-2013

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

hi,  im also facing same problem now ......... got any solution

 

Shiju

 

Tags (1)
0 Kudos
Visitor castillo.leo
Visitor
6,516 Views
Registered: ‎08-12-2015

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

hi,  im also facing same problem now

 

GUI --- Auto connect to cable...
INFO:iMPACT - Digilent Plugin: Plugin Version: 2.4.3
INFO:iMPACT - Digilent Plugin: no JTAG device was found.
AutoDetecting cable. Please wait.
*** WARNING ***: When port is set to auto detect mode, cable speed is set to default 6 MHz regardless of explicit arguments supplied for setting the baud rates
PROGRESS_START - Starting Operation.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Driver file xusb_emb.sys found.
Driver version: src=1029, dest=1029.
Driver windrvr6.sys version = 10.2.1.0. WinDriver v10.21 Jungo (c) 1997 - 2010 Build Date: Aug 31 2010 x86_64 64bit SYS 14:14:44, version = 1021.
Cable PID = 0008.
Max current requested during enumeration is 74 mA.
Type = 0x0004.
Cable Type = 3, Revision = 0.
Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 1303.
File version of C:/Xilinx/14.3/ISE_DS/ISE/data/xusb_xlp.hex = 1303.
Firmware hex file version = 1303.
PLD file version = 0012h.
PLD version = 0012h.
PROGRESS_END - End Operation.
Elapsed time = 0 sec.
Type = 0x0004.
ESN device is not available for this cable.
Attempting to identify devices in the boundary-scan chain configuration...
INFO:iMPACT - Current time: 13/08/2015 15:47:43
PROGRESS_START - Starting Operation.
Identifying chain contents...'0': : Manufacturer's ID = Unknown
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
INFO:iMPACT:1588 - '1':The part does not appear to be Xilinx Part.
'1': : Manufacturer's ID =Unknown , Version : 5
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
INFO:iMPACT:1588 - '2':The part does not appear to be Xilinx Part.
'2': : Manufacturer's ID =Unknown , Version : 15
INFO:iMPACT:501 - '1': Added Device UNKNOWN successfully.
----------------------------------------------------------------------
----------------------------------------------------------------------
done.
PROGRESS_END - End Operation.
Elapsed time = 1 sec.

0 Kudos
Visitor castillo.leo
Visitor
2,074 Views
Registered: ‎08-12-2015

Re: Xilinx CoolRunner II CPLD configuration issues via JTAG - it won't work!

hi,

I have same problem and use this programmer 

 

https://www.digilentinc.com/Products/Detail.cfm?NavPath=2,395,716&Prod=XUP-USB-JTAG

 

thanks

Tags (1)
0 Kudos