Commit graph

  • 5d0bfcaf4c First implementation of ATxmega support. By now, only the PDI mode of the STK600 is supported. Single-byte EEPROM (and flash) updates do not work yet. * avr.c: "boot" memory is a candidate memory region for paged operations, besides "flash" and "eeprom". * avrdude.conf.in: add ATxmega128A1 and ATxmega128A1revD * avrpart.h: add the AVRPART_HAS_PDI flag (used to distinguish ATxmega parts from classic AVRs), the nvm_base part field, and the offset field for a memory region. * config_gram.y: add "has_pdi", "nvm_base", and "offset" * lexer.l: (Ditto.) * main.c: disable auto_erase for ATxmega parts * stk500v2.c: implement the XPROG functionality, and divert to this for ATxmega parts * avrdude.1: Document the changes. Joerg Wunsch 2008-07-26 22:53:40 +00:00
  • 8ae6321da2 First implementation of ATxmega support. By now, only the PDI mode of the STK600 is supported. Single-byte EEPROM (and flash) updates do not work yet. * avr.c: "boot" memory is a candidate memory region for paged operations, besides "flash" and "eeprom". * avrdude.conf.in: add ATxmega128A1 and ATxmega128A1revD * avrpart.h: add the AVRPART_HAS_PDI flag (used to distinguish ATxmega parts from classic AVRs), the nvm_base part field, and the offset field for a memory region. * config_gram.y: add "has_pdi", "nvm_base", and "offset" * lexer.l: (Ditto.) * main.c: disable auto_erase for ATxmega parts * stk500v2.c: implement the XPROG functionality, and divert to this for ATxmega parts * avrdude.1: Document the changes. Joerg Wunsch 2008-07-26 22:53:40 +00:00
  • 3f87de3252 Fix yet another warning: Joerg Wunsch 2008-07-26 06:04:30 +00:00
  • 130eda2439 Fix yet another warning: Joerg Wunsch 2008-07-26 06:04:30 +00:00
  • 6a633ea9f1 Fix a bunch of warnings. * avr910.c (avr910_paged_load): possible unitialized use of rd_size * jtagmkI.c (jtagmkI_initialize): pointer signedness mixup * jtagmkII.c (jtagmkII_print_parms1): propagate const'ness of parameter * usbasp.c (usbasp_transmit): poiner signedness mixup Joerg Wunsch 2008-07-25 21:14:43 +00:00
  • 0ee630eeca Fix a bunch of warnings. * avr910.c (avr910_paged_load): possible unitialized use of rd_size * jtagmkI.c (jtagmkI_initialize): pointer signedness mixup * jtagmkII.c (jtagmkII_print_parms1): propagate const'ness of parameter * usbasp.c (usbasp_transmit): poiner signedness mixup Joerg Wunsch 2008-07-25 21:14:43 +00:00
  • 6ca3ef6517 Contributed by Ville Voipio: patch #6501: New autotools support for avrdude * Makefile.am: add @WINDOWS_DIRS@ to SUBDIR * bootstrap: allow for autconf-2.61 and automake-1.10, too * configure.ac: fix @WINDOWS_DIRS@ recursion, replace AC_PROG_CC by AM_PROG_CC_C_O, for esoteric reasons Joerg Wunsch 2008-07-25 21:06:55 +00:00
  • fb55e7e383 Contributed by Ville Voipio: patch #6501: New autotools support for avrdude * Makefile.am: add @WINDOWS_DIRS@ to SUBDIR * bootstrap: allow for autconf-2.61 and automake-1.10, too * configure.ac: fix @WINDOWS_DIRS@ recursion, replace AC_PROG_CC by AM_PROG_CC_C_O, for esoteric reasons Joerg Wunsch 2008-07-25 21:06:55 +00:00
  • 854f42a09f Contributed by Janos Sallai <janos.sallai@vanderbilt.edu>: patch #6074: added support for crossbow's MIB510 programmer * avrdude.conf.in: Add entry for mib510. * stk500.c: Add special hooks to handle the MIB510 programmer. It mostly talks STK500v1 protocol but has a special hello and goodbye sequence, and uses a fixed block size of 256 bytes. * doc/avrdude.texi: Document support for mib510. Joerg Wunsch 2008-06-13 21:19:46 +00:00
  • 39902a7b7b Contributed by Janos Sallai <janos.sallai@vanderbilt.edu>: patch #6074: added support for crossbow's MIB510 programmer * avrdude.conf.in: Add entry for mib510. * stk500.c: Add special hooks to handle the MIB510 programmer. It mostly talks STK500v1 protocol but has a special hello and goodbye sequence, and uses a fixed block size of 256 bytes. * doc/avrdude.texi: Document support for mib510. Joerg Wunsch 2008-06-13 21:19:46 +00:00
  • cc8b75040f Contributed by Klaus Leidinger <klaus@mikrocontroller-projekte.de>: * main.c: Realign verbose messages. * avrpart.c: (Ditto.) * avr910.c: Print the device code selected in verbose mode. * butterfly.c: (Ditto.) Joerg Wunsch 2008-06-07 21:03:41 +00:00
  • 5252991341 Contributed by Klaus Leidinger <klaus@mikrocontroller-projekte.de>: * main.c: Realign verbose messages. * avrpart.c: (Ditto.) * avr910.c: Print the device code selected in verbose mode. * butterfly.c: (Ditto.) Joerg Wunsch 2008-06-07 21:03:41 +00:00
  • 2ce7151a23 Contributed by Klaus Leidinger <klaus@mikrocontroller-projekte.de>: Add check for buffermode feature, and use it if present. Can be turned off using -x no_blockmode. * avr910.c: Implement buffermode test and usage. * avrdude.1: Document -x no_blockmode. * doc/avrdude.texi: (Ditto.) Joerg Wunsch 2008-06-07 20:55:04 +00:00
  • 85cb696790 Contributed by Klaus Leidinger <klaus@mikrocontroller-projekte.de>: Add check for buffermode feature, and use it if present. Can be turned off using -x no_blockmode. * avr910.c: Implement buffermode test and usage. * avrdude.1: Document -x no_blockmode. * doc/avrdude.texi: (Ditto.) Joerg Wunsch 2008-06-07 20:55:04 +00:00
  • 876f79a141 #undef interface for Win32 Joerg Wunsch 2008-03-29 22:10:11 +00:00
  • cc4caf1d92 #undef interface for Win32 Joerg Wunsch 2008-03-29 22:10:11 +00:00
  • 8339bfa6f7 Add support for the -x devcode option, and document it. Joerg Wunsch 2008-03-24 21:22:04 +00:00
  • d9ce7185a4 Add support for the -x devcode option, and document it. Joerg Wunsch 2008-03-24 21:22:04 +00:00
  • ec2df64017 Add initial support for the Atmel STK600, for "classic" AVRs (AT90, ATtiny, ATmega) in both, ISP and high-voltage programming modes. * Makefile.am: Add -lm. * avrdude.conf.in: Add stk600, stk600pp, and stk600hvsp. * config_gram.y: Add support for the stk600* keywords. * lexer.l: (Ditto.) * pgm.h: Add the "chan" parameter to set_varef(). * stk500.c: (Ditto.) * serial.h: Add USB endpoint support to struct filedescriptor. * stk500v2.c: Implement the meat of the STK600 support. * stk500v2.h: Add new prototypes for stk600*() programmers. * stk500v2_private.h: Add new constants used in the STK600. * term.c: Add AREF channel support. * usb_libusb.c: Automatically determine the correct write endpoint ID, the STK600 uses 0x83 while all other tools use 0x82. Propagate the EP to use through struct filedescriptor. * usbdevs.h: Add the STK600 USB product ID. * tools/get-stk600-cards.xsl: XSL transformation for targetboards.xml to obtain the list of socket and routing card IDs, to be used in stk500v2.c (for displaying the names). * tools/get-stk600-devices.xsl: XSL transformation for targetboards.xml to obtain the table of socket/routing cards and their respective AVR device support for doc/avrdude.texi. * avrdude.1: Document all the STK600 stuff. * doc/avrdude.texi: Ditto. Added a new chapter for Programmer Specific Information. Joerg Wunsch 2008-03-14 13:00:08 +00:00
  • 712282c81d Add initial support for the Atmel STK600, for "classic" AVRs (AT90, ATtiny, ATmega) in both, ISP and high-voltage programming modes. * Makefile.am: Add -lm. * avrdude.conf.in: Add stk600, stk600pp, and stk600hvsp. * config_gram.y: Add support for the stk600* keywords. * lexer.l: (Ditto.) * pgm.h: Add the "chan" parameter to set_varef(). * stk500.c: (Ditto.) * serial.h: Add USB endpoint support to struct filedescriptor. * stk500v2.c: Implement the meat of the STK600 support. * stk500v2.h: Add new prototypes for stk600*() programmers. * stk500v2_private.h: Add new constants used in the STK600. * term.c: Add AREF channel support. * usb_libusb.c: Automatically determine the correct write endpoint ID, the STK600 uses 0x83 while all other tools use 0x82. Propagate the EP to use through struct filedescriptor. * usbdevs.h: Add the STK600 USB product ID. * tools/get-stk600-cards.xsl: XSL transformation for targetboards.xml to obtain the list of socket and routing card IDs, to be used in stk500v2.c (for displaying the names). * tools/get-stk600-devices.xsl: XSL transformation for targetboards.xml to obtain the table of socket/routing cards and their respective AVR device support for doc/avrdude.texi. * avrdude.1: Document all the STK600 stuff. * doc/avrdude.texi: Ditto. Added a new chapter for Programmer Specific Information. Joerg Wunsch 2008-03-14 13:00:08 +00:00
  • 255f873185 stk500v2_recv(): Make length computation unsigned so it cannot accidentally become negative. Joerg Wunsch 2008-01-26 08:01:51 +00:00
  • 853080dfeb stk500v2_recv(): Make length computation unsigned so it cannot accidentally become negative. Joerg Wunsch 2008-01-26 08:01:51 +00:00
  • 2b64213cdc ChangeLog rotation for 2007->2008 transition. Joerg Wunsch 2008-01-26 07:59:07 +00:00
  • e92c22e2a3 ChangeLog rotation for 2007->2008 transition. Joerg Wunsch 2008-01-26 07:59:07 +00:00
  • df28c35d8e Partially revert the line buffered output change, and turn stderr into unbuffered output while producing the progress report. Joerg Wunsch 2007-11-08 22:34:36 +00:00
  • 948534b2b6 Partially revert the line buffered output change, and turn stderr into unbuffered output while producing the progress report. Joerg Wunsch 2007-11-08 22:34:36 +00:00
  • 58a3d35757 main.c, pgm.c, pgm.h: Add setup and teardown hooks to the programmer definition. If present, call the setup hook immediately after finding the respective programmer object, and schedule the teardown hook to be called upon exit. This allows the programmer implementation to dynamically allocate private programmer data. Joerg Wunsch 2007-11-07 20:36:12 +00:00
  • 89e53f2e3d main.c, pgm.c, pgm.h: Add setup and teardown hooks to the programmer definition. If present, call the setup hook immediately after finding the respective programmer object, and schedule the teardown hook to be called upon exit. This allows the programmer implementation to dynamically allocate private programmer data. Joerg Wunsch 2007-11-07 20:36:12 +00:00
  • 286405fd74 Remove the no_show_func_info() calls, as Brian promised some 4 years ago. Joerg Wunsch 2007-11-06 21:00:33 +00:00
  • fa07082d30 Remove the no_show_func_info() calls, as Brian promised some 4 years ago. Joerg Wunsch 2007-11-06 21:00:33 +00:00
  • 4d2325a1ae Fix whitespace in previous commit. Joerg Wunsch 2007-11-06 19:42:52 +00:00
  • d3bb347e4f Fix whitespace in previous commit. Joerg Wunsch 2007-11-06 19:42:52 +00:00
  • f5c3910d48 main.c, pgm.c, pgm.h: Add the -x option to pass extended parameters to the programmer backend. Joerg Wunsch 2007-11-06 19:42:16 +00:00
  • c8c9c6b087 main.c, pgm.c, pgm.h: Add the -x option to pass extended parameters to the programmer backend. Joerg Wunsch 2007-11-06 19:42:16 +00:00
  • 7beb66e99c We are post 5.5 now. Joerg Wunsch 2007-10-29 23:08:37 +00:00
  • 30a3143cc3 We are post 5.5 now. Joerg Wunsch 2007-10-29 23:08:37 +00:00
  • eb61d895a5 This commit was manufactured by cvs2svn to create tag 'RELEASE_5_5_0'. v5.5.0 Joerg Wunsch 2007-10-29 23:00:13 +00:00
  • 2d90c281af Prepare for releasing avrdude 5.5. Joerg Wunsch 2007-10-29 23:00:12 +00:00
  • 2afd3d882e Prepare for releasing avrdude 5.5. Joerg Wunsch 2007-10-29 23:00:12 +00:00
  • 8d5b9f3ea1 Submitted by <bikenomad@gmail.com>: patch #5007: Patch for line-buffering of stdout and stderr Joerg Wunsch 2007-10-29 22:46:45 +00:00
  • a566b4a888 Submitted by <bikenomad@gmail.com>: patch #5007: Patch for line-buffering of stdout and stderr Joerg Wunsch 2007-10-29 22:46:45 +00:00
  • 0b7030f0fa Submitted by <graceindustries@gmail.com>: patch #5953: Add AT90CAN64 and AT90CAN32 to avrdude.conf Joerg Wunsch 2007-10-29 22:43:00 +00:00
  • 9693e039cb Submitted by <graceindustries@gmail.com>: patch #5953: Add AT90CAN64 and AT90CAN32 to avrdude.conf Joerg Wunsch 2007-10-29 22:43:00 +00:00
  • eca3f00f65 Submitted by Wolfgang Moser: patch #6121: ISP support for the C2N232I device (serial port bitbanging) Joerg Wunsch 2007-10-29 22:37:38 +00:00
  • 7f188d48db Submitted by Wolfgang Moser: patch #6121: ISP support for the C2N232I device (serial port bitbanging) Joerg Wunsch 2007-10-29 22:37:38 +00:00
  • b9691e51ba Submitted by <karl.yerkes@gmail.com>: patch #6141: accept binary format immediate values Joerg Wunsch 2007-10-29 22:30:59 +00:00
  • 477f1f1049 Submitted by <karl.yerkes@gmail.com>: patch #6141: accept binary format immediate values Joerg Wunsch 2007-10-29 22:30:59 +00:00
  • d508683427 bug #21076: -vvvv serial receive prints are empty in Win32 build Joerg Wunsch 2007-10-29 21:51:07 +00:00
  • 15d320cbfe bug #21076: -vvvv serial receive prints are empty in Win32 build Joerg Wunsch 2007-10-29 21:51:07 +00:00
  • 421fbd9c94 bug #21145: atmega329p not recognized Joerg Wunsch 2007-10-29 21:45:22 +00:00
  • 83334a1794 bug #21145: atmega329p not recognized Joerg Wunsch 2007-10-29 21:45:22 +00:00
  • 2bdbf19e45 The next release will have bug fixes... Joerg Wunsch 2007-10-29 21:27:46 +00:00
  • 122f2e8ec6 The next release will have bug fixes... Joerg Wunsch 2007-10-29 21:27:46 +00:00
  • ac4b97e716 bug #21152: Unable to program atmega324p with avrdude 5.4 and AVRISP using default configuration file. Joerg Wunsch 2007-10-29 21:24:28 +00:00
  • 9858495500 bug #21152: Unable to program atmega324p with avrdude 5.4 and AVRISP using default configuration file. Joerg Wunsch 2007-10-29 21:24:28 +00:00
  • 190a4b87e8 Submitted by <ladyada@gmail.com>: Patch #6233: Add support for USBtinyISP programmer * usbtiny.c: New file. * usbtiny.h: (Ditto.) * Makefile.am: Include usbtiny into the build. * avrdude.conf.in: (Ditto.) * config_gram.y: (Ditto.) * lexer.l: (Ditto.) * avrdude.1: Document the usbtiny support. * doc/avrdude.texi: (Ditto.) Joerg Wunsch 2007-10-29 18:03:02 +00:00
  • 007f4b378d Submitted by <ladyada@gmail.com>: Patch #6233: Add support for USBtinyISP programmer * usbtiny.c: New file. * usbtiny.h: (Ditto.) * Makefile.am: Include usbtiny into the build. * avrdude.conf.in: (Ditto.) * config_gram.y: (Ditto.) * lexer.l: (Ditto.) * avrdude.1: Document the usbtiny support. * doc/avrdude.texi: (Ditto.) Joerg Wunsch 2007-10-29 18:03:02 +00:00
  • 3aa7889d2a Forgot to include USBasp into the list of supported programmers. Joerg Wunsch 2007-10-29 17:53:58 +00:00
  • f721cc0d53 Forgot to include USBasp into the list of supported programmers. Joerg Wunsch 2007-10-29 17:53:58 +00:00
  • 75937c8678 Sort list of supported programmers into alphabetical order, add all missing programmers. Joerg Wunsch 2007-10-29 16:17:01 +00:00
  • ff700a8f1a Sort list of supported programmers into alphabetical order, add all missing programmers. Joerg Wunsch 2007-10-29 16:17:01 +00:00
  • fc640b555c usbasp.c: Added long addresses to support devices with more than 64kB (bug #20558) Thomas Fischl 2007-07-24 16:43:25 +00:00
  • 4f47c560ac usbasp.c: Added long addresses to support devices with more than 64kB (bug #20558) Thomas Fischl 2007-07-24 16:43:25 +00:00
  • 5c93141132 Add ChangeLog-2004-2006 to EXTRA_DIST. Joerg Wunsch 2007-06-27 20:44:25 +00:00
  • 4f4497f94e Add ChangeLog-2004-2006 to EXTRA_DIST. Joerg Wunsch 2007-06-27 20:44:25 +00:00
  • f11b13c432 We are post-release. Joerg Wunsch 2007-05-16 21:54:21 +00:00
  • e79a210517 We are post-release. Joerg Wunsch 2007-05-16 21:54:21 +00:00
  • 7d083eb3a0 This commit was manufactured by cvs2svn to create tag 'RELEASE_5_4_0'. v5.4.0 Joerg Wunsch 2007-05-16 21:46:31 +00:00
  • d920ed2117 More release preparation. Joerg Wunsch 2007-05-16 21:46:30 +00:00
  • 54997a4b27 More release preparation. Joerg Wunsch 2007-05-16 21:46:30 +00:00
  • e87c5977bb Bump version, releasing avrdude-5.4. Joerg Wunsch 2007-05-16 21:40:21 +00:00
  • ff3368d7d7 Bump version, releasing avrdude-5.4. Joerg Wunsch 2007-05-16 21:40:21 +00:00
  • e8dd4b518e Fix AVR910 devcodes. It seems that the AVR109 listing refers to "BOOT"-type code, while the standard codes are different (usually one below). Joerg Wunsch 2007-05-16 21:29:36 +00:00
  • b94afc55e9 Fix AVR910 devcodes. It seems that the AVR109 listing refers to "BOOT"-type code, while the standard codes are different (usually one below). Joerg Wunsch 2007-05-16 21:29:36 +00:00
  • d95b876d19 In avr_read() and avr_write(), only use the paged_load and paged_write backend functions iff the memory area in question has a page_size != 0. Joerg Wunsch 2007-05-16 20:15:13 +00:00
  • 54ad687999 In avr_read() and avr_write(), only use the paged_load and paged_write backend functions iff the memory area in question has a page_size != 0. Joerg Wunsch 2007-05-16 20:15:13 +00:00
  • 6fb700fe6f Fall back to avr_{read,write}_byte_default(). Joerg Wunsch 2007-05-15 22:00:29 +00:00
  • 8029f19918 Fall back to avr_{read,write}_byte_default(). Joerg Wunsch 2007-05-15 22:00:29 +00:00
  • c4e9a1a596 Rename the ATmega164 and ATmega324 into ATmega164P and ATmega324P, resp. Add an entry for the ATmega644P. Joerg Wunsch 2007-05-15 20:39:40 +00:00
  • 2b024eff77 Rename the ATmega164 and ATmega324 into ATmega164P and ATmega324P, resp. Add an entry for the ATmega644P. Joerg Wunsch 2007-05-15 20:39:40 +00:00
  • 9a6c9d2343 In ser_send(), don't select() on the output fd before trying to write something to the serial line. That kind of polling isn't very useful anyway, and it seems it breaks for the Linux CP210x USB<->RS-232 bridge driver which is certainly a bug in the driver, but we can just avoid that bug alltogether. Joerg Wunsch 2007-05-15 20:30:15 +00:00
  • dbb4766f81 In ser_send(), don't select() on the output fd before trying to write something to the serial line. That kind of polling isn't very useful anyway, and it seems it breaks for the Linux CP210x USB<->RS-232 bridge driver which is certainly a bug in the driver, but we can just avoid that bug alltogether. Joerg Wunsch 2007-05-15 20:30:15 +00:00
  • 0266bf8ef8 Fix the STK500v2 ISP delay parameter for ATmega640/1280/1281/2560/2561. Atmel has changed the XML files after the initial release. Joerg Wunsch 2007-05-15 20:25:48 +00:00
  • 6632049d6f Fix the STK500v2 ISP delay parameter for ATmega640/1280/1281/2560/2561. Atmel has changed the XML files after the initial release. Joerg Wunsch 2007-05-15 20:25:48 +00:00
  • 0df62fc016 Style and indentation fixes. Joerg Wunsch 2007-05-15 20:23:50 +00:00
  • 633922546f Style and indentation fixes. Joerg Wunsch 2007-05-15 20:23:50 +00:00
  • be2e4b79a6 2007-05-01: Colin O'Flynn <coflynn@newae.com> *Problem in verbose output of previous commit. I hoped to have all the verbose changes in a single commit, but that won't happen... *Main thing is fixed safemode to turn itself off when you can't read the fuses anyway. I don't know what I was thinking when I made it fail out of programmers that don't support fuse reading. Colin O Flynn 2007-05-02 23:05:21 +00:00
  • 35380e1d70 2007-05-01: Colin O'Flynn <coflynn@newae.com> *Problem in verbose output of previous commit. I hoped to have all the verbose changes in a single commit, but that won't happen... *Main thing is fixed safemode to turn itself off when you can't read the fuses anyway. I don't know what I was thinking when I made it fail out of programmers that don't support fuse reading. Colin O Flynn 2007-05-02 23:05:21 +00:00
  • bcf7c9d269 2007-05-01 Colin O'Flynn <coflynn@newae.com> safemode.c: added verbose output Colin O Flynn 2007-05-02 22:36:04 +00:00
  • 728326c479 2007-05-01 Colin O'Flynn <coflynn@newae.com> safemode.c: added verbose output Colin O Flynn 2007-05-02 22:36:04 +00:00
  • f4f6c8040c Colin O'Flynn <coflynn@newae.com> *stk500generic.c: FIxed bug 19411 Colin O Flynn 2007-03-25 22:43:50 +00:00
  • 06e4769d2b Colin O'Flynn <coflynn@newae.com> *stk500generic.c: FIxed bug 19411 Colin O Flynn 2007-03-25 22:43:50 +00:00
  • 2e2f8d6bde Add entries for AT90PWM2/3B. Joerg Wunsch 2007-02-26 19:52:53 +00:00
  • 92b95ef36d Add entries for AT90PWM2/3B. Joerg Wunsch 2007-02-26 19:52:53 +00:00
  • 10fcf3e111 usbasp.c: return error if communication with target isn't possible. Thomas Fischl 2007-02-02 16:27:49 +00:00
  • 7082eecf2a usbasp.c: return error if communication with target isn't possible. Thomas Fischl 2007-02-02 16:27:49 +00:00
  • fb0da1f3af Remove duplicate definition of token K_WRITEPAGE. Joerg Wunsch 2007-02-01 22:07:39 +00:00
  • f0ad4dc3aa Remove duplicate definition of token K_WRITEPAGE. Joerg Wunsch 2007-02-01 22:07:39 +00:00
  • 6fc6e9b184 Implement ATmega256x support for butterfly/avr109. Joerg Wunsch 2007-01-30 15:47:53 +00:00
  • 6a9ee90a06 Implement ATmega256x support for butterfly/avr109. Joerg Wunsch 2007-01-30 15:47:53 +00:00