>>>>> "Graeme" == Graeme Woollett <g.woollett@xxxxxxxxxx> writes:
Graeme> A couple of years ago someone on this list had a problem similar
Graeme> to mine. There was no reply to it.
Graeme> code-
Graeme> if (ftdi_usb_open(&ftdic, 0x0403, 0x6010) < 0) ftdi_fatal
Graeme> (&ftdic, "Can't open ftdi 2232HL"); else printf("Found FT2232HL
Graeme> Chip\n");
Graeme> if (ftdi_set_bitmode(&ftdic, 0xFF, BITMODE_SYNCFF) < 0)
Graeme> ftdi_fatal (&ftdic, "Can't enable 245 Sync FIFO mode");
Graeme> The code finds the FT2232HL chip puts it successfully into
Graeme> synchronous 245 mode - the 60 Mhz clock is present. The FT2232
Graeme> is connected to a spartan 6 fpga. I can read from it data that
Graeme> the PC has sent, the #RXF pin is fine.
Graeme> But I can't write anything from the FPGA to the FT2232HL because
Graeme> #TXE is stuck high and only goes low after a reset.
Graeme> Both hardware ports in the EEPROM are set to 245 mode.
Graeme> I've tried using FTDI DXX as per their app note and libusb, the
Graeme> result is the same.
Is /RD inavtive (high)?
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|