pmeerw's blog

27 May 2013

Mon, 27 May 2013

FTDI USB/serial converter EEPROM programming

FTDI makes popular USB/serial converter chips; they have a unique, readable number (think copy control) and some EEPROM configuration.

Luckily, there is a nice 3rd-party Linux program, ft232r_prog to control them:

$ ./ft232r_prog --dump
ft232r_prog: version 1.24, by Mark Lord.
       eeprom_size = 128
       vendor_id = 0x0403
       product_id = 0x6001
       manufacturer = FTDI
       product = FT232R USB UART
       serialnum = XXXXXXX
       txd_inverted = 1
       rxd_inverted = 1
       rts_inverted = 0
       cts_inverted = 0
       dtr_inverted = 0
       dsr_inverted = 0
       dcd_inverted = 0
       ri_inverted = 0
       cbus[0] = TxLED
       cbus[1] = RxLED
       cbus[2] = TxDEN
       cbus[3] = PwrEn
       cbus[4] = Sleep

I really like the feature to invert RX/TX logic levels. Came in handy to hook up an old beagleboard.

posted at: 21:03 | path: /projects | permanent link

Made with PyBlosxom