>>>>> "Uwe" == Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:
>>>>> "Johannes" == Johannes D <j_deutsch@xxxxxx> writes:
Johannes> Hi, first of all, i hope i'm at the right place to get my
Johannes> semi-geek problem solved.
Johannes> I just wanted to reconfigure the cbus pins of my UM232R
Johannes> (FT232RL). So i tried to get this done with ftdi_eeprom.
Johannes> But now, after i tried it for a while, the current eeprom
Johannes> looks like this
Johannes> libftdi-1.0/examples# ./eeprom Chip type 3 ftdi_eeprom_size:
Johannes> 128 0x000: 00 00 03 04 01 60 00 02 80 00 00 00 00 00 94 0a
Uwe> ^^^^^ You somehow
Uwe> managed to write a the EEPROM content for at old FT232 style
Uwe> device. How did you do it? Did you poke with ftdi->eeprom->xx
Uwe> direct?
Proably Johannes called ftdi_eeprom_initdefaults before the actual device
was opened. In that case, ftdi_eeprom_initdefaults initilizes the EEPROM
content with the default FT232 content, upsetting his FT232R device
In another mail I will send a patch that would inhibit it.
ftdi_eeprom_initdefaults only works, if the device is already open and sets
some marker. ftdi_write_eeprom only works if that marker is set. Closing the
device resets the marker.
Any comments?
Bye
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
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 libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|