>>>>> "Venkatesh" == Venkatesh Shukla <[email protected]> 
>>>>> writes:

    Venkatesh> Hello guys Sorry for bugging you. But I am facing a problem
    Venkatesh> while using libftdi.

    Venkatesh> I am trying to read data from a divecomputer Heinrichs
    Venkatesh> Weikamp OSTC3.  It has FT232RL for interfacing.

    Venkatesh> I am using libftdi to achieve that.  The steps to read the
    Venkatesh> data are

    Venkatesh>  1. Initialise the device 2. Send INIT byte (0xBB) to the
    Venkatesh> device.  3. The device responds with an echo of the command
    Venkatesh> (0xBB).  4. The device then sends a READY byte (0x4D). The
    Venkatesh> device is now ready for the next step.  5. Send the HEADER
    Venkatesh> (0x61) byte to the device.  6. In response to this, it first
    Venkatesh> sends an echo (0x61) back to the device.  7. Then it sends
    Venkatesh> the device headers. This is the data I need. It should be of
    Venkatesh> 65536 bytes. But I am reading only around 65446 bytes. It is
    Venkatesh> a serious error.

    Venkatesh> I am new to libftdi and ftdi chips in general. What am I
    Venkatesh> missing? How can the above stated problem be resolved?

Did you try to do the same from /dev/ttyUSBx? Does the problem happen there
too?

If you need pure UART functionallity from the FT device, I think the kernel
driver is the best way.

Bye

-- 
Uwe Bonnes                [email protected]

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 [email protected]   

Reply via email to