Difference between revisions of "Ftdi"

From ThorstensHome
Jump to: navigation, search
Line 2: Line 2:
  
 
To do this
 
To do this
* download http://www.ftdichip.com/Drivers/D2XX.htm
+
* download the ftd2xx library http://www.ftdichip.com/Drivers/D2XX.htm
 
* download http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c
 
* download http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c
 
* compile it using
 
* compile it using
 
  gcc -o write main.c -L/root/Downloads/release/build/x86_64/ -lftd2xx -lpthread -ldl -lrt -Wl,-rpath,/usr/local/lib
 
  gcc -o write main.c -L/root/Downloads/release/build/x86_64/ -lftd2xx -lpthread -ldl -lrt -Wl,-rpath,/usr/local/lib
 
 
= conclusion of the day =
 
Seems we need [http://svn.icmb.utexas.edu/svn/repository/trunk/zpub/sdkpub/usbkey_dlpd/macosx/d2xx/Samples/EEPROM/write/main.c this code] and [http://www.ftdichip.com/Drivers/D2XX.htm this (ftd2xx) library]
 
  
 
= See also =
 
= See also =

Revision as of 10:52, 16 December 2012

Ok for programming electronics I got myself an ftdi chip. I want to be able to invert the TX/RX/... signals so I can get some experiments working that I have on a paper.

To do this

gcc -o write main.c -L/root/Downloads/release/build/x86_64/ -lftd2xx -lpthread -ldl -lrt -Wl,-rpath,/usr/local/lib

See also