[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #30559] Ft232 bit-bang support
From: |
Roger Wolff |
Subject: |
[avrdude-dev] [bug #30559] Ft232 bit-bang support |
Date: |
Thu, 12 Jan 2012 13:30:49 +0000 |
User-agent: |
Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:9.0.1) Gecko/20100101 Firefox/9.0.1 |
Follow-up Comment #3, bug #30559 (project avrdude):
Dear avrdude maintainers,
I'm going to attach a patch that uses the FT2xxR synchronous bitbang modes to
program the AVR chips. This can be done QUITE fast. I got over 2k/sec
programming+verifying yesterday. I don't understand what's changed since
yesterday, but I only get just below 2k/sec today. :-( (this means over
4k/sec programming only).
I THINK this throughput can be increased even further but I haven't been able
to get this to work just yet.
Previous versions of this "patch" relied on the non-free ftd2xx library from
FTDI. This one works with libftdi.
I am not able to test it under windows.
The reads from the device have to be asynchronous under Linux. I therefore had
to add a dependency on pthreads.
Otherwise, it seems a deadlock would develop: while sending a datablock to the
FTDI, it needs to return the synchronous "return data". When the application
hasn't issued the read yet, the kernel will prevent the device from sending
the data, and then when the buffers in the ft2xxr fill up, it will also stop
accepting data, blocking the write....
I have found that there is also a new avrftdi programmer in the current
release. This programmer works for ft2232(h) chips and refuses to work for the
ft232r that I have here.
(some) Arduino users will be able to download their sketches 4-10 times faster
with this patch. :-)
(file #24806)
_______________________________________________________
Additional Item Attachment:
File name: bw_ft245r.patch Size:55 KB
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?30559>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [avrdude-dev] [bug #30559] Ft232 bit-bang support,
Roger Wolff <=
- [avrdude-dev] [bug #30559] Ft232 bit-bang support, Rene Liebscher, 2012/01/12
- [avrdude-dev] [bug #30559] Ft232 bit-bang support, Roger Wolff, 2012/01/12
- [avrdude-dev] [bug #30559] Ft232 bit-bang support, Rene Liebscher, 2012/01/13
- [avrdude-dev] [bug #30559] Ft232 bit-bang support, Roger Wolff, 2012/01/16
- [avrdude-dev] [bug #30559] Ft232 bit-bang support, Rene Liebscher, 2012/01/16
- Re: [avrdude-dev] [bug #30559] Ft232 bit-bang support, David Harris, 2012/01/17
- Re: [avrdude-dev] [bug #30559] Ft232 bit-bang support, René Liebscher, 2012/01/17
- Re: [avrdude-dev] [bug #30559] Ft232 bit-bang support, René Liebscher, 2012/01/17
- Re: [avrdude-dev] [bug #30559] Ft232 bit-bang support, Rogier Wolff, 2012/01/17
- [avrdude-dev] [bug #30559] Ft232 bit-bang support, Roger Wolff, 2012/01/20