Revision as of 12:15, 16 December 2012 by WikiSysop
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 we have to re-program the device's eeprom:
- 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
- compile it using
gcc -o write main.c -L/root/Downloads/release/build/x86_64/ -lftd2xx -lpthread -ldl -lrt -Wl,-rpath,/usr/local/lib
- remove the ftdi_sio driver
modprobe -r ftdi_sio
- disconnect all other FTDI chips
- call the program to re-write the device's eeprom:
- http://www.ftdichip.com/Support/Documents/ProgramGuides/D2XX_Programmer%27s_Guide%28FT_000071%29.pdf - good overview what the bytes in the EEPROM mean.