f8c7539f7bAdd Bascom programmer. Submitted by Larry Barello <larryba@barrello.net>
Eric Weddington
2003-03-17 17:57:55 +00:00
200283a902Add Bascom programmer. Submitted by Larry Barello <larryba@barrello.net>
Eric Weddington
2003-03-17 17:57:55 +00:00
58f2a417cb* 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.
troth
2003-03-17 06:20:02 +00:00
3782460fb5* 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.
Theodore A. Roth
2003-03-17 06:20:02 +00:00
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.
Theodore A. Roth
2003-03-17 06:20:02 +00:00
ae3f4e852f* 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.
troth
2003-03-16 18:19:37 +00:00
63d0ccdd19* 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.
Theodore A. Roth
2003-03-16 18:19:37 +00:00
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.
Theodore A. Roth
2003-03-16 18:19:37 +00:00
147c27da52* ser_posix.c, ser_win32.c, serial.h: Change baud from int to long to avoid a 16-bit int overflow.
troth
2003-03-13 19:25:27 +00:00
ad5d7d687c* ser_posix.c, ser_win32.c, serial.h: Change baud from int to long to avoid a 16-bit int overflow.
Theodore A. Roth
2003-03-13 19:25:27 +00:00
5a74a905b4* ser_posix.c, ser_win32.c, serial.h: Change baud from int to long to avoid a 16-bit int overflow.
Theodore A. Roth
2003-03-13 19:25:27 +00:00
616581c5a0Headers needed on FreeBSD.
bdean
2003-03-13 04:44:46 +00:00
4054259babHeaders needed on FreeBSD.
Brian S. Dean
2003-03-13 04:44:46 +00:00
eb551b1d0dHeaders needed on FreeBSD.
Brian S. Dean
2003-03-13 04:44:46 +00:00
746f6f4421* 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.
troth
2003-03-13 03:52:19 +00:00
09c3137489* 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.
Theodore A. Roth
2003-03-13 03:52:19 +00:00
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.
Theodore A. Roth
2003-03-13 03:52:19 +00:00
95bc42484dAdd Ted, who forgot to add himself.
bdean
2003-03-13 03:16:53 +00:00
4a3b0ab75fAdd Ted, who forgot to add himself.
Brian S. Dean
2003-03-13 03:16:53 +00:00
8da3ff76e4Add Ted, who forgot to add himself.
Brian S. Dean
2003-03-13 03:16:53 +00:00
1169f44b94* configure.ac (AC_INIT): Set version to 4.0.0cvs since we're done with 4.0.0 release.
troth
2003-03-12 21:37:32 +00:00
00a87076ea* configure.ac (AC_INIT): Set version to 4.0.0cvs since we're done with 4.0.0 release.
Theodore A. Roth
2003-03-12 21:37:32 +00:00
8f15af9679* configure.ac (AC_INIT): Set version to 4.0.0cvs since we're done with 4.0.0 release.
Theodore A. Roth
2003-03-12 21:37:32 +00:00
078a334625This commit was manufactured by cvs2svn to create tag 'release_4_0_0'.
v4.0.0
Joerg Wunsch
2003-03-12 03:43:53 +00:00
8622e09820Use my other e-mail address.
bdean
2003-03-12 03:43:51 +00:00
698a66b1f7Use my other e-mail address.
Brian S. Dean
2003-03-12 03:43:51 +00:00
659c5be38bUse my other e-mail address.
Brian S. Dean
2003-03-12 03:43:51 +00:00
edd634c6f6* Makefile.am: Add CLEANFILES to remove all files from a make. * doc/Makefile.am: Ditto
troth
2003-03-12 02:09:57 +00:00
574a520683* Makefile.am: Add CLEANFILES to remove all files from a make. * doc/Makefile.am: Ditto
Theodore A. Roth
2003-03-12 02:09:57 +00:00
72fe61432b* Makefile.am: Add CLEANFILES to remove all files from a make. * doc/Makefile.am: Ditto
Theodore A. Roth
2003-03-12 02:09:57 +00:00
e5b19b5a1aUse my other e-mail.
bdean
2003-03-12 01:25:43 +00:00
e1c7110bc3Use my other e-mail.
Brian S. Dean
2003-03-12 01:25:43 +00:00
e9da0c96bbUse my other e-mail.
Brian S. Dean
2003-03-12 01:25:43 +00:00
1d9430bfb0* windows/Makefile.am: Fix uninstall-local rule (forget the $$file part of the rm command).
troth
2003-03-12 00:32:36 +00:00
964a5eb45f* windows/Makefile.am: Fix uninstall-local rule (forget the $$file part of the rm command).
Theodore A. Roth
2003-03-12 00:32:36 +00:00
afff7727bf* windows/Makefile.am: Fix uninstall-local rule (forget the $$file part of the rm command).
Theodore A. Roth
2003-03-12 00:32:36 +00:00
ee96643119Get rid of a debugging printf.
bdean
2003-03-12 00:06:45 +00:00
edd8f7cea5Get rid of a debugging printf.
Brian S. Dean
2003-03-12 00:06:45 +00:00
dda9ea3d3dGet rid of a debugging printf.
Brian S. Dean
2003-03-12 00:06:45 +00:00
e87bd8db17* 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.
troth
2003-03-11 22:34:53 +00:00
ba552f9bcd* 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.
Theodore A. Roth
2003-03-11 22:34:53 +00:00
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.
Theodore A. Roth
2003-03-11 22:34:53 +00:00
f2658adc56Add Install and Documentation sections for Windows. Fix typo.
arcanum
2003-03-11 00:00:30 +00:00
fc78f7c729Add Install and Documentation sections for Windows. Fix typo.
Eric Weddington
2003-03-11 00:00:30 +00:00
d5cbc5d330Add Install and Documentation sections for Windows. Fix typo.
Eric Weddington
2003-03-11 00:00:30 +00:00
b4eb1aabeaDisable debugging printf.
Brian S. Dean
2003-03-10 22:58:21 +00:00
6211ee575dDisable debugging printf.
Brian S. Dean
2003-03-10 22:58:21 +00:00
60439e8414Update version number in preparation for release.
bdean
2003-03-10 22:08:06 +00:00
8f55a60f49Update version number in preparation for release.
Brian S. Dean
2003-03-10 22:08:06 +00:00
0765d3410cUpdate version number in preparation for release.
Brian S. Dean
2003-03-10 22:08:06 +00:00
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.
troth
2003-03-10 22:07:30 +00:00
32595b3b80* 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.
Theodore A. Roth
2003-03-10 22:07:30 +00:00
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.
Theodore A. Roth
2003-03-10 22:07:30 +00:00
18daec6875Minor man page updates to better reflect reality.
bdean
2003-03-10 21:51:55 +00:00
52f274c2e3Minor man page updates to better reflect reality.
Brian S. Dean
2003-03-10 21:51:55 +00:00
da5e80ffd6Minor man page updates to better reflect reality.
Brian S. Dean
2003-03-10 21:51:55 +00:00
01eb71651cExport all the AUTO* variables. Hopefully, that way the generated Makefile might get them correctly.
joerg_wunsch
2003-03-10 21:25:13 +00:00
b4a4e44ecdExport all the AUTO* variables. Hopefully, that way the generated Makefile might get them correctly.
Joerg Wunsch
2003-03-10 21:25:13 +00:00
c4c44ca818Export all the AUTO* variables. Hopefully, that way the generated Makefile might get them correctly.
Joerg Wunsch
2003-03-10 21:25:13 +00:00
bdb0406f13Export ${AUTOCONF} so automake will find it by whatever name it will be called today.
joerg_wunsch
2003-03-10 20:20:55 +00:00
2e0e4b2d8eExport ${AUTOCONF} so automake will find it by whatever name it will be called today.
Joerg Wunsch
2003-03-10 20:20:55 +00:00
79368b37a2Export ${AUTOCONF} so automake will find it by whatever name it will be called today.
Joerg Wunsch
2003-03-10 20:20:55 +00:00
92294a3b65Add 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.
arcanum
2003-03-06 21:46:20 +00:00
caf2297d94Add 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.
Eric Weddington
2003-03-06 21:46:20 +00:00
f7ae053814Add 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.
Eric Weddington
2003-03-06 21:46:20 +00:00
1b9666eff4Change software version from hardcoded value to getting it from the configuration.
arcanum
2003-03-06 19:18:40 +00:00
4a2dea030aChange software version from hardcoded value to getting it from the configuration.
Eric Weddington
2003-03-06 19:18:40 +00:00
5d88da5ff1Change software version from hardcoded value to getting it from the configuration.
Eric Weddington
2003-03-06 19:18:40 +00:00
8e68ced235* avrdude.spec.in: Add docs sub-package. Add %post and %preun scriptlets for handling info files.
troth
2003-03-06 08:15:47 +00:00
0c6540f11a* avrdude.spec.in: Add docs sub-package. Add %post and %preun scriptlets for handling info files.
Theodore A. Roth
2003-03-06 08:15:47 +00:00
3af706d675* avrdude.spec.in: Add docs sub-package. Add %post and %preun scriptlets for handling info files.
Theodore A. Roth
2003-03-06 08:15:47 +00:00
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.
troth
2003-03-06 07:48:08 +00:00
c9250b9ca5* configure.ac: Add --enable-versioned-doc option and set DOC_INST_DIR. * doc/Makefile.am: Add rules to install docs in DOC_INST_DIR.
Theodore A. Roth
2003-03-06 07:48:08 +00:00
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.
Theodore A. Roth
2003-03-06 07:48:08 +00:00
b935a32263Delete the lines which where commented out in previous commit.
troth
2003-03-06 06:53:39 +00:00
db62035cd2Delete the lines which where commented out in previous commit.
Theodore A. Roth
2003-03-06 06:53:39 +00:00
290e07cc44Delete the lines which where commented out in previous commit.
Theodore A. Roth
2003-03-06 06:53:39 +00:00
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.
troth
2003-03-06 06:45:54 +00:00
b65ffb88bd* 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.
Theodore A. Roth
2003-03-06 06:45:54 +00:00
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.
Theodore A. Roth
2003-03-06 06:45:54 +00:00
9cfd6c654c* bootstrap: Force use of autoconf-2.57 and automake-1.7.x.
troth
2003-03-06 04:45:30 +00:00
c8cb63a1a8* bootstrap: Force use of autoconf-2.57 and automake-1.7.x.
Theodore A. Roth
2003-03-06 04:45:30 +00:00
26a98b8b58* bootstrap: Force use of autoconf-2.57 and automake-1.7.x.
Theodore A. Roth
2003-03-06 04:45:30 +00:00
6d5ebff60aAdd a definition for the popular Ponyprog dongle.
joerg_wunsch
2003-03-05 13:47:37 +00:00
f24f899338Add a definition for the popular Ponyprog dongle.
Joerg Wunsch
2003-03-05 13:47:37 +00:00
915f8e7b94Add a definition for the popular Ponyprog dongle.
Joerg Wunsch
2003-03-05 13:47:37 +00:00
02aa33e2a4Check 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.
bdean
2003-03-05 04:57:03 +00:00
5f46c8fd63Check 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.
Brian S. Dean
2003-03-05 04:57:03 +00:00
ec5ce74e82Check 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.
Brian S. Dean
2003-03-05 04:57:03 +00:00
43417206dfMake 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.
bdean
2003-03-05 04:37:09 +00:00
8eab3f7547Make 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.
Brian S. Dean
2003-03-05 04:37:09 +00:00
434d7badabMake 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.
Brian S. Dean
2003-03-05 04:37:09 +00:00
86dbad54c5Fix 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.
bdean
2003-03-05 04:30:20 +00:00