Commit Graph

  • 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
  • 863e3f6c92 Sigh, fix yet another printf() format warning (on 64-bit architectures). joerg_wunsch 2006-12-11 15:33:19 +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
  • dd48976e55 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
  • 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
  • b4807ef7da Colin O'Flynn <coflynn@newae.com> c_oflynn 2006-12-11 14:41:59 +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
  • 5b53108e63 Submitted by Nick Lott: joerg_wunsch 2006-12-11 14:23:46 +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
  • 6cd309f1c0 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
  • 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
  • 4beee5ff79 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
  • 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
  • 31fa98b708 Make the code compile warning-free: joerg_wunsch 2006-12-11 12:47:35 +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
  • 8bd117dccf Implement EEPROM access through debugWire. joerg_wunsch 2006-11-23 07:07:06 +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
  • aef8e953ab 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
  • 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
  • 4bbd40415d 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
  • 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
  • 134947dc7f 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
  • 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
  • 098a6c6bea Mention our debugWire support. joerg_wunsch 2006-11-21 11:19:10 +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
  • 8ed8377442 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
  • 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
  • 46e0286657 jtagmkI_close(): remove two unused variables. joerg_wunsch 2006-11-20 22:07:25 +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
  • 80d0bb3ee7 Fix date of last changelog entry (copy&paste-o). joerg_wunsch 2006-11-20 21:35:26 +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
  • c0b3f461fd 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
  • 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
  • 351f329ec8 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
  • 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
  • f330e73b79 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
  • 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
  • 7d601905e4 * avrdude.conf.in: Add read support for lockbits on Tiny2313 device. Applies patch #5538 c_oflynn 2006-11-12 16:11:55 +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
  • 8749d4562f Add signatures for ATmega325/3250/645/6450. joerg_wunsch 2006-11-09 23:06: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
  • 1ef6c7ab77 Preserve ${LDFLAGS} inherited from environment for Win32 environments. joerg_wunsch 2006-11-08 12:37:05 +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
  • a304b7e0e3 Don't pretend --enable-doc were the default. joerg_wunsch 2006-11-07 20:32:41 +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
  • 8f24c5b181 Fix the width of the efuse memory area for a number of AVRs. joerg_wunsch 2006-11-02 21:02: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
  • c35b4481dc Implement and document HVSP and PP modes for the AVR Dragon. joerg_wunsch 2006-11-01 21:47:25 +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
  • 0e4819c0e7 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
  • 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
  • 2f798223d1 Add support for the AVR Dragon (JTAG and ISP mode). joerg_wunsch 2006-10-26 21:14:10 +00:00
  • 90d6100d88 Add support for the AVR Dragon (JTAG and ISP mode). Joerg Wunsch 2006-10-26 21:14:10 +00:00
  • 38c5d278aa Add support for the AVR Dragon (JTAG and ISP mode). Joerg Wunsch 2006-10-26 21:14:10 +00:00
  • c41831dd90 This is post-release 5.2 now. joerg_wunsch 2006-10-09 14:57:18 +00:00
  • 08fc2b8a81 This is post-release 5.2 now. Joerg Wunsch 2006-10-09 14:57:18 +00:00
  • f2d7a52f51 This is post-release 5.2 now. Joerg Wunsch 2006-10-09 14:57:18 +00:00
  • 71714c3e5f This commit was manufactured by cvs2svn to create tag 'RELEASE_5_2_0'. v5.2.0 Joerg Wunsch 2006-10-09 14:47:30 +00:00
  • cc389a88b8 Bump version for release 5.2. joerg_wunsch 2006-10-09 14:47:29 +00:00
  • 381da63571 Bump version for release 5.2. Joerg Wunsch 2006-10-09 14:47:29 +00:00
  • 79ce8f34bf Bump version for release 5.2. Joerg Wunsch 2006-10-09 14:47:29 +00:00
  • 319d25efc4 Submitted by John Voltz: add AVR053 oscillator calibration. * main.c: Add the -O option. * pgm.c: Add the hook for the perform_osccal() method. * pgm.h: (Ditto.) * stk500v2.c: Implement perform_osccal(). * avrdude.1: Document the -O option. * doc/avrdude.texi: (Ditto.) Partially closes bug #17487: AVR RC oscillator calibration routine not supported (feature request) joerg_wunsch 2006-10-09 14:34:24 +00:00
  • 2cfccda03d Submitted by John Voltz: add AVR053 oscillator calibration. * main.c: Add the -O option. * pgm.c: Add the hook for the perform_osccal() method. * pgm.h: (Ditto.) * stk500v2.c: Implement perform_osccal(). * avrdude.1: Document the -O option. * doc/avrdude.texi: (Ditto.) Partially closes bug #17487: AVR RC oscillator calibration routine not supported (feature request) Joerg Wunsch 2006-10-09 14:34:24 +00:00
  • 2ccc76a66d Submitted by John Voltz: add AVR053 oscillator calibration. * main.c: Add the -O option. * pgm.c: Add the hook for the perform_osccal() method. * pgm.h: (Ditto.) * stk500v2.c: Implement perform_osccal(). * avrdude.1: Document the -O option. * doc/avrdude.texi: (Ditto.) Partially closes bug #17487: AVR RC oscillator calibration routine not supported (feature request) Joerg Wunsch 2006-10-09 14:34:24 +00:00
  • bed6aab084 Submitted by freckle@sf.net: * stk500.c (stk500_paged_write): Send the command and the data payload within a single write(). patch #5025: Improve stk500.c robustness joerg_wunsch 2006-10-09 09:56:10 +00:00
  • 57028107ff Submitted by freckle@sf.net: * stk500.c (stk500_paged_write): Send the command and the data payload within a single write(). patch #5025: Improve stk500.c robustness Joerg Wunsch 2006-10-09 09:56:10 +00:00
  • 6b8fa85a0b Submitted by freckle@sf.net: * stk500.c (stk500_paged_write): Send the command and the data payload within a single write(). patch #5025: Improve stk500.c robustness Joerg Wunsch 2006-10-09 09:56:10 +00:00
  • cbb96b1401 Make the private prototype for gettimeofday() only visible if the autoconfiguration figured out we need it. The private implementation has already been protected that way. joerg_wunsch 2006-09-30 20:48:17 +00:00
  • a0e56daa3b Make the private prototype for gettimeofday() only visible if the autoconfiguration figured out we need it. The private implementation has already been protected that way. Joerg Wunsch 2006-09-30 20:48:17 +00:00
  • 8c215d1da5 Make the private prototype for gettimeofday() only visible if the autoconfiguration figured out we need it. The private implementation has already been protected that way. Joerg Wunsch 2006-09-30 20:48:17 +00:00
  • 46d9258164 The return type of gettimeofday() is actually int' not void'. joerg_wunsch 2006-09-30 19:36:22 +00:00
  • 63c15e7eca The return type of gettimeofday() is actually int' not void'. Joerg Wunsch 2006-09-30 19:36:22 +00:00
  • 860aea6e04 The return type of gettimeofday() is actually int' not void'. Joerg Wunsch 2006-09-30 19:36:22 +00:00
  • 9f0947a175 Fix prototype for gettimeofday(). joerg_wunsch 2006-09-29 20:52:32 +00:00
  • 700ad46615 Fix prototype for gettimeofday(). Joerg Wunsch 2006-09-29 20:52:32 +00:00