libftdi Archives

Subject: Re: Writing EEPROM on FT232R / FT245R

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 17 Mar 2009 21:58:53 +0100
Hi Marius,

Marius Kintel wrote:
+    /* These commands were traced while running MProg */
+    ftdi_usb_reset(ftdi);
+    ftdi_poll_modem_status(ftdi, &status);
+    ftdi_set_latency_timer(ftdi, 0x77);

ftdi_usb_reset and ftdi_poll_modem_status are unnecessary here

I suspected that, but MProg appears to send them so I was afraid deviating from my traced communication could break smth. Anyway, I'll give it a spin without those calls to verify that it works at least with my setup. I've also built myself an FT245R board now, so I can test with that chip as well.

Nice! Please let me know if I can remove the two other function calls.

Also I did another fix in the eeprom_decode code:
http://developer.intra2net.com/git/?p=libftdi;a=commitdiff;h=6335545d29051b1de8d2d482c25a3c1e2e4ff62c

Would be nice if you could verify if the code is still working for you :-)

Cheers,
Thomas

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
Current Thread