Go to file
joerg_wunsch 9b2be8e3fb Fix all bugs in the stk500pp implementation.
Eliminate pagebuf, and use stack-allocated buffers instead.  The
pagesize of all current AVRs is at most 256 only anyway, and this is
unlikely to change with the STK500v2 protocol.  The previous pagebuf
implementation suffered from some possible buffer overrun.

In stk500pp_write_page(), do always write full pages, rather than
attempting to write a partial last page which did not get written at
all.  Fill the remaining bytes with 0xff.

For (paged) write operations, correctly synthesize the mode byte.
This mode byte is very different from the ISP mode byte (sigh).

In stk500pp_read_byte(), when performing read operations on paged
memory, start reading at the previous page boundary rather than the
current address.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@589 81a1dc3b-b13d-400b-aceb-764788c761c2
2006-07-17 21:25:59 +00:00
doc Implement extended addressing needed for the ATmega256x devices. 2006-05-25 14:38:08 +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 Add Colin O'Flynn to the contributors list for his safemode support. 2005-09-21 01:43:19 +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 all bugs in the stk500pp implementation. 2006-07-17 21:25:59 +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 Contributed by dcm@mit.edu: add support for the 2006-01-12 23:13:50 +00:00
NEWS Mention ATmega256x support. 2006-05-23 22:28:43 +00:00
README * AUTHORS: Updated. 2003-03-11 22:34:53 +00:00
avr.c Start implementing support for ATmega256x; 2006-05-23 22:27:43 +00:00
avr.h Update code copyrights. 2004-12-22 01:52:45 +00:00
avr910.c This is patch #3277 which appears to fix a number of issues with the 2005-09-18 00:28:19 +00:00
avr910.h Update code copyrights. 2004-12-22 01:52:45 +00:00
avrdude.1 Implement extended addressing needed for the ATmega256x devices. 2006-05-25 14:38:08 +00:00
avrdude.conf.in First stab at an implementation of the STK500 parallel programming 2006-07-16 21:30:14 +00:00
avrdude.spec.in Submitted by Galen Seitz: 2005-11-29 20:28:51 +00:00
avrpart.c First stab at an implementation of the STK500 parallel programming 2006-07-16 21:30:14 +00:00
avrpart.h First stab at an implementation of the STK500 parallel programming 2006-07-16 21:30:14 +00:00
bitbang.c Make avrdude Solaris-compatible. 2005-11-01 23:02:06 +00:00
bitbang.h In lieu of Michael Holzt, add his serbb serial bit-bang code so it 2005-09-18 20:12: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 Fix yet another sign extension bug introduced by renaming "unsigned char" 2005-10-20 11:36:19 +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 Instead of defining YYSTYPE to be a struct token_t *, make this a 2005-11-02 21:03:51 +00:00
config_gram.y First stab at an implementation of the STK500 parallel programming 2006-07-16 21:30:14 +00:00
configure.ac This is now post-release. 2006-01-23 21:04:13 +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 Implement -q -q to be very very quiet. 2005-09-16 21:52:42 +00:00
fileio.h Update code copyrights. 2004-12-22 01:52:45 +00:00
freebsd_ppi.h Submitted by someone who thinks he's called "Daper": 2005-11-29 20:20:22 +00:00
jtagmkI.c Fix the size of a response array. 2005-11-28 21:11:18 +00:00
jtagmkI.h Initial import of JTAG ICE mkI support. 2005-11-25 06:14:06 +00:00
jtagmkII.c Contributed by dcm@mit.edu: add support for the 2006-01-12 23:13:50 +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
jtagmkI_private.h Initial import of JTAG ICE mkI support. 2005-11-25 06:14:06 +00:00
lexer.l First stab at an implementation of the STK500 parallel programming 2006-07-16 21:30:14 +00:00
linux_ppdev.h Submitted by someone who thinks he's called "Daper": 2005-11-29 20:20:22 +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 Use mem->desc in place of upd->memtype in more places to 2006-07-17 19:58:50 +00:00
par.c Add logic to handle inverted signals for parallel ports as well, using 2006-04-13 20:10:55 +00:00
par.h Make avrdude Solaris-compatible. 2005-11-01 23:02:06 +00:00
pgm.c Update code copyrights. 2004-12-22 01:52:45 +00:00
pgm.h Add ecpp(7D) (parallel port) for Solaris. 2005-11-03 22:37:37 +00:00
pindefs.h In lieu of Michael Holzt, add his serbb serial bit-bang code so it 2005-09-18 20:12:23 +00:00
ppi.c Submitted by someone who thinks he's called "Daper": 2005-11-29 20:20:22 +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 This is Colin O'Flynn's mega patch for updating safemode support: 2005-09-21 00:20:32 +00:00
safemode.h This is Colin O'Flynn's mega patch for updating safemode support: 2005-09-21 00:20:32 +00:00
ser_posix.c Eliminate compiler warnings. GCC 4.x elicits many signedness warnings 2005-08-30 01:30:05 +00:00
ser_win32.c *Added Brian Dean's patch to ser_win32.c, fixing bug 14681 "-vvvv causes communication to fail" 2005-11-24 15:00:49 +00:00
serbb.h In lieu of Michael Holzt, add his serbb serial bit-bang code so it 2005-09-18 20:12:23 +00:00
serbb_posix.c Make avrdude Solaris-compatible. 2005-11-01 23:02:06 +00:00
serbb_win32.c Make avrdude Solaris-compatible. 2005-11-01 23:02:06 +00:00
serial.h Contributed by dcm@mit.edu: add support for the 2006-01-12 23:13:50 +00:00
solaris_ecpp.h Submitted by someone who thinks he's called "Daper": 2005-11-29 20:20:22 +00:00
stk500.c Eliminate compiler warnings. GCC 4.x elicits many signedness warnings 2005-08-30 01:30:05 +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 Fix all bugs in the stk500pp implementation. 2006-07-17 21:25:59 +00:00
stk500v2.h First stab at an implementation of the STK500 parallel programming 2006-07-16 21:30:14 +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 This is Colin O'Flynn's mega patch for updating safemode support: 2005-09-21 00:20:32 +00:00
usb_libusb.c Replace David's email address by his full name in the copyrights. 2006-01-12 23:24:35 +00:00
usbdevs.h Contributed by dcm@mit.edu: add support for the 2006-01-12 23:13:50 +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