cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Anonymous
Not applicable
19,629 Views

Problem installing Platform Cable USB DLC9G driver

I just started working with FPGAs/CPLDs. Coding and simulation went well and now I wish to program a device. So, I bought the DLC9G programmer and then followed the ug344 guide for device configuration. For my Win7 x64 and ISE 14.7 I downloaded a ug344_windows.zip dirver stated on p.15, Step 5.2. After extracting the files and running the install_xusb.bat as administrator, I got the following message from the console window "cannot run x86 build of this utility on x64 platform":

xilinxerror.jpg

The folder of the driver contains both [nt] and [nt64] folders, so I assume that the driver for x64 is present. Any one has an idea of what's the problem with the driver installation?

0 Kudos
Reply
18 Replies
vijayak
Xilinx Employee
Xilinx Employee
19,572 Views
Registered: ‎10-24-2013

Did you retry downloading the drivers again? Make sure you disconnect all USB cables before you install these drivers.
Thanks,Vijay
--------------------------------------------------------------------------------------------
Please mark the post as an answer "Accept as solution" in case it helped resolve your query.
Give kudos in case a post in case it guided to the solution.
vuppala
Xilinx Employee
Xilinx Employee
19,570 Views
Registered: ‎04-16-2012

Hi,

 

Try out these steps to install drivers: 

 

1. extract the .zip folder

2. Open command prompt using administrator privileges

3. Navigate to <extracted_directory>\install_xusb\nt64

4. run the below commands:

 

wdreg -inf uninstall.inf -silent -log uninstall.log uninstall
wdreg -inf xusbdrvr.inf -log install_xusb.log install

 

Note: Make sure there are no spaces in the directory path.

 

Thanks,

Vinay

--------------------------------------------------------------------------------------------
Have you tried typing your question in Google? If not you should before posting. Also, MARK this is as an answer in case it helped resolve your query/issue.Give kudos to the post that helped you to find the solution.
kkn
Moderator
Moderator
19,549 Views
Registered: ‎01-15-2008

can you attach the Xinfo System Checker file? To get this file, go to the Start menu => Programs => Xilinx Design Tools => ISE Design Suite 14.7 => Accessories => Xinfo System Checker. Select File => Export, name and save the .txt file. 

 

--Krishna

athandr
Xilinx Employee
Xilinx Employee
19,549 Views
Registered: ‎07-31-2012

Hi,

 

You can also directly run the above wdreg commands in the Xilinx command prompt.

 

command.jpg

 

Go to the directory

 

cd C:/Xilinx/14.7/ISE_DS/ISE/bin/nt64 

 

and type the above commands

 

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
Anonymous
Not applicable
19,528 Views

Ok. When fighting this problem so much, I tried a lot of different things, icluding installing/uninstalling driver via console cmd.exe, I even reinstalled the ISE pack (which installs driver cabels with it) - but with no success. Someone mentioned to try connecting the device to the USB port that is actually located on the motherboard, so I did it and the device is finally recognized, but no status light is let on the device. Here's the screenshot of my device matager:

 

usberror4.jpg

 

 

But now I have another problem - when I try to selelect this device in IMPACT, no device is found:

 

usberror5.jpg

 

At the same time, the console report shows that the driver is present (below), and the device manager says that device is connected (above):

 

usberror7.jpg

 

Any ideas of what's the problem there?

0 Kudos
Reply
Anonymous
Not applicable
19,526 Views

One more thing to mention: the USB ports on my motherborad are USB3.0, it it matters.

0 Kudos
Reply
kkn
Moderator
Moderator
19,518 Views
Registered: ‎01-15-2008

platform usb cables are not tested with usb3.0, check the following datasheet

http://www.xilinx.com/support/documentation/data_sheets/ds593.pdf

 

--Krishna

 

Anonymous
Not applicable
19,516 Views

@ Krishna Well, I connected it to my laptop with USB2, and the problem remains: windows recognizes it, but the IMPACT can not find it.

0 Kudos
Reply
kkn
Moderator
Moderator
19,512 Views
Registered: ‎01-15-2008

Can you try to uninstall and reinstall the cable drivers in your laptop by following the steps

 

 (1) In a command prompt browse to your "C:\Xilinx\\ISE_DS\ISE\bin\nt64" directory on 64-bit installs or "C:\Xilinx\\ISE_DS\ISE\bin\nt" on 32-bit installs

(2) To uninstall type the command: - wdreg -compat -inf %cd%\windrvr6.inf uninstall

(3) To reinstall type the command: - wdreg -compat -inf %cd%\windrvr6.inf install

 

--Krishna

Anonymous
Not applicable
17,762 Views

That is very strange. I think I was being able to do it before, but now I can not perform the operation because: " '-wdreg' is not recognized as an internal or external command, operable program, or batch file"
0 Kudos
Reply
athandr
Xilinx Employee
Xilinx Employee
17,756 Views
Registered: ‎07-31-2012

Hi,

 

1) Go to the Xilinx Command prompt (which has the environment variables set already). Check the screenshot below on where to find the command prompt 

 

command.jpg

 

2) Go to the folder in this command prompt  cd C:/Xilinx/14.7/ISE_DS/ISE/bin/nt64 on your computer and search for "wdreg" as shown in the screenshot below. I am sure you can find it in this driectory.

 

wdreg.PNG

 

3) Now give the below commands one after another. The first one uninstalls the drivers and the 2nd one re installs them.

 

wdreg -inf uninstall.inf -silent -log uninstall.log uninstall


wdreg -inf xusbdrvr.inf -log install_xusb.log install

 


Hope this helps.

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
Anonymous
Not applicable
17,754 Views

@athandr, thank you for trying to help. No luck so far. I did it with the cable unplugged. Here's the console screenshot:

 

usberror8.jpg

 

Then, after 10 times changing the USB ports, Windows recognized it (as it did before). But when I go to IMPACT, cable set up and choose 'programming calbe usb2', the console says "WARNING:iMPACT - The cable selected is not avaliable, please select a different one."

I am trying to install ISE on the old win XP computer. Will see how that goes. So far, I am fed up with it.

0 Kudos
Reply
athandr
Xilinx Employee
Xilinx Employee
17,751 Views
Registered: ‎07-31-2012

Hi,

 

Which color does the LED on the platform USB cable glow when connected to the PC and when you attempt a Cable detection?

 

Did you try autodetect cable? Just try to initialize chain and check if it works.

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
0 Kudos
Reply
athandr
Xilinx Employee
Xilinx Employee
17,748 Views
Registered: ‎07-31-2012

Hi,

 

Check Pg 2 for detailed information on DLC9G http://www.xilinx.com/support/documentation/data_sheets/ds300.pdf

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
Anonymous
Not applicable
17,747 Views

The LED is not lit at all. Autodetect does not work, neither initializing chain. Do you know if Digilent -SH2 cable will program my CPLD? The manual does say that programs Xilinx FPGAs, but nothing is mentioned about Xilinx CPLDs.
0 Kudos
Reply
Anonymous
Not applicable
17,743 Views

@ athandr Yes, I've seen that page before. Do you know it Digilent JTAG SH2 cable will program an Xilinx CPLDs? 

0 Kudos
Reply
Anonymous
Not applicable
17,735 Views

Guys,

I greatly appreciate all your input in trying to find out what was the problem with the device. I actually gave up and started packing the device for return and noticed that USB cable and the DLC9G Programmer came in one box, but different bags. I thought, what if amazon made up this order themselves and used a crappy usb cable? Indeed, after getting my own usb cable, the red light came on right away, but the green one did not come until I provided reference voltage. Thank you, and good luck. Hope this experience will save lots of time to someone else. Keep this option in mind.

0 Kudos
Reply
jlocke8
Newbie
Newbie
17,095 Views
Registered: ‎07-30-2014

Hi I've had the exact same problem,

 

I think I fixed this problem for my computer.  In the Datasheet DS300.pdf there is a small blurb that gave me the clue. Under Pg 2, under the note it states

 

"Note: The DLC9G and legacy DLC9LP cable models draw less
than 100 mA from the host USB port. The legacy DLC9 cable
model requires 230 mA to operate in USB 2.0 Hi-Speed mode or
150 mA to operate in USB 2.0/1.1 full-speed mode. Some older
root hubs or external bus-powered hubs might restrict devices to
100 mA. The legacy DLC9 cable model does not enumerate on
hubs with the 100 mA restriction."

 

It turns out I was plugging in the programmer cable into the front of my computer which has a USB port that does not supply enough current to fully power the DLC9G, the LED was dim when plugged in, windows recognized it but iMPACT did not.  Upon pluggin the programmer to the usb port at the back of the computer, the programmer's LED was much brighter and iMPACT was able to detect it.  I'm guessing my computer has higher current USB ports in the back then they do the front.