Commit graph

  • b3af908ddd Fix subdir handling. Now finally, "make distcheck" will include the documentation into the tarball even if the configure had been run without the --enable-doc. Joerg Wunsch 2007-01-30 14:41:57 +00:00
  • 3407d4312a Fix subdir handling. Now finally, "make distcheck" will include the documentation into the tarball even if the configure had been run without the --enable-doc. Joerg Wunsch 2007-01-30 14:41:57 +00:00
  • b8a306c048 safemode.c: Obtain progname from avrdude.h rather than trying to roll our own (duplicate) copy of it. Joerg Wunsch 2007-01-30 13:41:54 +00:00
  • df256ba7bd safemode.c: Obtain progname from avrdude.h rather than trying to roll our own (duplicate) copy of it. Joerg Wunsch 2007-01-30 13:41:54 +00:00
  • 2682d0a227 More backend/library abstraction and generalization: turn the list_parts() and list_programmers() functions into general list iteration functions that call a caller-supplied callback for each element. Implement list_parts() and list_programmers() as private functions in main.c based on that approach. Joerg Wunsch 2007-01-29 20:41:47 +00:00
  • 2a7aeaa742 More backend/library abstraction and generalization: turn the list_parts() and list_programmers() functions into general list iteration functions that call a caller-supplied callback for each element. Implement list_parts() and list_programmers() as private functions in main.c based on that approach. Joerg Wunsch 2007-01-29 20:41:47 +00:00
  • 6e1e55406f Rearrange everything so it is now built into a libavrdude.a library, and link main.c against that library. Joerg Wunsch 2007-01-25 20:51:11 +00:00
  • a3349385d6 Rearrange everything so it is now built into a libavrdude.a library, and link main.c against that library. Joerg Wunsch 2007-01-25 20:51:11 +00:00
  • 5bf9e2d9f2 Major code cleanup. Joerg Wunsch 2007-01-24 22:43:46 +00:00
  • 6897c7b4a5 Major code cleanup. Joerg Wunsch 2007-01-24 22:43:46 +00:00
  • 27e16e8371 Something I always wanted to do: replace all those private "extern" declarations in each file by a central header file "avrdude.h". Joerg Wunsch 2007-01-24 21:07:54 +00:00
  • 9436ea57d1 Something I always wanted to do: replace all those private "extern" declarations in each file by a central header file "avrdude.h". Joerg Wunsch 2007-01-24 21:07:54 +00:00
  • 9e00f7b48e ATmega8: Bump the delay values for flash and EEPROM, based on the current Atmel XML file. Joerg Wunsch 2007-01-13 22:57:14 +00:00
  • f2154ce2ea ATmega8: Bump the delay values for flash and EEPROM, based on the current Atmel XML file. Joerg Wunsch 2007-01-13 22:57:14 +00:00
  • c573e47717 * configure.ac: Improve the detection of the Win32 HID library, and the presence of the header ddk/hidsdi.h. It now works correctly under Cygwin and several flavours of MinGW. Joerg Wunsch 2007-01-12 22:41:05 +00:00
  • 6aed88281a * configure.ac: Improve the detection of the Win32 HID library, and the presence of the header ddk/hidsdi.h. It now works correctly under Cygwin and several flavours of MinGW. Joerg Wunsch 2007-01-12 22:41:05 +00:00
  • 02c2030a64 * butterfly.c (butterfly_initialize): when sending the 'T' command (which is ignored by current AVR109 bootloaders), send the first reply from the list of supported device codes back rather than using avrdude.conf's idea about an AVR910 device code. Apparently, this solves disagreements between different versions of at least the ATmega8 AVR910 device code. Joerg Wunsch 2007-01-11 20:20:25 +00:00
  • 2e7333d3cc * butterfly.c (butterfly_initialize): when sending the 'T' command (which is ignored by current AVR109 bootloaders), send the first reply from the list of supported device codes back rather than using avrdude.conf's idea about an AVR910 device code. Apparently, this solves disagreements between different versions of at least the ATmega8 AVR910 device code. Joerg Wunsch 2007-01-11 20:20:25 +00:00
  • 3ae427df7b Reported by Till Harbaum: Joerg Wunsch 2007-01-07 22:36:45 +00:00
  • 8daaa34ba8 Reported by Till Harbaum: Joerg Wunsch 2007-01-07 22:36:45 +00:00
  • a63f7f2400 ChangeLog rotation. Joerg Wunsch 2007-01-07 22:34:21 +00:00
  • 0058fff9d8 ChangeLog rotation. Joerg Wunsch 2007-01-07 22:34:21 +00:00
  • 93547b051c We are post-release (again). Joerg Wunsch 2006-12-22 23:21:53 +00:00
  • 37ecc60f24 We are post-release (again). Joerg Wunsch 2006-12-22 23:21:53 +00:00
  • e076170551 This commit was manufactured by cvs2svn to create tag 'RELEASE_5_3_1'. v5.3.1 Joerg Wunsch 2006-12-22 22:55:34 +00:00
  • 2347af75ae Actually bump version to 5.3.1 now. Joerg Wunsch 2006-12-22 22:55:33 +00:00
  • 1fc0d26959 Actually bump version to 5.3.1 now. Joerg Wunsch 2006-12-22 22:55:33 +00:00
  • 67d89d256e * configure.ac (AC_INIT): Bump version to 5.3.1. * avrdude.conf.in (frank-stk200): Fix syntax error. * ser_avrdoper.c: Make #ifdef for Win32/libhid consistent with the initial check: use the HID driver only iff found, otherwise use libusb. Joerg Wunsch 2006-12-22 22:52:34 +00:00
  • c59ed7097e * configure.ac (AC_INIT): Bump version to 5.3.1. * avrdude.conf.in (frank-stk200): Fix syntax error. * ser_avrdoper.c: Make #ifdef for Win32/libhid consistent with the initial check: use the HID driver only iff found, otherwise use libusb. Joerg Wunsch 2006-12-22 22:52:34 +00:00
  • 58cf5f62a0 We are now post release 5.3. Joerg Wunsch 2006-12-21 22:48:14 +00:00
  • ba82e4bb01 We are now post release 5.3. Joerg Wunsch 2006-12-21 22:48:14 +00:00
  • dbed2e283a This commit was manufactured by cvs2svn to create tag 'RELEASE_5_3_0'. v5.3.0 Joerg Wunsch 2006-12-21 22:40:07 +00:00
  • 1280d2173d Cosmetic: mention the current changes are now for 5.3. Joerg Wunsch 2006-12-21 22:40:06 +00:00
  • b2c5030890 Cosmetic: mention the current changes are now for 5.3. Joerg Wunsch 2006-12-21 22:40:06 +00:00
  • ab6b0be5de Mention frank-stk200 in the docs. Joerg Wunsch 2006-12-21 22:05:56 +00:00
  • 1652c1b781 Mention frank-stk200 in the docs. Joerg Wunsch 2006-12-21 22:05:56 +00:00
  • 15c4fb5903 Bump version to 5.3, ready to release. Joerg Wunsch 2006-12-21 22:01:30 +00:00
  • 22fe8cd1e1 Bump version to 5.3, ready to release. Joerg Wunsch 2006-12-21 22:01:30 +00:00
  • 2ef8ceae78 Submitted by Vince VG: * avrdude.conf.in (frank-stk200): New programmer added. Closes patch #5502: one other programmer Joerg Wunsch 2006-12-21 21:44:14 +00:00
  • 9749ffcd75 Submitted by Vince VG: * avrdude.conf.in (frank-stk200): New programmer added. Closes patch #5502: one other programmer Joerg Wunsch 2006-12-21 21:44:14 +00:00
  • 0d9df51e88 In usbOpenDevice(), clear the error code when returning successfully. Joerg Wunsch 2006-12-21 21:21:14 +00:00
  • ac95d249d6 In usbOpenDevice(), clear the error code when returning successfully. Joerg Wunsch 2006-12-21 21:21:14 +00:00
  • 6524723327 Submitted by Christian Starkjohann: patch #5507: Support for AVR-Doper USB programmer in HID mode Joerg Wunsch 2006-12-20 23:43:34 +00:00
  • f239ffa1d1 Submitted by Christian Starkjohann: patch #5507: Support for AVR-Doper USB programmer in HID mode Joerg Wunsch 2006-12-20 23:43:34 +00:00
  • 18cf1cf47f Submitted by ivanv at netman.ru Fix length for single-byte write operations. Closes bug #18527 JTAG ICE: fuse bits have been writen incorrectly Joerg Wunsch 2006-12-15 15:42:44 +00:00
  • ef04ad29bf Submitted by ivanv at netman.ru Fix length for single-byte write operations. Closes bug #18527 JTAG ICE: fuse bits have been writen incorrectly Joerg Wunsch 2006-12-15 15:42:44 +00:00
  • f7f185f176 In jtagmkII_paged_write(), remove a debugging usleep(1000000) that accidentally crept in in rev 1.19. Joerg Wunsch 2006-12-11 16:48:52 +00:00
  • a1afb8ea4a In jtagmkII_paged_write(), remove a debugging usleep(1000000) that accidentally crept in in rev 1.19. Joerg Wunsch 2006-12-11 16:48:52 +00:00
  • bfb57a4415 In ser_open(), do fill in fdp->ifd before already using it in ser_setspeed(). Joerg Wunsch 2006-12-11 16:02:45 +00:00
  • 631f057984 In ser_open(), do fill in fdp->ifd before already using it in ser_setspeed(). Joerg Wunsch 2006-12-11 16:02:45 +00:00
  • 15635697c8 Sigh, fix yet another printf() format warning (on 64-bit architectures). Joerg Wunsch 2006-12-11 15:33:19 +00:00
  • dfe36d084b Sigh, fix yet another printf() format warning (on 64-bit architectures). Joerg Wunsch 2006-12-11 15:33:19 +00:00
  • 932bd18ec1 In jtagmkI_close(), revert baud rate to the initial value in case we had changed it. Joerg Wunsch 2006-12-11 15:15:50 +00:00
  • 7abd4c5bb2 In jtagmkI_close(), revert baud rate to the initial value in case we had changed it. Joerg Wunsch 2006-12-11 15:15:50 +00:00
  • 67506bb186 Colin O'Flynn <coflynn@newae.com> Colin O Flynn 2006-12-11 14:41:59 +00:00
  • f25cf95909 Colin O'Flynn <coflynn@newae.com> Colin O Flynn 2006-12-11 14:41:59 +00:00
  • 09af282646 Submitted by Nick Lott: Joerg Wunsch 2006-12-11 14:23:46 +00:00
  • 10eb9c7f5c Submitted by Nick Lott: Joerg Wunsch 2006-12-11 14:23:46 +00:00
  • 24990aff9c Actually return the number of bytes read or written in avr_read() or avr_write(), respectively, in case the paged_load()/paged_write() methods succeeded, rather than only 0. Joerg Wunsch 2006-12-11 14:06:52 +00:00
  • 08f272851c Actually return the number of bytes read or written in avr_read() or avr_write(), respectively, in case the paged_load()/paged_write() methods succeeded, rather than only 0. Joerg Wunsch 2006-12-11 14:06:52 +00:00
  • 76e7613841 Fix a bug introduced in rev. 1.69, when implementing the fallback from each programmer's paged_load() or paged_write() method, respectively. The return value needs to be checked for being greater or equal than 0 rather equal to 0 in order to assume the operation has been successful. Joerg Wunsch 2006-12-11 14:01:54 +00:00
  • 35a87b9b6f Fix a bug introduced in rev. 1.69, when implementing the fallback from each programmer's paged_load() or paged_write() method, respectively. The return value needs to be checked for being greater or equal than 0 rather equal to 0 in order to assume the operation has been successful. Joerg Wunsch 2006-12-11 14:01:54 +00:00
  • 7e20e7571f Make the code compile warning-free: Joerg Wunsch 2006-12-11 12:47:35 +00:00
  • ab86a7d09b Make the code compile warning-free: Joerg Wunsch 2006-12-11 12:47:35 +00:00
  • 84b633e41d Implement EEPROM access through debugWire. Joerg Wunsch 2006-11-23 07:07:06 +00:00
  • fa205ce214 Implement EEPROM access through debugWire. Joerg Wunsch 2006-11-23 07:07:06 +00:00
  • 946810fb81 In avr_read() and avr_write(), if the paged access returns a failure, fall back to byte access. Joerg Wunsch 2006-11-23 07:02:22 +00:00
  • 7d1d5424d2 In avr_read() and avr_write(), if the paged access returns a failure, fall back to byte access. Joerg Wunsch 2006-11-23 07:02:22 +00:00
  • 0e054fac95 In jtagmkII_read_byte() and jtagmkII_write_byte(), return an error upon failure now that the upper layers won't fall back to the cmd() method anymore in that case. Joerg Wunsch 2006-11-21 16:13:08 +00:00
  • a473be7683 In jtagmkII_read_byte() and jtagmkII_write_byte(), return an error upon failure now that the upper layers won't fall back to the cmd() method anymore in that case. Joerg Wunsch 2006-11-21 16:13:08 +00:00
  • 04203ce892 Add debugWire entries for all devices where dW is known to exist (according to the XML files). Joerg Wunsch 2006-11-21 11:56:26 +00:00
  • 84e401d795 Add debugWire entries for all devices where dW is known to exist (according to the XML files). Joerg Wunsch 2006-11-21 11:56:26 +00:00
  • a5f4a526c6 Mention our debugWire support. Joerg Wunsch 2006-11-21 11:19:10 +00:00
  • 17ac6b9989 Mention our debugWire support. Joerg Wunsch 2006-11-21 11:19:10 +00:00
  • 9b9df3e773 Implement debugWire programming support. Several limitations are imposed by debugWire itself, so effectively, only flash ROM can be read and written. Joerg Wunsch 2006-11-20 23:23:37 +00:00
  • 4108e10380 Implement debugWire programming support. Several limitations are imposed by debugWire itself, so effectively, only flash ROM can be read and written. Joerg Wunsch 2006-11-20 23:23:37 +00:00
  • 432ee9035b jtagmkI_close(): remove two unused variables. Joerg Wunsch 2006-11-20 22:07:25 +00:00
  • 71cd3f3dd1 jtagmkI_close(): remove two unused variables. Joerg Wunsch 2006-11-20 22:07:25 +00:00
  • 9461d2d3f7 Fix date of last changelog entry (copy&paste-o). Joerg Wunsch 2006-11-20 21:35:26 +00:00
  • 47bc86120d Fix date of last changelog entry (copy&paste-o). Joerg Wunsch 2006-11-20 21:35:26 +00:00
  • 41c5e95ab3 Add the default read_byte() and write_byte() methods here, too. Forgot to commit these files in previous commit. Joerg Wunsch 2006-11-20 15:08:13 +00:00
  • 22879832f1 Add the default read_byte() and write_byte() methods here, too. Forgot to commit these files in previous commit. Joerg Wunsch 2006-11-20 15:08:13 +00:00
  • afb13a9936 Replace the fallback of avr_read_byte() and avr_write_byte() to avr_read_byte_default() and avr_write_byte_default (resp.) by directly calling the latter functions from within all programmers that don't implement their own read_byte()/write_byte() methods. In turn, make the read_byte() and write_byte() methods mandatory, and the cmd() method (direct ISP command) optional instead (it's effectively mandatory for any programmer using avr_read_byte_default()/avr_write_byte_default() though). Remove all the pointless cmd() method stubs from those programmers that don't need it. Joerg Wunsch 2006-11-20 15:04:09 +00:00
  • a4fa4ea9fc Replace the fallback of avr_read_byte() and avr_write_byte() to avr_read_byte_default() and avr_write_byte_default (resp.) by directly calling the latter functions from within all programmers that don't implement their own read_byte()/write_byte() methods. In turn, make the read_byte() and write_byte() methods mandatory, and the cmd() method (direct ISP command) optional instead (it's effectively mandatory for any programmer using avr_read_byte_default()/avr_write_byte_default() though). Remove all the pointless cmd() method stubs from those programmers that don't need it. Joerg Wunsch 2006-11-20 15:04:09 +00:00
  • 23aeb38d13 Avoid sending a CMD_RESET when leaving programming mode, and CMD_GO when closing the connection. They cause the activity LED on the ICE to continue to flicker, and are not necessary anyway (the target starts to run by itself when leaving programmng mode). Joerg Wunsch 2006-11-13 21:14:28 +00:00
  • 074b7a0868 Avoid sending a CMD_RESET when leaving programming mode, and CMD_GO when closing the connection. They cause the activity LED on the ICE to continue to flicker, and are not necessary anyway (the target starts to run by itself when leaving programmng mode). Joerg Wunsch 2006-11-13 21:14:28 +00:00
  • 08d75b98cb * avrdude.conf.in: Add read support for lockbits on Tiny2313 device. Applies patch #5538 Colin O Flynn 2006-11-12 16:11:55 +00:00
  • 1da689ac37 * avrdude.conf.in: Add read support for lockbits on Tiny2313 device. Applies patch #5538 Colin O Flynn 2006-11-12 16:11:55 +00:00
  • 615eb73a13 Add signatures for ATmega325/3250/645/6450. Joerg Wunsch 2006-11-09 23:06:55 +00:00
  • c02384d670 Add signatures for ATmega325/3250/645/6450. Joerg Wunsch 2006-11-09 23:06:55 +00:00
  • 6d92b75e34 Preserve ${LDFLAGS} inherited from environment for Win32 environments. Joerg Wunsch 2006-11-08 12:37:05 +00:00
  • 45d7a727cd Preserve ${LDFLAGS} inherited from environment for Win32 environments. Joerg Wunsch 2006-11-08 12:37:05 +00:00
  • 4c1e35fd41 Don't pretend --enable-doc were the default. Joerg Wunsch 2006-11-07 20:32:41 +00:00
  • d11d70ea6c Don't pretend --enable-doc were the default. Joerg Wunsch 2006-11-07 20:32:41 +00:00
  • 898d885c84 Fix the width of the efuse memory area for a number of AVRs. Joerg Wunsch 2006-11-02 21:02:41 +00:00
  • 885333687c Fix the width of the efuse memory area for a number of AVRs. Joerg Wunsch 2006-11-02 21:02:41 +00:00
  • 31f93ccb59 Implement and document HVSP and PP modes for the AVR Dragon. Joerg Wunsch 2006-11-01 21:47:25 +00:00
  • 197dc966e9 Implement and document HVSP and PP modes for the AVR Dragon. Joerg Wunsch 2006-11-01 21:47:25 +00:00
  • 4e81a6be72 Implement a flags field in struct serdev, and populate it with a flag that indicates whether the underlying communication can dynamically change its speed or not. This flag is set for true serial communication but clear for USB communication. Don't try to adjust the speed when talking over a communication channel that doesn't support it. (The Dragon does not even support the respective parameter.) Joerg Wunsch 2006-10-27 08:45:47 +00:00
  • 25e7980b28 Implement a flags field in struct serdev, and populate it with a flag that indicates whether the underlying communication can dynamically change its speed or not. This flag is set for true serial communication but clear for USB communication. Don't try to adjust the speed when talking over a communication channel that doesn't support it. (The Dragon does not even support the respective parameter.) Joerg Wunsch 2006-10-27 08:45:47 +00:00