05-06-2014 01:57 PM
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":
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?
05-06-2014 05:58 PM
05-06-2014 07:03 PM
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
05-06-2014 11:01 PM
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
05-06-2014 11:02 PM
Hi,
You can also directly run the above wdreg commands in the Xilinx command prompt.
Go to the directory
cd C:/Xilinx/14.7/ISE_DS/ISE/bin/nt64
and type the above commands
05-07-2014 02:32 PM
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:
But now I have another problem - when I try to selelect this device in IMPACT, no device is found:
At the same time, the console report shows that the driver is present (below), and the device manager says that device is connected (above):
Any ideas of what's the problem there?
05-07-2014 02:48 PM
One more thing to mention: the USB ports on my motherborad are USB3.0, it it matters.
05-08-2014 05:18 AM
platform usb cables are not tested with usb3.0, check the following datasheet
http://www.xilinx.com/support/documentation/data_sheets/ds593.pdf
--Krishna
05-08-2014 06:12 AM
@ Krishna Well, I connected it to my laptop with USB2, and the problem remains: windows recognizes it, but the IMPACT can not find it.
05-08-2014 06:20 AM
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
05-08-2014 06:50 AM
05-08-2014 08:05 AM
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
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.
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.
05-08-2014 08:47 AM
@athandr, thank you for trying to help. No luck so far. I did it with the cable unplugged. Here's the console screenshot:
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.
05-08-2014 09:03 AM
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.
05-08-2014 09:29 AM
Hi,
Check Pg 2 for detailed information on DLC9G http://www.xilinx.com/support/documentation/data_sheets/ds300.pdf
05-08-2014 09:32 AM
05-08-2014 09:54 AM
@ athandr Yes, I've seen that page before. Do you know it Digilent JTAG SH2 cable will program an Xilinx CPLDs?
05-08-2014 12:28 PM
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.
07-30-2014 01:20 AM
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.