Iapparently have done something really wrong, and there must be a simple solution. I've a USB device that I'm trying to talk to that uses a FTDI USB to RS232 converter. They provide a driver library (ftd2xx.dll) and header file (ftd2xx.h) as a programming interface. I created a simple project in QtCreator that, to this point does nothing. It compiles and runs fine. However, as soon as I include ftd2xx.h, I get a host of errors. For example:
This isn't a "nice" hang -- even a program KILL will not shut it down. The only way to get out of this is a hard reset of the machine since windows will not do a "safe" shut-down with active processes.
1) the FTDI chip itself is configured in async-bit-bash mode. According to the FTDI documentation, in this mode, the FTDI chip samples its parallel port pins (regardless of the direction (i/o) configuration), and writes the values to an internal buffer on each USB clock.
2) I was not using non-blocking reads (tcl channel configuration -blocking 0), because in this application, the USB is "write only". (IE, each bit of the port is configured to an output, and each output drives an individual logic level to the board)
Indeed, readhandler is invoked quite often, and $junk sometimes has up to 10K bytes of data. After unplugging the USB, a subsequent "flush $filehandle" error is caught, allowing the program to shut down in an orderly fashion.
I have had problems running this software in simulator mode. First, when I launch the program, it can't find the file "ftd2xx.dll." I can't find the file on my drive, so I choose the option "ignore." The GUI subsequently launches, but it not fully functional. If I go to the low level tab, I can't do the following:
The FTDI dll file is not included with the DAC38J82EVM GUI, but is included with the High Speed Data Converter Pro software installer. Since this software is usually required with any of our DAC or ADC EVMs we only include it with that package.
Please try disconnecting the DAC EVM USB cable and installing (or re-installing) the High Speed Data Converter Pro software (run the installer as Administrator if possible). Then try re-connecting the DAC EVM to the PC, that should enable the drivers to be installed and eliminate the error you are encountering.
Errors related to ftd2xx.dll can arise for a few different different reasons. For instance, a faulty application, ftd2xx.dll has been deleted or misplaced, corrupted by malicious software present on your PC or a damaged Windows registry.
In the vast majority of cases, the solution is to properly reinstall ftd2xx.dll on your PC, to the Windows system folder. Alternatively, some programs, notably PC games, require that the DLL file is placed in the game/application installation folder.
Do you have information that we do not?
Did our advice help or did we miss something?
Our Forum is where you can get help from both qualified tech specialists and the community at large. Sign up, post your questions, and get updates straight to your inbox.
Sometimes the cable drivers can be a bit frustrating to get going (especially with such a big program like Vivado). I know you said you installed the cable drivers, but I would recommend trying to install them again (without having to reinstall Vivado) via this Xilinx answer record. If that doesn't seem to resolve the issue, I would also recommend checking out this thread on our Forum where all of the major troubleshooting steps for fixing cable driver issues/no hardware target detected issues are listed.
What me also puzzles is the fact that I cannot see any reaction on the Windows device manager when I plug/unplug the USB cable.
In my opinion, by plugging the USB cable one should always see a new device appearing in the device manager.
As this does not happen, I assume that my FTDI chip has a problem.
I heard some rumours that new Windows FTDI drivers could destroy chips by overwriting some vital EEprom settings.
But as to your question--does the FTDI software go bad on its own? Very unlikely. But, please, allow me to caution you: DON'T TRY TO REPROGRAM OR REFLASH THE FTDI. There have been lots of folks posting here that have done that and bricked their board as a result. (Okay, not quite, there is some special/secret Digilent sauce that can be used to rescue it, but ... you'd like to avoid that if you can.)
I know I have had problems getting the cable drivers loaded on a Linux machine. It turns out I needed to run the installer as an administrator. However, that's not your problem since you are on a Windows machine. I'll let others finish answering your question for you, but you might wish to check the other problems mentioned above.
If you have tried out other cables and a different port (as @D@n nicely reiterated) and it's not going for you, but the power light is on, then I think the next step might be to repair the FTDI chip. But, I'm not an expert in debugging these sorts of things (nor do I have the repair tool) so I'll tag @Bianca who has a lot more experience in this to help you further.
ad 2. I use - please don't laugh - the cable from my Playstation 4 controller. In order to check that this cable is a full USB cable and not only a power supply, I connected the playstation controller with this cable to the USB port of my windows machine and observed the device manager. He recognized the new USB device. I assume that this proves that the USB cable is ok.
ad 3. I plugged my old Digilent Spartan 3A board on this USB port and watched the windows device manager. The USB chip was recognized and shown on the device manager. I would say this proves that the port is ok.
Thank you for humoring me, and for completing the record! No, I didn't laugh at the playstation reference--it told you what you needed to know, and it's convincing enough to me. I think at this point, though, that I'll back out then and wait for @Bianca to step in and help--since it's not something I personally know how to fix.
I have been following this thread as I got the same issue posted here by Rainer. I tried to flash FTDI chip with "MProg/FT_Prog" in order to enable UART fast mode but something went wrong and it seems the FTDI bricked. I am using Zybo board too.
Requires Python 3.8 minimum. Please ensure you have FTDI drivers installed oravailable where the linker looks for shared libraries (e.g., PATH on windows,LD_LIBRARY_PATH or standard library directories on Linux)
MiniTool OEM program enable partners like hardware / software vendors and relative technical service providers to embed MiniTool software with their own products to add value to their products or services and expand their market.
Have you ever encountered the ftd2xx.dll not found or missing errors? This kind of error, triggered by various reasons, is troublesome to handle. So, what is ftd2xx.dll? And how to deal with the ftd2xx.dll missing error? In this article on MiniTool Website, the details will be presented.
What is ftd2xx.dll? The ftd2xx.dll file, known as FTD2XX Dynamic Link Library, is an essential system file of the Windows OS. Usually, it is closely related to FTDIChip CDM Drivers to make the Windows programs work well.
If your ftd2xx.dll file is missing or corrupted, some programs will fail to work or even, make the system crashes. To prevent further results triggered by the ftd2xx.dll missing error, we highly recommend you back up your system in advance.
There are many reasons that can trigger the ftd2xx.dll errors. For example, you may mistakenly delete the ftd2xx.dll file and you can try to recover it from recycle bin; if the recycle bin has been cleared, you may go to re-download the file from its original, legitimate source.
After all of these descriptions of ftd2xx.dll, the methods to get rid of the ftd2xx.dll not found or missing errors have been clarified. You can choose among them to find the one tailored to your situation and troubleshoot the issue. Hope the article is useful for you.
You can see from the Process Monitor logfile is that sa_api.dll is loaded and then ftd2xx.dll is loaded. Loadlibrary returns NULL and a call to GetLastError returns 126 which means the module was not found.
I am running 1909 and have run 1903 in the past, both OS run the sa_api just fine. Does Spike work on these newer computer? If yes, it is probably because the VS2012 redistributables are shipped in the Spike directory.
To quickly resolve your problem, we recommend download and use ftd2xx.dll Fix Tool. If you have technical experience and you want to install a DLL file manually, please select your version of Windows and download ftd2xx.dll, after that copy it to the appropriate place using the instruction below, it will fix dll errors.
Some applications or games may need this file to work properly. If ftd2xx.dll is missing, whenever you start the application/game you may experience various kinds of errors. To fix those errors, please read the Recommended Solution below.
I'm sorry if this is a real dumb problem but I'm very knew to the electronic world and I'm having trouble installing UrJTAG to use with my brand new ARM-USB-OCD-H JTAG device. I've followed directions on Olimex's website and got drivers installed. I'm successfully able to use OpenOCD to talk to a Marvel 88W8510 through the ARM-USB-OCD-H JTAG device and Device Manager doesn't show any problems. However, after I install UrJTAG, when I try running it, I get an error message about how libusb0.dll and FTD2XX.dll is missing and that I should reinstall the program to fix the problem.
I originally used Zadig to install WinUSB (libusb) for my ARM-USB-OCD-H JTAG device. I was reading the documentation for UrJTAG and seen that it needed libusb-win32 so I started Zadig back up and installed them as well. I don't know if this will cause problems or not though. I still get the error message saying,
"The program can't start because libusb0.dll is missing from your computer. Try reinstalling the program to fix this problem."
I think I'm making progress. I believe I need to compile UrJTAG from source. I've downloaded the source for libusb-1.0.9 and successfully compiled and installed using the /mingw64 prefix (ie, /mingw64/lib is where the libraries are, /mingw64/include is where the headers are, /mingw64/lib/pkgconfig is where the pkgconfig files are, etc).
3a8082e126