Commit Graph

1293 Commits

Author SHA1 Message Date
troth 9cfd6c654c * bootstrap: Force use of autoconf-2.57 and automake-1.7.x.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@264 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 04:45:30 +00:00
joerg_wunsch 6d5ebff60a Add a definition for the popular Ponyprog dongle.
Submitted by:	Daniel Williamson <dannyw@maconmgt.co.uk>


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@263 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 13:47:37 +00:00
bdean 02aa33e2a4 Check the programmer type against 'STK500' instead of the programmer
name when checking to see if we should default to the default_serial
port instead of the default_parallel port.  This has us do the right
thing for the new 'avrisp' programmer.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@262 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 04:57:03 +00:00
bdean 43417206df Make the page size used for non-paged parts for the 'paged_write'
command be 128 bytes.  This cuts 6 seconds off the programming time
for uploading a 6K file into an AT90S8515 vs the time loading the same
file using a 16 byte buffer, and the response feedback is still good.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@261 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 04:37:09 +00:00
bdean 86dbad54c5 Fix stk500 page write (Program Page command). This is supported after
all on non-paged-memory parts.  The problem was that the page size was
defaulting to 256 (maximum for the stk500), but the timeout for a
response from the stk500 before declaring it dead was only 0.5
seconds.  But it takes much longer than 0.5 seconds to program 256
bytes, so we just weren't waiting long enough.

Fix this in two ways - increase the timeout to 5 seconds, and decrease
the page size to 16 bytes for non-paged parts.  The programming time
for 16 bytes is short enough to provide the user with some feedback
that something is happening.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@260 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 04:30:20 +00:00
bdean 6e9bdf2a6e Don't call the programmer's 'paged_write' routine unless the memory
itself is paged as it doesn't appear to work otherwise.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@259 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 02:35:50 +00:00
bdean 21c0c54028 Fix device codes for at90s8515 and at90s8535.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@258 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 02:33:30 +00:00
bdean b52d86ae9d Add PAGEL and BS2 parms for parts I have datasheets for.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@257 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 01:42:57 +00:00
bdean 5a65e71d37 Do that last commit slightly differently - this way results in no
shift-reduce conflicts.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@256 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 01:19:17 +00:00
bdean afbb106145 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
bdean 174397969c 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
arcanum e1d8ea7bee 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
arcanum ebb01521aa 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
arcanum 91497f7ae8 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
bdean 4f9b61168c 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
bdean 5a60659d9e 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
bdean e6c66498fa 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
troth b03e04dfe1 * 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
troth b0528bfef4 * 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
troth c8da7420c9 * 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
bdean b8c21b8b21 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
troth 1176102f51 * 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 bcfb4da94e 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 da3b460be6 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
troth bc8d778632 * 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
troth 55d01ba7a7 * 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
troth d0a60ef253 * 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
troth 5736f5d766 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
arcanum 9f269cbd53 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
arcanum 993a534701 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
arcanum 4e6841bc13 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
arcanum 7ffdbbc12a 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 f505f78f8a 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
arcanum aac7d66784 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
arcanum e2894fea5a 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
arcanum f2009d4849 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
arcanum 46c28924d0 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
arcanum 8ddff90eae 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
arcanum aaf66b0dd7 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
arcanum 71a9aae9a6 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
arcanum 1ff068469e 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
bdean 4e1e3d01aa 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
bdean 66d2a710db 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
bdean 2c3d88da51 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
bdean 574bbe7dd2 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
bdean 6b29e029b6 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
bdean 61ab2bc318 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
arcanum 131cd12d10 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
arcanum 1164e56da4 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
arcanum 64052dd5c8 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