FTDI interface and Cochran EMC-20H

John Van Ostrand john at vanostrand.com
Mon Jun 9 15:27:49 PDT 2014


Hi All,

I recently purchased a Cochran EMC-20H which uses a FTDI USB chip to
interface with the dive computer. I'm trying to initiate a conversation
with the device using my own code to see if my understanding of the
protocol is correct. I'm not getting what I expect and I think it has to do
with my lack of understanding how the FTDI chip normally interfaces with
devices like this. Is there anyone who can help me figure out what is wrong
with the communication method?

I've tried:

cu -l /dev/ttyUSB0 -s .... -e -o and I get a stream of the same wrong
character (~).
libftdi using ftdi_write_data and ftdi_read_data and I'll get FFs some 00s
C language write/read using serial interface

I've captured a conversation using USBLyzer on Windows 7 and if my
understanding of the data is correct I know some of the protocol but I have
yet to receive anything that looks like good data using any of the methods
I've tried.

-- 
John Van Ostrand
At large on sabbatical
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libdivecomputer.org/pipermail/devel/attachments/20140609/f6275cb6/attachment.html>


More information about the devel mailing list