Commit Graph

1484 Commits

Author SHA1 Message Date
Brian S. Dean 6fc6dab9b5 It shouldn't be an error to have an empty configuration file. This
causes some shift-reduce conflicts, but I think they are OK.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@255 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 01:13:57 +00:00
Brian S. Dean bec6fe57d4 Print out a list of valid parts for '-p ?' and a list of valid
programmers for '-c ?'.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@254 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 00:53:49 +00:00
Eric Weddington 143e30d32c Minor Windows doc corrections.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@253 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 21:13:45 +00:00
Eric Weddington 3a20068018 Add TODO file.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@252 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 18:17:43 +00:00
Eric Weddington b7da9366e6 Add AVR ISP programmer.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@251 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 16:28:25 +00:00
Brian S. Dean 169e13589f Don't try to set extended device programming parameters if they
haven't been specified in the config file for the part.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@250 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 14:33:19 +00:00
Brian S. Dean cc025b06c3 Set extended device parameters for all firmware versions.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@249 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 02:11:41 +00:00
Brian S. Dean cf56235bca First attempt at supporting STK500 firmware past 1.10. Thanks to
Jason Kyle for the needed protocol information.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@248 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 02:03:11 +00:00
Theodore A. Roth 659a0a18a1 * doc/Makefile.am: Add ps and pdf rules since they aren't supplied by
automake versions prior to 1.7.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@247 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 18:42:04 +00:00
Theodore A. Roth 05cb7dea0b * doc/avrdude.texi: Add node and menu information for the info system.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@246 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 02:03:49 +00:00
Theodore A. Roth e3e30d79a8 * Makefile.am (SUBDIRS): Add doc dir.
* configure.ac (AC_CONFIG_FILES): Add doc/Makefile.
* doc/Makefile.am: New file.
* doc/avrdude.texi: Use automatically generated version.texi.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@245 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 01:09:52 +00:00
Brian S. Dean 5de6b8e8c7 Initial manual.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@244 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-02 01:32:24 +00:00
Theodore A. Roth bed435c2c1 * term.c: Use fgets() if readline() is not available.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@243 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 20:08:54 +00:00
Joerg Wunsch 8afd3dc4e1 Oops, accidentally spammed the repository with my private version of
"bootstrap".  Back out that change.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@242 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 16:43:55 +00:00
Joerg Wunsch 599fd4e5fb Ignore \r as white space, to make the Windows people happy.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@241 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 16:42:56 +00:00
Theodore A. Roth 2838aa472e * Makefile.am (EXTRA_DIST): Add avrdude.spec and make entries one per
line so future patches are obvious as to what changed.
* avrdude.spec.in: New file to support creation of binaries in rpm format.
* configure.ac (AC_OUTPUT): Add avrdude.spec.
	Reorder so that Makefile is the last entry.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@240 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 06:56:03 +00:00
Theodore A. Roth ecd623836b * Makefile.am (SUBDIRS): Add windows dir.
* configure.ac: If $target is a windows system, build whats in windows sub dir.
* windows/Makefile.am: New file.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@239 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-26 00:14:54 +00:00
Theodore A. Roth e1fec80b10 * ChangeLog: Point reader to the CHANGELOG file.
* Makefile.am (EXTRA_DIST): Rename avrdude.conf.sample to avrdude.conf.in.
	Remove avrdude.conf and distclean-local rules.
	Add install-exec-local and backup-avrdude-conf rules.
* avrdude.conf.in:
	Set default_parallel to "@DEFAULT_PAR_PORT@" for autoconf expansion.
	Set default_serial to "@DEFAULT_SER_PORT@" for autoconf expansion.
* configure.ac: Add call to AC_CANONICAL_{BUILD,HOST,TARGET} macros.
	Set DEFAULT_PAR_PORT and DEFAULT_SER_PORT based on $host.
	Add copyright header.
	Define avrdude_version so AC_INIT and AM_INIT_AUTOMAKE are sure
	to get the same version.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@238 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:57:27 +00:00
Theodore A. Roth 265a6b1989 Renamed avrdude.conf.sample to avrdude.conf.in.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@237 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:53:22 +00:00
Eric Weddington fe28d2b2ee CRs again.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@236 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:34:03 +00:00
Eric Weddington 9dc7e71e57 Get rid of CRs.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@235 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:19:27 +00:00
Eric Weddington 2bc7a31bc1 Get rid of CRs again.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@234 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:15:14 +00:00
Eric Weddington 84dbdab072 Get rid of CRs again.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@233 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:07:57 +00:00
Joerg Wunsch 695e5cfcac Atmel has rearranged their web site, so now the AVR docs have been moved
to a more logically sounding URL.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@232 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 23:27:31 +00:00
Eric Weddington 7705d613da Integrate Windows search of config files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@231 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 23:13:55 +00:00
Eric Weddington db1ed24848 config file search on Windows.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@230 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 22:48:47 +00:00
Eric Weddington d75941adc7 Change port value from lpt1alt to lpt3. Other formatting changes.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@229 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 21:02:01 +00:00
Eric Weddington ae9b29da6a Add giveio device driver source. Requires MS DDK to build.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@228 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:56:42 +00:00
Eric Weddington c44eef4e58 Add giveio device driver binary.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@227 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:49:02 +00:00
Eric Weddington 9f655104f8 Move Windows specific files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@226 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:47:33 +00:00
Eric Weddington efc4320fce Add Windows specific files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@225 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:42:12 +00:00
Eric Weddington cc489a45e4 Usage back to stderr.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@224 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:27:38 +00:00
Brian S. Dean e7b97b23f9 Add note about .avrduderc.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@223 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-22 16:47:46 +00:00
Brian S. Dean 04da94efb9 Add the ability to read a per-user config file located at
$HOME/.avrduderc.  Entries from .avrduderc take precedence over those
from the system wide config file in ${PREFIX}/etc/avrdude.conf.

Track and display the config file name and line number when we print
out the available parts and programmers.  This is useful in case
someone has overridden a definition in their .avrduderc file and is
wondering why the definition in the system wide config file is not
being used.

Remove the default programmer 'stk500' from the distributed config
file.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@222 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-22 16:45:13 +00:00
Brian S. Dean a2b9c401e3 Spelling.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@221 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-22 03:58:52 +00:00
Brian S. Dean 61ea74c44c Put some stuff in the CHANGELOG for this upcoming new version before I
forget.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@220 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:45:38 +00:00
Brian S. Dean cc7efe4520 Update comment due to removal of the default parallel port pin config.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@219 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:19:56 +00:00
Brian S. Dean 3b9f4f00d2 Introduce 'default_programmer' to the config file instead of requiring
one of the programmers to be tagged "default" within its definition.

Also, axe the notion of a compiled-in default programmer.  It is
kind've pointless now that nearly all configuration comes from the
config file, thus, avrdude is not very useful without the config file,
and thus, having a programmer compiled-in offers little or no benefit.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@218 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:07:43 +00:00
Eric Weddington b0b0cd2df1 Change usage text to be verbose.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@217 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:04:34 +00:00
Eric Weddington 70849024a5 Add Windows parallel port device driver (binary).
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@216 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 19:09:11 +00:00
Eric Weddington 0c915ed791 Windows batch files to work with giveio.sys.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@215 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 18:55:59 +00:00
Brian S. Dean 39e35145fa Add port name defaults to the config file instead of hard-coding.
This adds 'default_parallel' and 'default_serial' keywords to the
grammar, which take quoted string arguments.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@214 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 18:46:51 +00:00
Brian S. Dean b33a87868e Document the recent additions to the config file.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@213 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 18:12:57 +00:00
Brian S. Dean 8ba95cd0c3 Add the ability to specify which pin to pulse when retrying entry into
programming mode.  Use 'retry_pulse' in the per-part specification
that can currently take values of 'reset' or 'sck', the default being
'sck' which preserves the previous behaviour.  Some newer parts
indicate that /RESET should be pulsed, while older parts say to pulse
SCK.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@212 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 17:24:47 +00:00
Eric Weddington 38a4dcc703 Make verbose global. Make debug code in par_cmd() based on verbose=2.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@211 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:59:11 +00:00
Brian S. Dean d2be0bb300 Fix pseudo/full parallel mode selection logic.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@210 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:50:32 +00:00
Brian S. Dean 55380e6cbb Woops, didn't really mean to commit those changes that slipped in with
the last commit.  Those were just there for testing.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@209 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:47:16 +00:00
Brian S. Dean 0e9ef447a0 Add 'serial' and 'parallel' keywords to the grammar so that one can
say whether parts support these programming modes or not.  Possible
values for 'serial' are 'yes' or 'no'.  Possible values for 'parallel'
are 'yes', 'no', or 'pseudo'.  Add a bit mask of flags to the AVRPART
structure to capture these settings.  Use these within
stk500_initialize() to set the device parameters correctly.

Defaults for 'serial' and 'parallel' are 'yes' unless specified
otherwise.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@208 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:46:23 +00:00
Eric Weddington 2316c202f9 Get rid of CRs.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@207 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:02:02 +00:00
Eric Weddington 25df1930f5 Get rid of CRs.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@206 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 18:54:32 +00:00