Go to file
Joerg Wunsch 2be5a10ed8 Fix a signedness bug when shifting bits; this caused the length field
of the packet to occasionally been misinterpreted as a negative
number.

When discarding a packet for being overly long, restart the state
machine instead of attempting to drop a preposterous amount of data.
It is unlikely in that case that preposterous amount of data would
ever arrive, so rather attempt to re-align the reading algorithm
(supposedly resulting in a timeout and retransmit).


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@472 81a1dc3b-b13d-400b-aceb-764788c761c2
2005-05-27 12:15:28 +00:00
doc Document that the JTAG ICE mkII code currently cannot write to flash 2005-05-19 04:49:46 +00:00
windows * windows/Makefile.am: Correct makefile so loaddrv does not link 2003-09-22 21:13:57 +00:00
.cvsignore These changes add basic support for a autoconf/automake based build system. 2003-02-14 20:34:03 +00:00
AUTHORS * AUTHORS: Add names of recent major contributors. 2004-07-08 23:49:33 +00:00
COPYING Re-license using the GNU GPL. Thanks to Ted Roth for the patch. 2003-02-06 19:08:33 +00:00
ChangeLog Fix a signedness bug when shifting bits; this caused the length field 2005-05-27 12:15:28 +00:00
ChangeLog-2001 Use my other e-mail. 2003-03-12 01:25:43 +00:00
ChangeLog-2002 Use my other e-mail. 2003-03-12 01:25:43 +00:00
ChangeLog-2003 * ChangeLog: Minor formatting cleanups. 2004-01-26 06:27:41 +00:00
Makefile.am Mega-commit to bring in both, the STK500v2 support from Erik 2005-05-10 19:17:12 +00:00
NEWS * Makefile.am (EXTRA_DIST): Remove avrdude.pdf since it is no longer supplied. 2004-07-19 06:10:43 +00:00
README * AUTHORS: Updated. 2003-03-11 22:34:53 +00:00
avr.c Update code copyrights. 2004-12-22 01:52:45 +00:00
avr.h Update code copyrights. 2004-12-22 01:52:45 +00:00
avr910.c Revert the serial_recv() timeout handling as it used to be before my 2005-05-11 17:09:22 +00:00
avr910.h Update code copyrights. 2004-12-22 01:52:45 +00:00
avrdude.1 Document that the JTAG ICE mkII code currently cannot write to flash 2005-05-19 04:49:46 +00:00
avrdude.conf.in Add an "jtag2fast" programmer that connects to the JTAG ICE at 115200 Bd. 2005-05-14 07:57:24 +00:00
avrdude.spec.in * avrdude.spec.in: Fix broken rpmbuild on RedHat-9. 2003-08-28 04:43:50 +00:00
avrpart.c Quite some cleanup of the JTAG ICE mkII stuff. 2005-05-11 20:06:23 +00:00
avrpart.h Quite some cleanup of the JTAG ICE mkII stuff. 2005-05-11 20:06:23 +00:00
bootstrap Umm, add the new programmer types to the texinfo documentation as well. 2005-05-14 08:06:18 +00:00
butterfly.c Revert the serial_recv() timeout handling as it used to be before my 2005-05-11 17:09:22 +00:00
butterfly.h Update code copyrights. 2004-12-22 01:52:45 +00:00
config.c Update code copyrights. 2004-12-22 01:52:45 +00:00
config.h Update code copyrights. 2004-12-22 01:52:45 +00:00
config_gram.y Quite some cleanup of the JTAG ICE mkII stuff. 2005-05-11 20:06:23 +00:00
configure.ac Update version after tagging the beta release. 2005-05-14 15:53:00 +00:00
confwin.c Update code copyrights. 2004-12-22 01:52:45 +00:00
confwin.h Update code copyrights. 2004-12-22 01:52:45 +00:00
crc16.c I forgot to add these files in the previous commit. They are 2005-05-10 19:43:44 +00:00
crc16.h I forgot to add these files in the previous commit. They are 2005-05-10 19:43:44 +00:00
fileio.c Update code copyrights. 2004-12-22 01:52:45 +00:00
fileio.h Update code copyrights. 2004-12-22 01:52:45 +00:00
jtagmkII.c Fix a signedness bug when shifting bits; this caused the length field 2005-05-27 12:15:28 +00:00
jtagmkII.h Oops, more files I forgot to add during the last commit. 2005-05-10 19:53:56 +00:00
jtagmkII_private.h Rename the BAUD_xxx baud rate defines to PAR_BAUD_xxx to avoid a name 2005-05-11 20:48:05 +00:00
lexer.l Quite some cleanup of the JTAG ICE mkII stuff. 2005-05-11 20:06:23 +00:00
linux_ppdev.h * linux_ppdev.h: New file. 2003-02-11 23:50:31 +00:00
lists.c Update code copyrights. 2004-12-22 01:52:45 +00:00
lists.h Update code copyrights. 2004-12-22 01:52:45 +00:00
main.c Update version and copyright message. 2005-05-14 14:56:00 +00:00
par.c Update code copyrights. 2004-12-22 01:52:45 +00:00
par.h Update code copyrights. 2004-12-22 01:52:45 +00:00
pgm.c Update code copyrights. 2004-12-22 01:52:45 +00:00
pgm.h Mega-commit to bring in both, the STK500v2 support from Erik 2005-05-10 19:17:12 +00:00
pindefs.h Update code copyrights. 2004-12-22 01:52:45 +00:00
ppi.c Update code copyrights. 2004-12-22 01:52:45 +00:00
ppi.h Update code copyrights. 2004-12-22 01:52:45 +00:00
ppiwin.c * main.c (main): Don't indent CPP directives. 2004-07-15 17:29:35 +00:00
safemode.c New file. Safe Mode support. 2005-01-24 21:26:13 +00:00
safemode.h New file. Safe Mode support. 2005-01-24 21:26:13 +00:00
ser_posix.c Try reading/writing more than one byte at a time, to improve overall 2005-05-11 17:00:11 +00:00
ser_win32.c Mega-commit to bring in both, the STK500v2 support from Erik 2005-05-10 19:17:12 +00:00
serial.h serial_setattr() has been renamed to serial_setspeed(). 2005-05-10 20:57:52 +00:00
stk500.c Revert the serial_recv() timeout handling as it used to be before my 2005-05-11 17:09:22 +00:00
stk500.h Update code copyrights. 2004-12-22 01:52:45 +00:00
stk500_private.h Add support for displaying and changing the various STK500 operational 2003-07-24 21:26:28 +00:00
stk500v2.c Revert the serial_recv() timeout handling as it used to be before my 2005-05-11 17:09:22 +00:00
stk500v2.h Mega-commit to bring in both, the STK500v2 support from Erik 2005-05-10 19:17:12 +00:00
stk500v2_private.h Mega-commit to bring in both, the STK500v2 support from Erik 2005-05-10 19:17:12 +00:00
term.c Update code copyrights. 2004-12-22 01:52:45 +00:00
term.h Update code copyrights. 2004-12-22 01:52:45 +00:00

README

See the documentation file for the details.

The latest version of AVRDUDE is always available here:

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