Commit Graph

332 Commits

Author SHA1 Message Date
Eric Weddington d6e5083b97 * NEWS: Replace TBD with new release version.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@313 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-17 23:19:58 +00:00
Brian S. Dean 7d5184da75 Change deprecated 'devicecode' to 'stk500_devcode' and remove
extraneous carraige returns.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@312 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-17 22:50:41 +00:00
Eric Weddington 62f2e06711 Change name of pony programmer to pony-stk200 to better describe the hw.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@311 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-17 17:34:01 +00:00
Eric Weddington bd11e34965 Corrected submitter's name in the ChangeLog.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@310 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-17 16:24:54 +00:00
Eric Weddington e358fd203a Add ATtiny26 support submitted by Artur Lipowski <LAL@pro.onet.pl>.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@309 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-16 23:00:29 +00:00
Eric Weddington 5fa160a365 Add ATmega8535 support submitted by Alexander <apeter@gmx.de>
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@308 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-16 22:44:55 +00:00
Theodore A. Roth 8513530063 * avr910.c: Reading a 16 bit word in paged load needs to swap the
bytes since the 'R' command returns MSB first and the internal buffer
stores LSB first.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@307 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-09 20:37:28 +00:00
Theodore A. Roth 6c3cb9fbb2 * stk500.c: Don't print out read/write byte progress unless the verbose
option is given.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@306 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-07 17:18:51 +00:00
Theodore A. Roth d2317147db * avr910.c: Re-add the avr910 byte read/write methods which were
removed in my previous patch. Terminal mode read/writes are broken
without those methods. D'oh!


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@305 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-06 07:10:44 +00:00
Theodore A. Roth 20bf291163 * avr910.c: Refactor to allow probing for auto addr increment. If auto
incr supported by programmer hw, don't send addr for every byte.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@304 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-06 00:47:16 +00:00
Eric Weddington a58f2c8d66 * confwin.c: Fix bug that allows garbage for non-existent user config filename on Windows.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@303 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-03 16:46:47 +00:00
Brian S. Dean 4996510f4c Add the ATmega32 part. This part definition was contributed by:
Daniel Williamson <dannyw@maconmgt.co.uk>
and
	Ruwan Jayanetti <rjayanetti@sri.crossvue.com>

The resulting part definition used was actually somewhat of a merge of
the two submitted definitions.

Thanks for the contributions!


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@302 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-29 15:02:07 +00:00
Theodore A. Roth c3412f1f57 * NEWS: Add note about avr910 support.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@301 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-24 23:37:09 +00:00
Eric Weddington dc21830241 Add ChangeLog and NEWS entry for new Bascom programmer.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@300 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-24 23:02:11 +00:00
Theodore A. Roth 191a5a4430 * avr.c (avr_write): Add call to pgm->write_setup() before the write loop.
* avr910.c: Change all show_func_info() calls to no_show_func_info().
Add read/write to/from flash/eeprom memory functionality.
* pgm.c: Initialize pgm->write_setup.
* pgm.h: Add write_setup field to PROGRAMMER structure.
* ser_posix.c: Remove unneeded cast in verbosity code.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@299 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-24 07:09:16 +00:00
Theodore A. Roth ee87b080c3 * ser_posix.c: Limit verbose output to 2 chars.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@298 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-24 02:37:33 +00:00
Theodore A. Roth 5bd3b081eb * ser_posix.c: Add verbose level > 3 output for send and recv functions.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@297 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-24 01:57:31 +00:00
Theodore A. Roth 6fba5faaf5 * avr.c: Add avr_read_byte_default().
Have avr_read_byte() call pgm->read_byte() or avr_read_byte_default().
Add avr_write_byte_default().
Have avr_write_byte() call pgm->write_byte or avr_write_byte_default().
* pgm.c: Initialize pgm->write_byte and pgm->read_byte.
* pgm.h: Add write_byte and read_byte fields to struct programmer_t.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@296 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-23 23:22:50 +00:00
Theodore A. Roth 5d6dace3c3 * avrdude.conf.in: Fix typo for devicecode deprecation comment.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@295 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-18 05:49:29 +00:00
Eric Weddington 200283a902 Add Bascom programmer. Submitted by Larry Barello <larryba@barrello.net>
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@294 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-17 17:57:55 +00:00
Theodore A. Roth ea977f6062 * avr.c (avr_read): Use pgm->read_sig_bytes to read signature bytes if
available.
* avr910.c (avr910_vfy_cmd_sent): New function.
(avr910_chip_erase): Add support for chip erase.
(avr910_enter_prog_mode): New function.
(avr910_leave_prog_mode): New function.
(avr910_initialize): Add code to select device type and enter prog mode.
(avr910_close): Leave programming mode before closing serial port.
(avr910_read_sig_bytes): New function.
(avr910_initpgm): Add avr910_read_sig_bytes method to pgm initializer.
* avrdude.conf.in: Add note about deprecating devicecode.
Change all occurences of devicecode to stk500_devcode.
Add avr910_devcode to a few parts for testing.
* avrpart.h (struct avrpart): Change devicecode field to stk500_devcode.
(struct avrpart): Add avr910_devcode field.
* config_gram.y: Add K_STK500_DEVCODE and K_AVR910_DEVCODE tokens.
Generate an error if devicecode is found in the config file.
Handle parsing of avr910_devcode and stk500_devcode.
* lexer.l: Handle parsing of avr910_devcode and stk500_devcode.
* pgm.c: Initialize pgm->read_sig_bytes field.
* pgm.h: Add pgm->read_sig_bytes field.
* stk500.c: Use stk500_devcode instead of devicecode.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@293 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-17 06:20:02 +00:00
Theodore A. Roth a13d87de00 * avrdude.conf.in: Add avr910 and pavr programmers.
* config_gram.y: Add parsing of avr910 programmer.
* lexer.l: Add avr910 token.
* avr910.c: [this is still work in progress]
Add some debug output.
Add probe for programmer presense.
* main.c: Set port to default_serial if programmer type is avr910.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@292 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-16 18:19:37 +00:00
Theodore A. Roth 5a74a905b4 * ser_posix.c, ser_win32.c, serial.h:
Change baud from int to long to avoid a 16-bit int overflow.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@291 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-13 19:25:27 +00:00
Brian S. Dean eb551b1d0d Headers needed on FreeBSD.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@290 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-13 04:44:46 +00:00
Theodore A. Roth f0c2dcf820 * Makefile.am (avrdude_SOURCES): Add avr910.[ch], serial.h and
ser_posix.c files.
* avr910.c: New file (stubs for avr910 serial programmer).
* avr910.h: New file.
* ser_posix.c: New file.
* ser_win32.c: New file (just stubs for now).
* serial.h: New file.
* stk500.c: Move all the code for accessing the posix serial ports
into ser_posix. This will make a native win32 port easier and allows
the avr910 programmer to share the serial code.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@289 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-13 03:52:19 +00:00
Brian S. Dean 8da3ff76e4 Add Ted, who forgot to add himself.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@288 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-13 03:16:53 +00:00
Theodore A. Roth 8f15af9679 * configure.ac (AC_INIT): Set version to 4.0.0cvs since we're done
with 4.0.0 release.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@287 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 21:37:32 +00:00
Brian S. Dean 659c5be38b Use my other e-mail address.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@284 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 03:43:51 +00:00
Theodore A. Roth 72fe61432b * Makefile.am: Add CLEANFILES to remove all files from a make.
* doc/Makefile.am: Ditto


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@283 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 02:09:57 +00:00
Brian S. Dean e9da0c96bb Use my other e-mail.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@282 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 01:25:43 +00:00
Theodore A. Roth afff7727bf * windows/Makefile.am: Fix uninstall-local rule (forget the $$file
part of the rm command).


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@281 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 00:32:36 +00:00
Brian S. Dean dda9ea3d3d Get rid of a debugging printf.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@280 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 00:06:45 +00:00
Theodore A. Roth f9e17107a4 * AUTHORS: Updated.
* CHANGELOG: Move contents to NEWS and remove file.
* ChangeLog: All of the changes for this year.
* ChangeLog-2001: All 2001 changes.
* ChangeLog-2002: All 2002 changes.
* Makefile.am (EXTRA_DIST): Remove CHANGELOG and and Change-200[12].
* NEWS: Moved contents of CHANGELOG file here.
* README: Add note pointing to savannah site.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@279 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-11 22:34:53 +00:00
Eric Weddington d5cbc5d330 Add Install and Documentation sections for Windows. Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@278 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-11 00:00:30 +00:00
Theodore A. Roth 587b20ed98 * Makefile.am (EXTRA_DIST): Add CHANGELOG.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@277 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 23:51:14 +00:00
Brian S. Dean 6211ee575d Disable debugging printf.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@276 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 22:58:21 +00:00
Brian S. Dean 0765d3410c Update version number in preparation for release.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@275 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 22:08:06 +00:00
Theodore A. Roth b3df2ddb1b * doc/avrdude.texi: Add comment before each node to make them stand out better.
Use @option{} command for options instead of @code{}.
Merge FreeBSD and Linux platform dependent information.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@274 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 22:07:30 +00:00
Brian S. Dean da5e80ffd6 Minor man page updates to better reflect reality.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@273 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 21:51:55 +00:00
Joerg Wunsch c4c44ca818 Export all the AUTO* variables. Hopefully, that way the generated
Makefile might get them correctly.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@272 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 21:25:13 +00:00
Joerg Wunsch 79368b37a2 Export ${AUTOCONF} so automake will find it by whatever name it will be
called today.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@271 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 20:20:55 +00:00
Eric Weddington f7ae053814 Add notes about ability to list parts and list programmers in the config file in -p and -c descriptions. Change info about where to find Windows search method in -C description.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@270 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 21:46:20 +00:00
Eric Weddington 5d88da5ff1 Change software version from hardcoded value to getting it from the configuration.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@269 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 19:18:40 +00:00
Theodore A. Roth 3af706d675 * avrdude.spec.in: Add docs sub-package.
Add %post and %preun scriptlets for handling info files.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@268 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 08:15:47 +00:00
Theodore A. Roth 6231171dad * configure.ac: Add --enable-versioned-doc option and set DOC_INST_DIR.
* doc/Makefile.am: Add rules to install docs in DOC_INST_DIR.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@267 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 07:48:08 +00:00
Theodore A. Roth 290e07cc44 Delete the lines which where commented out in previous commit.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@266 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 06:53:39 +00:00
Theodore A. Roth e00d991513 * configure.ac: Remove hack to make work with automake-1.5.
* doc/Makefile.am: Remove extra rules that were needed to work with
	automake-1.5.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@265 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 06:45:54 +00:00
Theodore A. Roth 26a98b8b58 * bootstrap: Force use of autoconf-2.57 and automake-1.7.x.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@264 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 04:45:30 +00:00
Joerg Wunsch 915f8e7b94 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@263 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 13:47:37 +00:00
Brian S. Dean ec5ce74e82 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@262 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 04:57:03 +00:00
Brian S. Dean 434d7badab 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@261 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 04:37:09 +00:00
Brian S. Dean 5588abbf68 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@260 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 04:30:20 +00:00
Brian S. Dean 177ac0177e 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@259 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 02:35:50 +00:00
Brian S. Dean fc132b98a9 Fix device codes for at90s8515 and at90s8535.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@258 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 02:33:30 +00:00
Brian S. Dean 762f617169 Add PAGEL and BS2 parms for parts I have datasheets for.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@257 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 01:42:57 +00:00
Brian S. Dean 5d7000ba8a Do that last commit slightly differently - this way results in no
shift-reduce conflicts.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@256 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 01:19:17 +00:00
Brian S. Dean b3828e962b 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@255 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 01:13:57 +00:00
Brian S. Dean b95638377f 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@254 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-05 00:53:49 +00:00
Eric Weddington f5d269c29a Minor Windows doc corrections.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@253 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 21:13:45 +00:00
Eric Weddington fafe392882 Add TODO file.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@252 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 18:17:43 +00:00
Eric Weddington 262af95eef Add AVR ISP programmer.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@251 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 16:28:25 +00:00
Brian S. Dean e7af3cdf7d 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@250 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 14:33:19 +00:00
Brian S. Dean 3d7ffa8e5c Set extended device parameters for all firmware versions.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@249 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 02:11:41 +00:00
Brian S. Dean 91e50ad424 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@248 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-04 02:03:11 +00:00
Theodore A. Roth bff9b46d9b * 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@247 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 18:42:04 +00:00
Theodore A. Roth 4d381ad0d7 * doc/avrdude.texi: Add node and menu information for the info system.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@246 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 02:03:49 +00:00
Theodore A. Roth 5d54a98a61 * 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@245 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-03 01:09:52 +00:00
Brian S. Dean c263250edb Initial manual.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@244 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-02 01:32:24 +00:00
Theodore A. Roth 8e79c164cb * term.c: Use fgets() if readline() is not available.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@243 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 20:08:54 +00:00
Joerg Wunsch 1013b4d56e 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@242 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 16:43:55 +00:00
Joerg Wunsch 8729209e5a Ignore \r as white space, to make the Windows people happy.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@241 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 16:42:56 +00:00
Theodore A. Roth 8eb79f1e0a * 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@240 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-27 06:56:03 +00:00
Theodore A. Roth 64f5d42240 * 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@239 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-26 00:14:54 +00:00
Theodore A. Roth d31deb3d9c * 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@238 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:57:27 +00:00
Theodore A. Roth f9898c1f08 Renamed avrdude.conf.sample to avrdude.conf.in.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@237 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-25 00:53:22 +00:00
Joerg Wunsch 4d386da66e 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@232 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 23:27:31 +00:00
Eric Weddington 0f40a804f2 Integrate Windows search of config files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@231 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 23:13:55 +00:00
Eric Weddington c21adeb8f1 config file search on Windows.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@230 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 22:48:47 +00:00
Eric Weddington 248a263846 Change port value from lpt1alt to lpt3. Other formatting changes.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@229 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 21:02:01 +00:00
Eric Weddington c39f81bb1b Add giveio device driver source. Requires MS DDK to build.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@228 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:56:42 +00:00
Eric Weddington e5c227d049 Add giveio device driver binary.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@227 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:49:02 +00:00
Eric Weddington 436ff65baa Move Windows specific files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@226 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:47:33 +00:00
Eric Weddington e872208835 Add Windows specific files.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@225 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:42:12 +00:00
Eric Weddington 685c183c3b Usage back to stderr.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@224 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-24 17:27:38 +00:00
Brian S. Dean e7866fb67a Add note about .avrduderc.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@223 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-22 16:47:46 +00:00
Brian S. Dean 5649b1d991 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@222 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-22 16:45:13 +00:00
Brian S. Dean 46b2a7991f Spelling.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@221 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-22 03:58:52 +00:00
Brian S. Dean 6c80f17d19 Put some stuff in the CHANGELOG for this upcoming new version before I
forget.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@220 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:45:38 +00:00
Brian S. Dean 60cb0fb0b9 Update comment due to removal of the default parallel port pin config.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@219 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:19:56 +00:00
Brian S. Dean 3f7c947b6d 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@218 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:07:43 +00:00
Eric Weddington bf1a984996 Change usage text to be verbose.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@217 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 21:04:34 +00:00
Eric Weddington ca1e8ae3b2 Add Windows parallel port device driver (binary).
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@216 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 19:09:11 +00:00
Eric Weddington fdba6304ac Windows batch files to work with giveio.sys.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@215 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 18:55:59 +00:00
Brian S. Dean 1836082a7a 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@214 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 18:46:51 +00:00
Brian S. Dean 50555cca65 Document the recent additions to the config file.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@213 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 18:12:57 +00:00
Brian S. Dean 0dcf74abb5 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@212 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-21 17:24:47 +00:00
Eric Weddington 405decb3b0 Make verbose global. Make debug code in par_cmd() based on verbose=2.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@211 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:59:11 +00:00
Brian S. Dean 988a0c60cb Fix pseudo/full parallel mode selection logic.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@210 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:50:32 +00:00
Brian S. Dean 3628e7174f 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@209 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:47:16 +00:00
Brian S. Dean 5a2d120ec2 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@208 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-02-20 19:46:23 +00:00