Hi, I have problems with a program using ftd2xx library, to communicate with a ftd245 chip. I hope this is the right mailing list for this question.
Problems are with both Windows and Linux.
For Windows: Compile command: gcc ftdtest.c -o ftdtest -L. -lftd2xx seems to work fine. I have ftd2xx.dll in the compile directory; this an the other dll's are also in the system32 directory.
FT_ListDevices works as expected. FT_OpenEx works as expected. FT_GetDeviceInfo too works as expected (returns correct serial number and description).
However, a repeated call to FT_GetQueueStatus (no data pushed into the device) gives after 40 or so calls unexpected available bytes (amount: 4), and after a while the program crashes.
Adding a FT_Read to catch these bytes doesn't help.
Under Linux I have similar problems (Fedora 8); I did try here to transfer bytes to the PC which works fine for a few seconds, then the program crashes.
The test program is available here:
Anyone who can give me a hint?
Rob.
--------------------------------------- This message was sent using the comp.arch.embedded web interface on