Reply
Contributor
Posts: 11
Registered: ‎09-30-2013

iMPACT:2246 JTAG problem

Hi everyone, I am working with the Spartan-6 Lx150T development board, I got a problem when I tried to program the board with iMPACT and a platform USB cable 2. Hear is the output of the iMPACT when I chose initialize chain:

 

Welcome to iMPACT
iMPACT Version: 10.1.03
// *** 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 (Parallel Port - LPT1).
Checking cable driver.
 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.
 LPT base address = 0378h.
 ECP base address = 0778h.
Cable connection failed.
Connecting to cable (Parallel Port - LPT2).
Checking cable driver.
 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.
Connecting to cable (Parallel Port - LPT3).
Checking cable driver.
 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.
Connecting to cable (Parallel Port - LPT4).
Checking cable driver.
 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.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
 Driver file xusbdfwu.sys found.
 Driver version: src=1027, dest=1027.
 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 300 mA.
Type = 0x0005.
write (count, cmdBuffer, dataBuffer) failed C0000004.
 Cable Type = 3, Revision = 0.
 Setting cable speed to 6 MHz.
Cable connection established.
Firmware version = 2301.
File version of C:/Xilinx/10.1/ISE/data/xusb_xp2.hex = 2401.
Firmware hex file version = 2401.
Downloading C:/Xilinx/10.1/ISE/data/xusb_xp2.hex.
Downloaded firmware version = 2401.
PLD file version = 200Dh.
 PLD version = 200Dh.
PROGRESS_END - End Operation.
Elapsed time =      2 sec.
Attempting to identify devices in the boundary-scan chain configuration...// *** BATCH CMD : Identify
ERROR:iMPACT:2246 - A reference voltage has not been detected on the ribbon cable
    interface to the target system ( pin 2 ).  Check that power is applied
     to the target system and that the ribbon cable is properly seated at
     both ends.  The status LED on Platform Cable USB will be GREEN if target
     voltage is in the proper range and applied to the correct pin.

 


iMPACT can detect the platform cable usb II at the right bottom of iMPACT, iMPACT can't detect the JTAG of the development board for some reason. And I got the same error when I turn on or turn off the power. Here is some information usefull:

platform cable usb II: model DLC10

iMPACT: release version: 10.1.03(nt) application version: K.39

development board: spartan-6 LX150T

I would appreciate for any help

 

 

 

 

Avnet Employee (Star Contributor)
Posts: 511
Registered: ‎05-05-2009

Re: iMPACT:2246 JTAG problem

1) Is Status LED on the USB cable Green?

2) Do you see the USB cable in the Windows Device Manager?

 

Make sure USB cable is properly plugged into the PC4 header on the board.

Contributor
Posts: 11
Registered: ‎09-30-2013

Re: iMPACT:2246 JTAG problem

1) the status LED is green before I chose initialize chaine, after that I got the error in my first message, and the stadus LED changed to orange.

2) Yes I can find my USB cable in the Windows Device Manager.

 

I think there is maybe a probleme with the development board, for exemple the JTAG of the development board isn't configured properly, or maybe thers is a cold solder somewhere in the board cause the JTAG isn't powred properly, because even I switched on the power, the cable usb 2 can not detect the JTAG and give the error ERROR:iMPACT:2246 - A reference voltage has not been detected on the ribbon cable interface to the target system ( pin 2 ).  . And I think the others parts except the JTAG work fine, because thers are many green LED on the board.

 

Thanks a lot

 

Avnet Employee (Star Contributor)
Posts: 511
Registered: ‎05-05-2009

Re: iMPACT:2246 JTAG problem

Do you have a jumper on JP4 pins 1-2? If you do and the board is still not working, I suggest contacting your local Avnet FAE so that he/she can take a look at the board.

Contributor
Posts: 11
Registered: ‎09-30-2013

Re: iMPACT:2246 JTAG problem

yes,  I have a jumper on JP4 pin1-pin2, at least I think so, because JP4 has 3 pins, I don't know which one is which, but I tried all the possibilities. near to JP4 is J7, I haven't tried J7, should I? 

 

Thanks 

Avnet Employee (Star Contributor)
Posts: 511
Registered: ‎05-05-2009

Re: iMPACT:2246 JTAG problem

You do not need a jumper on J7. Please contact your local Avnet FAE to look at the board.

Contributor
Posts: 11
Registered: ‎09-30-2013

Re: iMPACT:2246 JTAG problem

Thank you very much

Contributor
Posts: 11
Registered: ‎09-30-2013

Re: iMPACT:2246 JTAG problem

Hi

 

I have a bad news, I changed another board, at the beginningm it workedm, and I tried to program the board with a file .bit of someone else, her program is to process a photo, then send it to RS232, but her program didn't work, so I thought may be I should changed another cable RS232, It was may be the problem of the cable, but after I changed the cable, and I switch on the board, the board was dead, imPACT can't detect the board, I can't program the board with jTAG, and it's exectly the same error messag with the last board. please help me. 

 


I have some guess but I am not sure if they are right or no:

 

1. May be there is a order to connect the cables to the board, for exemple I cann't connect or disconnect the jTAG when the power is switched on, may be not just jTAG, the same for RS232.

 

2. May there is a self-locking mechanism on the board, when the board it detect a tension too high(may be change too fast), it will lock himself.

 

3. In the error message, A reference voltage has not been detected on the ribbon cable interface to the target system ( pin 2).  Check that power is applied to the target system and that the ribbon cable is properly seated at both ends. so the cable USB II cann't detect a tension on pin2, so iMPACT think that I don't power the board, but I do. And I have a question, where is the pin 2, it is on the board somewhere?

 

4. Can I reset the board to factory setting?

 

Thanks a lot.

 

Contributor
Posts: 11
Registered: ‎09-30-2013

Re: iMPACT:2246 JTAG problem

And I see the manual of this board(spartan6 lx150t), I found that there are different configuration mode, 

Upon power-up the FPGA will be enabled in a configuration mode defined by the jumpers on ―JP2. The default configuration
mode is Master Select Map mode when no jumpers are installed which will allow the FPGA to be configured from the Platform
Flash. JTAG device configuration can occur at any time regardless of the mode jumper‘s configuration. The following table
shows the various configuration modes that are supported:


So is that means I can program the FPGA with another mode not jTAG? can you please tell me how to use the other configuration mode?

 

Thanks  

Contributor
Posts: 11
Registered: ‎09-30-2013

Re: iMPACT:2246 JTAG problem

And I found the pin2, my teacher just measured the tension of pin2, and it always changed, so I know why iMACT cann't detect the jTAG, because J9 isn't powered properly, but why? I found a file pdf here:https://www.em.avnet.com/Support%20And%20Downloads/xlx_s6_lx150t_dev-sch-revd090810.pdf(Spartan 6 LX150T

 

Development BoardREVISION DI found J9 on 5th page left bottom, can you read that pdf file please? J9 is powered by 2.5V

 

through a diode named D25, and 2.5V is from two parallel capacitances(C378, C388), so can I say that one of these

 

3 components(D25, C378, C388) may be all of them are dead? what should I do?