Commit graph

  • dc0dca7ac6 Prepare for version 5.10. Joerg Wunsch 2010-01-19 10:34:39 +00:00
  • dab2db1b6f Prepare for version 5.10. Joerg Wunsch 2010-01-19 10:34:39 +00:00
  • ca6ca5614a bug #28677: Cygwin's GCC no longer supports -mno-cygwin option * configure.ac: For Win32 environments, add a check whether the compiler understands the -mno-cygwin option. If not, don't use it but suggest using a different compiler. Joerg Wunsch 2010-01-19 10:03:05 +00:00
  • 74592918c9 bug #28677: Cygwin's GCC no longer supports -mno-cygwin option * configure.ac: For Win32 environments, add a check whether the compiler understands the -mno-cygwin option. If not, don't use it but suggest using a different compiler. Joerg Wunsch 2010-01-19 10:03:05 +00:00
  • befb4dc9cc Redo most of r851 and r880, respectively, minus the bugs. ;-) Joerg Wunsch 2010-01-18 20:40:15 +00:00
  • 9fa1a454be Redo most of r851 and r880, respectively, minus the bugs. ;-) Joerg Wunsch 2010-01-18 20:40:15 +00:00
  • 4e53f3451e bug #28660: Problem with loading intel hex rom files that exceed 0x10000 bytes * fileio.c: Revert the changes from r851 and r880, respectively. Joerg Wunsch 2010-01-18 11:05:36 +00:00
  • c3a798ea24 bug #28660: Problem with loading intel hex rom files that exceed 0x10000 bytes * fileio.c: Revert the changes from r851 and r880, respectively. Joerg Wunsch 2010-01-18 11:05:36 +00:00
  • 63436140d9 Submitted by Michael Biebl: Fix default serial port name for FreeBSD. Joerg Wunsch 2010-01-17 17:35:30 +00:00
  • 5ae90cdd25 Submitted by Michael Biebl: Fix default serial port name for FreeBSD. Joerg Wunsch 2010-01-17 17:35:30 +00:00
  • 046db1aa07 If entering JTAG mode fails with a bad JTAG ID message, retry with external reset applied (in case the target is in sleep mode or has asserted the JTD bit). Joerg Wunsch 2010-01-17 17:31:10 +00:00
  • ec7b0c03a1 If entering JTAG mode fails with a bad JTAG ID message, retry with external reset applied (in case the target is in sleep mode or has asserted the JTD bit). Joerg Wunsch 2010-01-17 17:31:10 +00:00
  • a8d23ba1e8 Fix build for GNU/kFreeBSD, fix FreeBSD default serial port name. Joerg Wunsch 2010-01-17 16:58:06 +00:00
  • f2c00658a7 Fix build for GNU/kFreeBSD, fix FreeBSD default serial port name. Joerg Wunsch 2010-01-17 16:58:06 +00:00
  • 97853b7b1c Delete erroneously made copy of what ought to become AVRDUDE 5.9. v5.8.0 Joerg Wunsch 2010-01-15 23:16:54 +00:00
  • 224954d8ce We are post-release now. Joerg Wunsch 2010-01-15 21:53:42 +00:00
  • dac678cdcc We are post-release now. Joerg Wunsch 2010-01-15 21:53:42 +00:00
  • 863c2d50fb Mention the new release. v5.9.0 Joerg Wunsch 2010-01-15 21:52:09 +00:00
  • c2d2dcc179 This is about to become AVRDUDE 5.9. Joerg Wunsch 2010-01-15 21:43:01 +00:00
  • ac4bc90781 Prepare for AVRDUDE 5.9. Joerg Wunsch 2010-01-15 21:42:39 +00:00
  • b2895380e4 AVRDUDE 5.8 is ready. Joerg Wunsch 2010-01-15 21:39:49 +00:00
  • b6cc6323be Prepare for releasing AVRDUDE 5.9. Joerg Wunsch 2010-01-15 21:37:08 +00:00
  • c18c796ecf Prepare for releasing AVRDUDE 5.9. Joerg Wunsch 2010-01-15 21:37:08 +00:00
  • d8cf3f8d44 Submitted by Soren Jorvang: bug #28611: -i delay not being applied to all serial port bit banging state transitions * serbb_win32.c: Apply ispdelay everywhere. * serbb_posix.c: (Dito.) Joerg Wunsch 2010-01-15 16:40:17 +00:00
  • bcd482810d Submitted by Soren Jorvang: bug #28611: -i delay not being applied to all serial port bit banging state transitions * serbb_win32.c: Apply ispdelay everywhere. * serbb_posix.c: (Dito.) Joerg Wunsch 2010-01-15 16:40:17 +00:00
  • 77e0502890 Implement TPI mode for AVRISPmkII/STK600. Add ATtiny4/5/9/10 to avrdude.conf.in. Document TPI and new device support. Joerg Wunsch 2010-01-15 16:36:13 +00:00
  • 485ac8ed6e Implement TPI mode for AVRISPmkII/STK600. Add ATtiny4/5/9/10 to avrdude.conf.in. Document TPI and new device support. Joerg Wunsch 2010-01-15 16:36:13 +00:00
  • de805c9bd9 Submitted by clint fisher: patch #7038: Adding Atmega32U4 Device to avrdude.conf.in * avrdude.conf.in (atmega32u4): New device. * avrdude.1: Document the new device support. * doc/avrdude.texi: (Dito.) Joerg Wunsch 2010-01-14 15:26:09 +00:00
  • 03aaf5cfa9 Submitted by clint fisher: patch #7038: Adding Atmega32U4 Device to avrdude.conf.in * avrdude.conf.in (atmega32u4): New device. * avrdude.1: Document the new device support. * doc/avrdude.texi: (Dito.) Joerg Wunsch 2010-01-14 15:26:09 +00:00
  • 96a8a9142c Submitted by Thomas Pircher: patch #6927: Documentation patches * doc/avrdude.texi: Fix various typos, and remove the last remnants of obsoleted options -i/-o/-m/-f. * avrdude.1: Merge typo fixes from avrdude.texi where applicable. Joerg Wunsch 2010-01-14 15:11:47 +00:00
  • 53fcfef7ef Submitted by Thomas Pircher: patch #6927: Documentation patches * doc/avrdude.texi: Fix various typos, and remove the last remnants of obsoleted options -i/-o/-m/-f. * avrdude.1: Merge typo fixes from avrdude.texi where applicable. Joerg Wunsch 2010-01-14 15:11:47 +00:00
  • e2abbd7d84 * avrdude.1: Update documentation to match the reality (device support, memory areas). * doc/avrdude.texi: Update documentation to match the reality (device support, programmer support, memory areas). Merge buspirate-specific comments from avrdude.1. * jtagmkII.c: Add some firmware feature checks. Joerg Wunsch 2010-01-14 13:46:02 +00:00
  • 3df5f307d7 * avrdude.1: Update documentation to match the reality (device support, memory areas). * doc/avrdude.texi: Update documentation to match the reality (device support, programmer support, memory areas). Merge buspirate-specific comments from avrdude.1. * jtagmkII.c: Add some firmware feature checks. Joerg Wunsch 2010-01-14 13:46:02 +00:00
  • 30be2be8ca Implement PDI mode support for the JTAG ICE mkII and the AVR Dragon. (AVR Dragon not yet verified.) Joerg Wunsch 2010-01-13 17:34:18 +00:00
  • 2763e194d7 Implement PDI mode support for the JTAG ICE mkII and the AVR Dragon. (AVR Dragon not yet verified.) Joerg Wunsch 2010-01-13 17:34:18 +00:00
  • 4b03544ff0 Update STK600 routing and socket card data from XML file. Joerg Wunsch 2010-01-13 12:52:38 +00:00
  • 230f3af622 Update STK600 routing and socket card data from XML file. Joerg Wunsch 2010-01-13 12:52:38 +00:00
  • a50fb8f9e6 Cleanup the open/close handling to avoid accessing unallocated memory (in the atexit handler) in case of bailing out. Joerg Wunsch 2010-01-13 12:44:54 +00:00
  • 27cac22b84 Cleanup the open/close handling to avoid accessing unallocated memory (in the atexit handler) in case of bailing out. Joerg Wunsch 2010-01-13 12:44:54 +00:00
  • 9dea1a623d * jtagmkII.c: Stylistic changes: move #defines out into jtagmkII_private.h, drop all #if 0 blocks, fold overly long lines, move the *_initpgm() functions to the end of the file; while being here, remove all trailing whitespace. * jtagmkII_private.h: move AVR32 #defines here. Joerg Wunsch 2010-01-13 08:37:57 +00:00
  • b9a5e05f9c * jtagmkII.c: Stylistic changes: move #defines out into jtagmkII_private.h, drop all #if 0 blocks, fold overly long lines, move the *_initpgm() functions to the end of the file; while being here, remove all trailing whitespace. * jtagmkII_private.h: move AVR32 #defines here. Joerg Wunsch 2010-01-13 08:37:57 +00:00
  • 176c31b84a autoconf 2.62 works well. Joerg Wunsch 2010-01-12 22:27:02 +00:00
  • 130e71072e autoconf 2.62 works well. Joerg Wunsch 2010-01-12 22:27:02 +00:00
  • 7f6c42846c Various fixes for Xmega devices. * avrdude.conf.in: Correctly declare EEPROM page sizes for all Xmega devices (0x20 instead of 0x100). * avr.c: If a memory region has a page size declared, try using the paged IO routines regardless of the target memory name. Xmega EEPROM requires to be written in paged mode. Correctly use a long (rather than unsigned long) variable to evaluate the success status of the paged mode write attempt. * stk500v2.c: Don't apply TIF space offsets twice (bug #27995: AVRDUDE 5.8svn fails to program and read XMEGA); use stk500v2_loadaddr() prior to paged mode (EEPROM and flash) writes, otherwise programming of flash areas will fail; while being there, check the return value of stk500v2_loadaddr() everywhere; use the correct write/erase mode bits (same as AVR Studio does). Joerg Wunsch 2010-01-12 15:42:40 +00:00
  • 617d99c13e Various fixes for Xmega devices. * avrdude.conf.in: Correctly declare EEPROM page sizes for all Xmega devices (0x20 instead of 0x100). * avr.c: If a memory region has a page size declared, try using the paged IO routines regardless of the target memory name. Xmega EEPROM requires to be written in paged mode. Correctly use a long (rather than unsigned long) variable to evaluate the success status of the paged mode write attempt. * stk500v2.c: Don't apply TIF space offsets twice (bug #27995: AVRDUDE 5.8svn fails to program and read XMEGA); use stk500v2_loadaddr() prior to paged mode (EEPROM and flash) writes, otherwise programming of flash areas will fail; while being there, check the return value of stk500v2_loadaddr() everywhere; use the correct write/erase mode bits (same as AVR Studio does). Joerg Wunsch 2010-01-12 15:42:40 +00:00
  • 3b92d6eb15 * buspirate.c: Initialise firmware version to v0.0 prior to parsing the buspirate banner. Michal Ludvig 2010-01-12 09:52:40 +00:00
  • 06fe35484e * buspirate.c: Initialise firmware version to v0.0 prior to parsing the buspirate banner. Michal Ludvig 2010-01-12 09:52:40 +00:00
  • 68b16424b8 Added AVR32 David Hoerl 2010-01-11 16:17:46 +00:00
  • 53fe2be4a3 Added AVR32 David Hoerl 2010-01-11 16:17:46 +00:00
  • 5774debe8f After erasing an Xmega part, do *not* reinitialize the world, as a subsequent programming operation will fail (for unknown reasons). Actually, this was really only required for ancient AVRs, but doesn't hurt on mega and tiny devices. Joerg Wunsch 2010-01-11 16:04:29 +00:00
  • d23e035b3b After erasing an Xmega part, do *not* reinitialize the world, as a subsequent programming operation will fail (for unknown reasons). Actually, this was really only required for ancient AVRs, but doesn't hurt on mega and tiny devices. Joerg Wunsch 2010-01-11 16:04:29 +00:00
  • 37fbb66f07 Clean-up the Xmega erase functions. * jtagmkII_private.h: Add CMND_XMEGA_ERASE as well as the various XMEGA_ERASE_* definitions (from updated appnote AVR067) * jtagmkII.c (jtagmkII_chip_erase): Correctly implement Xmega chip erase based on CMND_XMEGA_ERASE. * jtagmkII.c (jtagmkII_pre_write): Remove, this turned out to be just a chip erase. * jtagmkII.c (jtagmkII_program_disable): Don't try reading "hfuse" for Xmega parts; they don't have it. * main.c (main): Re-enable auto-erase. It's been done before (as "jtagmkII_pre_write") in jtagmkII_paged_write() anyway. Xmega boot and application flash areas should be handled separately in the future, so auto_erase can only affect the area just being programmed. Joerg Wunsch 2010-01-11 15:27:44 +00:00
  • a7e45fd3d3 Clean-up the Xmega erase functions. * jtagmkII_private.h: Add CMND_XMEGA_ERASE as well as the various XMEGA_ERASE_* definitions (from updated appnote AVR067) * jtagmkII.c (jtagmkII_chip_erase): Correctly implement Xmega chip erase based on CMND_XMEGA_ERASE. * jtagmkII.c (jtagmkII_pre_write): Remove, this turned out to be just a chip erase. * jtagmkII.c (jtagmkII_program_disable): Don't try reading "hfuse" for Xmega parts; they don't have it. * main.c (main): Re-enable auto-erase. It's been done before (as "jtagmkII_pre_write") in jtagmkII_paged_write() anyway. Xmega boot and application flash areas should be handled separately in the future, so auto_erase can only affect the area just being programmed. Joerg Wunsch 2010-01-11 15:27:44 +00:00
  • 8743e20e25 Disable safemode for Xmega parts. Joerg Wunsch 2010-01-11 14:29:26 +00:00
  • b9041f1adc Disable safemode for Xmega parts. Joerg Wunsch 2010-01-11 14:29:26 +00:00
  • 1b16aa8140 * buspirate.c: If the BusPirate doesn't respond to a standard a reset command assume it was in binmode and attempt to exit to text mode first. Michal Ludvig 2010-01-11 12:19:15 +00:00
  • 02a229b5f7 * buspirate.c: If the BusPirate doesn't respond to a standard a reset command assume it was in binmode and attempt to exit to text mode first. Michal Ludvig 2010-01-11 12:19:15 +00:00
  • 7faa13dd06 Add ylwrap to list of ignored files. Joerg Wunsch 2010-01-11 09:58:40 +00:00
  • a195465d97 Add ylwrap to list of ignored files. Joerg Wunsch 2010-01-11 09:58:40 +00:00
  • 1fd93b3296 Mention the Arduino support that has been added recently. Joerg Wunsch 2010-01-08 20:05:39 +00:00
  • d4fd2a74aa Mention the Arduino support that has been added recently. Joerg Wunsch 2010-01-08 20:05:39 +00:00
  • 31aa649153 * bitbang.c: Fix Win32 build error: move freq up to the file level. * buspirate.c: Fix Win32 build warning: include <malloc.h> to to get a declaration for alloca(). Joerg Wunsch 2010-01-08 20:02:35 +00:00
  • b8562e7eed * bitbang.c: Fix Win32 build error: move freq up to the file level. * buspirate.c: Fix Win32 build warning: include <malloc.h> to to get a declaration for alloca(). Joerg Wunsch 2010-01-08 20:02:35 +00:00
  • 9567713246 bug #28520: Programming with USBasp with low clock speed fails * usbasp.c: Change blocksize depending on sck frequency to avoid usb transmition timeouts. Thomas Fischl 2010-01-08 18:33:23 +00:00
  • ce87897cb3 bug #28520: Programming with USBasp with low clock speed fails * usbasp.c: Change blocksize depending on sck frequency to avoid usb transmition timeouts. Thomas Fischl 2010-01-08 18:33:23 +00:00
  • 0ccd81eb98 bug #27505: serbb_posix does not cope with inverted pins * serbb_posix (serbb_highpulsepin): apply PIN_MASK when checking pin numbers. * serbb_win32 (serbb_highpulsepin): (Dito.) Joerg Wunsch 2010-01-08 16:31:54 +00:00
  • 10bf04f706 bug #27505: serbb_posix does not cope with inverted pins * serbb_posix (serbb_highpulsepin): apply PIN_MASK when checking pin numbers. * serbb_win32 (serbb_highpulsepin): (Dito.) Joerg Wunsch 2010-01-08 16:31:54 +00:00
  • bb7c8a299a bug #28516: Linux/Dragon: Error message on exit * stk500v2.c: Fix the "bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE" message. jtagmkII_close() has been called with the wrong pgm->cookie. Wrap it inside stk500v2_jtagmkII_close(), adjusting the cookie data appropriately. Joerg Wunsch 2010-01-08 16:01:37 +00:00
  • 872dd6199a bug #28516: Linux/Dragon: Error message on exit * stk500v2.c: Fix the "bad response to GO command: RSP_ILLEGAL_EMULATOR_MODE" message. jtagmkII_close() has been called with the wrong pgm->cookie. Wrap it inside stk500v2_jtagmkII_close(), adjusting the cookie data appropriately. Joerg Wunsch 2010-01-08 16:01:37 +00:00
  • 0433f5e8ef Submitted by Doug: patch #7010: Win32 enhanced bitbang_delay * bitbang.c (bitbang_calibrate_delay, bitbang_delay): On Win32, use the high-resolution performance counter rather than the uneducated delay loop guess if it is available on the target hardware. Joerg Wunsch 2010-01-08 14:50:22 +00:00
  • 828253ff93 Submitted by Doug: patch #7010: Win32 enhanced bitbang_delay * bitbang.c (bitbang_calibrate_delay, bitbang_delay): On Win32, use the high-resolution performance counter rather than the uneducated delay loop guess if it is available on the target hardware. Joerg Wunsch 2010-01-08 14:50:22 +00:00
  • c7f93ef7f1 Add Thomas Fischl as well (USBasp). Joerg Wunsch 2010-01-08 13:43:41 +00:00
  • fd0d2665d4 Add Thomas Fischl as well (USBasp). Joerg Wunsch 2010-01-08 13:43:41 +00:00
  • da292c817e Add Michal Ludvig, for his contribution of the buspirate code. Joerg Wunsch 2010-01-08 13:41:42 +00:00
  • 0494fa205f Add Michal Ludvig, for his contribution of the buspirate code. Joerg Wunsch 2010-01-08 13:41:42 +00:00
  • d37cd87e8d Annual changelog rotation. Joerg Wunsch 2010-01-08 10:41:27 +00:00
  • f9762375e4 Annual changelog rotation. Joerg Wunsch 2010-01-08 10:41:27 +00:00
  • ee6146f808 Submitted by Gerard: patch #6828: Using arbitrary BAUD rates * ser_posix.c (serial_baud_lookup): Allow non-standard baud rates. * ser_win32.c (serial_baud_lookup): (Dito.) Joerg Wunsch 2010-01-08 10:39:18 +00:00
  • 2107a74340 Submitted by Gerard: patch #6828: Using arbitrary BAUD rates * ser_posix.c (serial_baud_lookup): Allow non-standard baud rates. * ser_win32.c (serial_baud_lookup): (Dito.) Joerg Wunsch 2010-01-08 10:39:18 +00:00
  • 59c68bac8b Submitted by Eric Trein: bug #27596: AT90s2333 is not correctly supported in avrdude.conf * avrdude.conf.in (at90s2333): add various STK500v2 parameters. Joerg Wunsch 2010-01-07 16:34:58 +00:00
  • 8902e9d1a4 Submitted by Eric Trein: bug #27596: AT90s2333 is not correctly supported in avrdude.conf * avrdude.conf.in (at90s2333): add various STK500v2 parameters. Joerg Wunsch 2010-01-07 16:34:58 +00:00
  • 6363da9c45 bug #28458: Buffer line is incorrectly released for PP programmers * par.c (par_close): use par_setmany() rather than par_setpin() for PPI_AVR_BUFF. Joerg Wunsch 2010-01-07 16:23:28 +00:00
  • c5058da936 bug #28458: Buffer line is incorrectly released for PP programmers * par.c (par_close): use par_setmany() rather than par_setpin() for PPI_AVR_BUFF. Joerg Wunsch 2010-01-07 16:23:28 +00:00
  • ee8a473945 bug #27507: SIGSEGV when using avrdragon (avrdude 5.8) * stk500v2.c (stk500v2_dragon_isp_initpgm): Use stk500v2_jtagmkII_setup/stk500v2_jtagmkII_rather than their jtagII counterparts, to get the private data properly initialized. Joerg Wunsch 2010-01-07 15:53:50 +00:00
  • ff60d53522 bug #27507: SIGSEGV when using avrdragon (avrdude 5.8) * stk500v2.c (stk500v2_dragon_isp_initpgm): Use stk500v2_jtagmkII_setup/stk500v2_jtagmkII_rather than their jtagII counterparts, to get the private data properly initialized. Joerg Wunsch 2010-01-07 15:53:50 +00:00
  • 2110c28be5 Cosmetics: adjust for 8-column hard tabs, remove UTF-8 dashes. Joerg Wunsch 2010-01-07 13:30:44 +00:00
  • f514ad8fbc Cosmetics: adjust for 8-column hard tabs, remove UTF-8 dashes. Joerg Wunsch 2010-01-07 13:30:44 +00:00
  • b2826052fc Add $Id$ line. Joerg Wunsch 2010-01-07 13:29:49 +00:00
  • edfd29d7b6 Add $Id$ line. Joerg Wunsch 2010-01-07 13:29:49 +00:00
  • 528cb95e9e Fix properties of the buspirate stuff (svn:keywords, svn:mime-type, svn:eol-style) Joerg Wunsch 2010-01-07 13:20:23 +00:00
  • 485250220c Fix properties of the buspirate stuff (svn:keywords, svn:mime-type, svn:eol-style) Joerg Wunsch 2010-01-07 13:20:23 +00:00
  • bcb6be967d Add $Id$ line. Joerg Wunsch 2010-01-07 13:16:38 +00:00
  • 373c213418 Add $Id$ line. Joerg Wunsch 2010-01-07 13:16:38 +00:00
  • f7cb1f53ea Fix a few warnings that came up recently (some of them only triggered by recent GCC versions). * config_gram.y (parse_cmdbits): "brkt possibly used uninitialized" (GCC errs here) * jtagmkII.c (jtagmkII_reset32): "status possibly used uninitialized" (I think GCC errs, too) * buspirate.c: "pointers differ in signedness" (mismatch between string processing and the use of "unsigned char" throughought the AVRDUDE API) Joerg Wunsch 2010-01-07 13:13:02 +00:00
  • 038d28ac29 Fix a few warnings that came up recently (some of them only triggered by recent GCC versions). * config_gram.y (parse_cmdbits): "brkt possibly used uninitialized" (GCC errs here) * jtagmkII.c (jtagmkII_reset32): "status possibly used uninitialized" (I think GCC errs, too) * buspirate.c: "pointers differ in signedness" (mismatch between string processing and the use of "unsigned char" throughought the AVRDUDE API) Joerg Wunsch 2010-01-07 13:13:02 +00:00
  • 23d95b80dd jtagmkII_smc_init32(): replace sleep() by usleep() for win32 compatibility. Joerg Wunsch 2010-01-01 08:55:33 +00:00
  • 5ccdb8b905 jtagmkII_smc_init32(): replace sleep() by usleep() for win32 compatibility. Joerg Wunsch 2010-01-01 08:55:33 +00:00
  • 1bc01515e3 * fileio.c: ihex2bin did not properly handle files > 64K bytes * usb_libusb.c: re-enabled usb_reset for Macs (no reset causes lots of failures) * avrdude.1: spacing issue for ucr2 fixed. David Hoerl 2009-11-29 20:19:15 +00:00
  • 10db97bb35 * fileio.c: ihex2bin did not properly handle files > 64K bytes * usb_libusb.c: re-enabled usb_reset for Macs (no reset causes lots of failures) * avrdude.1: spacing issue for ucr2 fixed. David Hoerl 2009-11-29 20:19:15 +00:00
  • d64741e5a2 * buspirate.c: Implemented reset= and speed= extended parameters. * avrdude.1: Document the change. Michal Ludvig 2009-11-09 02:18:40 +00:00