Joerg Wunsch 2015a874e0 patch #9328: ft245r.c: add TPI support (patches 5-7)
Submitted by David Mosberger-Tang:
* ft245r.c: Remove the reader thread (also removes
patch #9079)

Eliminate separate reader thread by tracking how many bytes are queued
in the FTDI chip's RX FIFO and reading those bytes when it fills up
(since in synchronous bitbang mode, the chip won't send any more bytes
until it has space in the RX FIFO).  This reduces TPI programming time
by another 33%.

Since write data is now queued as much as possible, we need flush this
queued data (a) before reading and (b) before sleeping.  For the
latter case, a new helper function ft245r_usleep() is introduced.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1487 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-25 09:10:30 +00:00
2021-11-06 22:13:51 +00:00
2021-11-12 22:02:29 +00:00
2005-11-29 20:28:51 +00:00
2021-11-07 16:00:16 +00:00
2021-11-14 13:17:44 +00:00
2018-03-15 22:03:36 +00:00
2011-08-16 10:37:09 +00:00
2021-11-06 22:34:29 +00:00
2003-03-12 01:25:43 +00:00
2003-03-12 01:25:43 +00:00
2009-02-05 16:17:57 +00:00
2010-01-08 10:41:27 +00:00
2013-01-02 10:12:41 +00:00
2014-01-15 13:16:34 +00:00
2016-02-09 14:23:03 +00:00
2017-03-05 18:21:08 +00:00
2018-01-09 23:17:54 +00:00
2019-01-05 22:59:06 +00:00
2020-03-11 09:42:02 +00:00
2021-06-27 20:24:30 +00:00
2007-01-24 22:43:46 +00:00
2007-01-24 22:43:46 +00:00
2020-09-16 21:31:19 +00:00
2021-11-06 22:13:51 +00:00
2020-09-16 21:31:19 +00:00
2021-11-12 22:02:29 +00:00
2016-03-28 17:29:30 +00:00
2021-11-12 22:02:29 +00:00
2014-06-13 20:07:40 +00:00
2014-06-17 20:08:28 +00:00
2014-06-13 20:07:40 +00:00
2017-03-05 18:23:18 +00:00
2018-01-14 23:12:06 +00:00
2018-01-17 07:39:29 +00:00
2018-03-15 22:03:36 +00:00
2018-03-15 22:03:36 +00:00
2018-03-15 22:03:36 +00:00
2021-06-27 20:42:06 +00:00
2021-11-11 20:59:25 +00:00
2021-11-12 22:11:49 +00:00
2013-05-06 12:49:26 +00:00
2021-11-07 20:10:24 +00:00
2021-11-06 22:13:51 +00:00
2020-09-16 21:31:19 +00:00

See the documentation file for the details.

The latest version of AVRDUDE is always available here:

  http://savannah.nongnu.org/projects/avrdude


Important environment variables for ./configure:
================================================

CPPFLAGS: C preprocessor flags (*not* "C++")

This is the place to put additional (non-standard) -I options into.
For example, if your Windows system has LibUSB-Win32 installed into
\\WINDOWS\ProgramFiles\LibUSB-Win32, use

CPPFLAGS=-I/WINDOWS/ProgramFiles/LibUSB-Win32/include

to tell configure where to search for the header files.  (The use of
forward slashes rather than backslashes can often simplify things.
Note that the Windows system services internally treat both the same.
It's only cmd.exe which requires backslashes as the directory
separator.)

LDFLAGS: Linker options

This is the place to make additional library locations known to the
linker.  To continue the above example, use

LDFLAGS=-L/WINDOWS/ProgramFiles/LibUSB-Win32/lib/gcc

to make the linker search for "libusb.a" in that directory.


Linux users: make sure the header files are installed
=====================================================

While many Linux distributions install the libraries needed by AVRDUDE
(libusb, libelf) by default, they leave out the corresponding header
files.  Consequently, the configure script won't find them, so these
libraries could not be used.

Usually, the packages with the header files (and static libraries) are
derived from the regular package name by appending "-devel".  Thus,
make sure you have "libusb-devel" and "libelf-devel" installed before
running the configure script.  (Same goes for libftdi.)
Languages
HTML 67.7%
C 25.4%
JavaScript 4%
Roff 0.6%
Yacc 0.5%
Other 1.6%