Commit Graph

92 Commits

Author SHA1 Message Date
joerg_wunsch b49dc8f645 Mega-commit to bring in both, the STK500v2 support from Erik
Walthinsen, as well as JTAG ICE mkII support (by me).

Erik's submission has been cleaned up a little bit, mostly to add his
name and the current year to the copyright of the new file, remove
trailing white space before importing the files, and fix the minor
syntax errors in his avrdude.conf.in additions (missing semicolons).

The JTAG ICE mkII support should be considered alpha to beta quality
at this point.  Few things are still to be done, like defering the
hfuse (OCDEN) tweaks until they are really required.  Also, for
reasons not yet known, the target MCU doesn't start to run after
signing off from the ICE, it needs a power-cycle first (at least on my
STK500).

Note that for the JTAG ICE, I did change a few things in the internal
API.  Notably I made the serial receive timeout configurable by the
backends via an exported variable (done in both the Posix and the
Win32 implementation), and I made the serial_recv() function return a
-1 instead of bailing out with exit(1) upon encountering a receive
timeout (currently only done in the Posix implementation).  Both
measures together allow me to receive a datastreem from the ICE at 115
kbps on a somewhat lossy PCI multi-UART card that occasionally drops a
character.  The JTAG ICE mkII protocol has enough of safety layers to
allow recovering from these events, but the previous code wasn't
prepared for any kind of recovery.  The Win32 change for this still
has to be done, and the traditional drivers need to be converted to
exit(1) upon encountering a timeout (as they're now getting a -1
returned they didn't see before in that case).


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@451 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-05-10 19:17:12 +00:00
arcanum 107c46ff81 Document new Safe Mode feature and switch.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@443 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-01-24 21:26:14 +00:00
hinni 5b3bcb893e NEWS, doc/TODO: Updated NEWS and TODO
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@428 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-07-07 10:13:25 +00:00
hinni bcb78e8e05 stk500.c, term.c, doc/avrdude.texi, avrdude.1: added "sck"-command to the terminal mode. This command allows slowing down of the SCK of STK500-programmers.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@427 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-07-07 08:59:07 +00:00
hinni b26c4652fc avrdude.conf.in: Added support for tiny13 (contributed by Pawel Moll), mega48 and mega88 (contributed by Galen Seitz)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@418 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-06-22 17:38:54 +00:00
hinni db1a46c6ee * avrdude.1, doc/avrdude.texi, doc/TODO: Removed the deprecated options from documentation
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@411 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-02-10 00:20:51 +00:00
hinni 34c5ee9f0d * main.c: Removed deprecated options.
* doc/TODO: Still need to remove these options from documentation


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@410 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-02-09 23:43:42 +00:00
hinni 3ee1be5529 * pgm.[ch], main.c, par.c, avr910.c, butterfly.c, stk500.c:
Move save/restore-functionality into open/close.
	* par.c: open/close now saves/restores PPICTRL, too.
	* TODO: exitspecs don't work if RESET is in PPICTRL.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@407 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-28 20:01:44 +00:00
hinni 4c77350f24 * doc/avrdude.texi: get rid of those black boxes marking "overfull hbox"
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@401 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-17 19:38:15 +00:00
hinni 4b8db9e76e * doc/avrdude.texi: new appendix "Troubleshooting"
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@400 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-17 14:36:47 +00:00
hinni 93f2a54036 * avr910.c, avrpart.c, avrpart.h, doc/TODO: Look up devicecode and report device.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@399 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-12 22:48:50 +00:00
hinni 1fe6d367ce * avr910.c, pgm.c, pgm.h, config_gram.y, lexer.l: Add new configuration parameter baudrate to support avr910-programmers with non-standard baudrates
* avrdude.conf.in, doc/avrdude.texi: Added "baudrate" to documentation.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@398 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-03 18:36:44 +00:00
hinni 089c6ea144 doc/TODO: Removed two items.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@396 81a1dc3b-b13d-400b-aceb-764788c761c2
2004-01-03 18:14:46 +00:00
arcanum b8f99c725b *doc/avrdude.texi: Update devices and programmers supported.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@392 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-12-01 19:42:25 +00:00
arcanum 523f7549d3 *doc/avrdude.texi: Add missing -D option to user manual.
[This fixes bug #6804]


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@391 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-12-01 19:02:10 +00:00
joerg_wunsch 9dd5e43b20 Make the -U parser tolerate colons in filenames.
Document the change, including changing one of the texinfo examples
to use a Windows-like filename that contains a space (and thus
requires quoting).

This fixes bug #6764.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@386 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-11-26 22:05:02 +00:00
arcanum b1c4bb0b9c * doc/TODO: Updated TODO list.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@372 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-24 15:34:04 +00:00
arcanum d890ae5341 * doc/avrdude.texi: Minor corrections. Change description of -P
to reference platform dependencies.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@370 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-18 18:11:25 +00:00
bdean 4df01a2189 Add an extended example of using the -U option to update the flash,
eeprom, efuse, hfuse, and lfuse on a single command line.  Much of the
output had to be ommitted from the example since the texi commands for
formatting the example don't allow page breaks within the example.  If
someone knows a better way to format it, please feel free to do so.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@361 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-04 01:01:40 +00:00
arcanum b8e9e89d07 * doc/avrdude.texi: Add note about privileges needed to load
the giveio driver for Windows.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@360 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-09-02 16:40:06 +00:00
bdean 1ec1c1c2ea Fix fuse bit setting example. This closes bug #4027 submitted by
(unknown).


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@350 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-08-28 14:00:07 +00:00
bdean e09ce4ec22 Fix example.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@345 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-08-24 20:53:25 +00:00
bdean 1015d6ab46 Update a few programmer entries (descriptions only).
Add the supported programmer list to the manual.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@343 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-08-24 18:31:08 +00:00
bdean 6183fc22a2 Remove debugging printf.
Update manual to reflect the new -U option.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@342 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-08-24 18:05:46 +00:00
troth e341f7d3ec * avrdude.1: Document the -q option.
* doc/avrdude.texi: Document the -q option.
Fix some typos left over from pasting in man output.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@339 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-08-01 20:11:21 +00:00
joerg_wunsch c79d3c75b0 Add support for displaying and changing the various STK500 operational
parameters.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@336 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-07-24 21:26:28 +00:00
troth 3817b01d8d * doc/TODO: Add note about avr910 device codes.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@327 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-05-13 21:41:36 +00:00
troth d1d76f9e9c * configure.ac: Add cvs suffix back to version.
* doc/TODO: Add a few items.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@316 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-19 05:26:23 +00:00
troth 897f2afd5b * configure.ac: Set version to 4.1.0.
* doc/avrdude.texi: Add note about avr910 programmer type.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@314 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-04-18 04:41:45 +00:00
troth edd634c6f6 * 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/avrdude@283 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-12 02:09:57 +00:00
arcanum f2658adc56 Add Install and Documentation sections for Windows. Fix typo.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@278 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-11 00:00:30 +00:00
troth d49018d1ce * 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/avrdude@274 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-10 22:07:30 +00:00
arcanum 92294a3b65 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/avrdude@270 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 21:46:20 +00:00
troth 68636562e5 * 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/avrdude@267 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 07:48:08 +00:00
troth b935a32263 Delete the lines which where commented out in previous commit.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@266 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 06:53:39 +00:00
troth fef132199c * 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/avrdude@265 81a1dc3b-b13d-400b-aceb-764788c761c2
2003-03-06 06:45:54 +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
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