db1419c93fpatch #7724 Add TPI support for Bus Pirate using bitbang mode * buspirate.[ch]: added support for BusPirate Bitbanging * avrdude.conf.in: added entry for buspirate_bb * pgm_type.c: added entry for buspirate_bb
Rene Liebscher
2013-01-30 21:15:39 +00:00
1b9eed0f8epatch #7724 Add TPI support for Bus Pirate using bitbang mode * buspirate.[ch]: added support for BusPirate Bitbanging * avrdude.conf.in: added entry for buspirate_bb * pgm_type.c: added entry for buspirate_bb
Rene Liebscher
2013-01-30 21:15:39 +00:00
67b1492b46patch #7936 Patch to support BusPirate AVR Extended Commands mode * buspirate.c: added support for BusPirate AVR Extended Commands mode * avrdude.1: added doc for nopagedread parameter * doc/avrdude.texi: added doc for nopagedread parameter
Rene Liebscher
2013-01-30 18:56:31 +00:00
51cf44ff12patch #7936 Patch to support BusPirate AVR Extended Commands mode * buspirate.c: added support for BusPirate AVR Extended Commands mode * avrdude.1: added doc for nopagedread parameter * doc/avrdude.texi: added doc for nopagedread parameter
Rene Liebscher
2013-01-30 18:56:31 +00:00
fa4ab4941fpatch #7723 Bus Pirate “raw-wire” mode which can run down to 5 kHz * buspirate.c: added raw wire mode * avrdude.1: added doc for rawfreq parameter * doc/avrdude.texi: added doc for rawfreq parameter
Rene Liebscher
2013-01-30 17:58:48 +00:00
f177b994bepatch #7723 Bus Pirate “raw-wire” mode which can run down to 5 kHz * buspirate.c: added raw wire mode * avrdude.1: added doc for rawfreq parameter * doc/avrdude.texi: added doc for rawfreq parameter
Rene Liebscher
2013-01-30 17:58:48 +00:00
2b25eba671bug #37977 Support for Openmoko Debug Board * avrdude.conf.in: added openmoko entry
Rene Liebscher
2013-01-30 16:46:31 +00:00
9dbdbf5129bug #37977 Support for Openmoko Debug Board * avrdude.conf.in: added openmoko entry
Rene Liebscher
2013-01-30 16:46:31 +00:00
6351fa6b0apatch #7932 Read USBtiny VID and PID from avrdude.conf if provided. * avrdude.conf.in: added usbpid, usbvid to usbtiny * usbtiny.[ch]: use usbpid, usbpid if provided in config file
Rene Liebscher
2013-01-29 18:33:34 +00:00
852428d8d6patch #7932 Read USBtiny VID and PID from avrdude.conf if provided. * avrdude.conf.in: added usbpid, usbvid to usbtiny * usbtiny.[ch]: use usbpid, usbpid if provided in config file
Rene Liebscher
2013-01-29 18:33:34 +00:00
fa982bcb50bug #38172: avrftdi: Incorrect information in avrdude.conf * avrdude.conf.in (avrftdi): fix comments about ACBUS vs. ADBUS; add a comment that the MPSSE signals are fixed by the FTDI hardware and cannot be changed
Joerg Wunsch
2013-01-26 20:08:40 +00:00
d4102781aebug #38172: avrftdi: Incorrect information in avrdude.conf * avrdude.conf.in (avrftdi): fix comments about ACBUS vs. ADBUS; add a comment that the MPSSE signals are fixed by the FTDI hardware and cannot be changed
Joerg Wunsch
2013-01-26 20:08:40 +00:00
274c518121patch #7165 Add support for bitbanging GPIO lines using the Linux sysf GPIO interface * doc/avrdude.texi,avrdude.1: added doc for linuxgpio * avrdude.conf.in: added template for linuxgpio programmer * config_gram.y: pin numbers restricted to [PIN_MIN, PIN_MAX] * pindefs.h: added PIN_MIN, PIN_MAX, removed unused LED_ON/OFF * configure.ac: configure option enable-linuxgpio, print of enabled options * linuxgpio.[ch]: new source for linuxgpio programmer * Makefile.am: added linuxgpio to sources list * pgm_type.c: added linuxgpio to programmer types list
Rene Liebscher
2013-01-09 19:23:30 +00:00
4479ea8858patch #7165 Add support for bitbanging GPIO lines using the Linux sysf GPIO interface * doc/avrdude.texi,avrdude.1: added doc for linuxgpio * avrdude.conf.in: added template for linuxgpio programmer * config_gram.y: pin numbers restricted to [PIN_MIN, PIN_MAX] * pindefs.h: added PIN_MIN, PIN_MAX, removed unused LED_ON/OFF * configure.ac: configure option enable-linuxgpio, print of enabled options * linuxgpio.[ch]: new source for linuxgpio programmer * Makefile.am: added linuxgpio to sources list * pgm_type.c: added linuxgpio to programmer types list
Rene Liebscher
2013-01-09 19:23:30 +00:00
76df1b5b6eReplace some stray calls to putchar() by putc(..., stderr).
Joerg Wunsch
2013-01-08 21:02:01 +00:00
a34237dce3Replace some stray calls to putchar() by putc(..., stderr).
Joerg Wunsch
2013-01-08 21:02:01 +00:00
3f74b4f7d4Fix a minor typo.
Joerg Wunsch
2013-01-02 20:31:13 +00:00
b8ba817c68Fix a minor typo.
Joerg Wunsch
2013-01-02 20:31:13 +00:00
cc65b4adab* usb_libusb.c (usbdev_open): Downgrade the max transfer size for the main data endpoints when being forced so by the USB; this can happen when attaching the JTAGICE3 to a USB 1.1 connection * jtag3.c (jtag3_initialize): When detecting a downgraded max transfer size on the JTAGICE3 (presumably, due to being connected to USB 1.1 only), bail out as its firmware cannot properly handle this (by now)
Joerg Wunsch
2013-01-02 10:16:37 +00:00
6f84a29bd7* usb_libusb.c (usbdev_open): Downgrade the max transfer size for the main data endpoints when being forced so by the USB; this can happen when attaching the JTAGICE3 to a USB 1.1 connection * jtag3.c (jtag3_initialize): When detecting a downgraded max transfer size on the JTAGICE3 (presumably, due to being connected to USB 1.1 only), bail out as its firmware cannot properly handle this (by now)
Joerg Wunsch
2013-01-02 10:16:37 +00:00
e94286da18* usbdefs.h (USBDEV_BULK_EP_WRITE_STK600) (USBDEV_BULK_EP_READ_STK600): new define values * stk500v2.c (stk600_open): use the STK600 EP values, as they are different from AVRISPmkII
Joerg Wunsch
2012-12-18 10:45:23 +00:00
baa8f5a000* usbdefs.h (USBDEV_BULK_EP_WRITE_STK600) (USBDEV_BULK_EP_READ_STK600): new define values * stk500v2.c (stk600_open): use the STK600 EP values, as they are different from AVRISPmkII
Joerg Wunsch
2012-12-18 10:45:23 +00:00
93d4697961bug #37942: Latest SVN can't program in dragon_jtag mode * jtagmkII.c (jtagmkII_initialize): For Xmega devices, and firmware >= 7.x, don't trigger a RESET, in order to work around a firmware bug that appears to be present in at least firmware 7.24 for the Dragon.
Joerg Wunsch
2012-12-18 09:20:06 +00:00
7ba3e6a3d7bug #37942: Latest SVN can't program in dragon_jtag mode * jtagmkII.c (jtagmkII_initialize): For Xmega devices, and firmware >= 7.x, don't trigger a RESET, in order to work around a firmware bug that appears to be present in at least firmware 7.24 for the Dragon.
Joerg Wunsch
2012-12-18 09:20:06 +00:00
34a01cf0ac* config_gram.y: Implement the "ocdrev" keyword * avrpart.c: (Dito) * avrpart.h: (Dito) * lexer.l: (Dito) * avrdude.conf.in: Add "ocdrev" key/value pairs, based on the AS6 XML file information. * jtag3.c: Use the ocdrev in the parameter block.
Joerg Wunsch
2012-12-04 13:59:37 +00:00
0764958d0f* config_gram.y: Implement the "ocdrev" keyword * avrpart.c: (Dito) * avrpart.h: (Dito) * lexer.l: (Dito) * avrdude.conf.in: Add "ocdrev" key/value pairs, based on the AS6 XML file information. * jtag3.c: Use the ocdrev in the parameter block.
Joerg Wunsch
2012-12-04 13:59:37 +00:00
1daf387df5* jtag3.c: Make jtag3_command() public * jtag3.h: (Dito.) * jtag3_private.h: Add two new commands * stk500v2.c: Implement the "MonCon disable" hack that allows temporarily falling back to ISP when trying to talk to a part that has debugWIRE enabled
Joerg Wunsch
2012-12-03 21:03:06 +00:00
179fc32c03* jtag3.c: Make jtag3_command() public * jtag3.h: (Dito.) * jtag3_private.h: Add two new commands * stk500v2.c: Implement the "MonCon disable" hack that allows temporarily falling back to ISP when trying to talk to a part that has debugWIRE enabled
Joerg Wunsch
2012-12-03 21:03:06 +00:00
62f798bc54Enable interactive adjustment of the various clock frequencies (JTAG Xmega, JTAG megaAVR, PDI Xmega) through the set_sck_period() callback.
Joerg Wunsch
2012-12-03 16:52:23 +00:00
bf6fb8c947Enable interactive adjustment of the various clock frequencies (JTAG Xmega, JTAG megaAVR, PDI Xmega) through the set_sck_period() callback.
Joerg Wunsch
2012-12-03 16:52:23 +00:00
a0fb4bdb3fRemove unused code that was left over from cloning the jtagmkII.c implementation
Joerg Wunsch
2012-12-03 16:09:34 +00:00
f383f714e6Remove unused code that was left over from cloning the jtagmkII.c implementation
Joerg Wunsch
2012-12-03 16:09:34 +00:00
2c540d02b6* pgm_type.c: Add "jtagice3_isp" programmer hook * avrdude.conf.in: Add "jtag3isp" programmer * jtag3.c: jtag3_setparm() is now public * jtag3.h: (Dito) * stk500v2_private.h: Command 0x1D is CMD_SPI_MULTI only for STK500v2, AVRISPmkII, and JTAGICEmkII; for JTAGICE3, it's CMD_SET_SCK now; also add CMD_GET_SCK * avrpart.c (avr_get_output_index): New function * avrpart.h: (Dito) * stk500v2.c: Implement the pasthrough programmer glue logic for JTAGICE3 in ISP mode * stk500v2.h: (Dito) * avrdude.1: Document the JTAGICE3 support.
Joerg Wunsch
2012-12-03 15:52:38 +00:00
d7930063cc* pgm_type.c: Add "jtagice3_isp" programmer hook * avrdude.conf.in: Add "jtag3isp" programmer * jtag3.c: jtag3_setparm() is now public * jtag3.h: (Dito) * stk500v2_private.h: Command 0x1D is CMD_SPI_MULTI only for STK500v2, AVRISPmkII, and JTAGICEmkII; for JTAGICE3, it's CMD_SET_SCK now; also add CMD_GET_SCK * avrpart.c (avr_get_output_index): New function * avrpart.h: (Dito) * stk500v2.c: Implement the pasthrough programmer glue logic for JTAGICE3 in ISP mode * stk500v2.h: (Dito) * avrdude.1: Document the JTAGICE3 support.
Joerg Wunsch
2012-12-03 15:52:38 +00:00
1acbb2fb64Add a failure code for debugWIRE communication failures I happened to run into.
Joerg Wunsch
2012-11-30 22:18:34 +00:00
2b407ef73dAdd a failure code for debugWIRE communication failures I happened to run into.
Joerg Wunsch
2012-11-30 22:18:34 +00:00
c5df7c5284* jtag3.c (jtag3_read_byte, jtag3_write_byte): Remove the m->offset from addr, JTAGICE3 doesn't need it anymore (similar to JTAGICEmkII with 7+ firmware) * jtag3.c (jtag3_read_byte): Allow for full-page reads of EEPROM also for Xmega and debugWIRE, allow for signature read in debugWIRE
Joerg Wunsch
2012-11-30 12:51:07 +00:00
6b815d76c3* jtag3.c (jtag3_read_byte, jtag3_write_byte): Remove the m->offset from addr, JTAGICE3 doesn't need it anymore (similar to JTAGICEmkII with 7+ firmware) * jtag3.c (jtag3_read_byte): Allow for full-page reads of EEPROM also for Xmega and debugWIRE, allow for signature read in debugWIRE
Joerg Wunsch
2012-11-30 12:51:07 +00:00
bc23715902* jtag3_private.h: Add two more error detail codes I stumbled across during development * jtag3.c: (Dito.) * usb_libusb.c: Reduce timeouts from 100 to 10 s, still long enough, but not getting cold feet when something goes wrong.
Joerg Wunsch
2012-11-30 12:36:00 +00:00
b3ff415b9e* jtag3_private.h: Add two more error detail codes I stumbled across during development * jtag3.c: (Dito.) * usb_libusb.c: Reduce timeouts from 100 to 10 s, still long enough, but not getting cold feet when something goes wrong.
Joerg Wunsch
2012-11-30 12:36:00 +00:00
1948e4ff3f* jtag3.c: Handle events returned by the ICE * usbdevs.h: Add defines that mark an event in return from usb_recv_frame(). * usb_libusb.c: (Dito.)
Joerg Wunsch
2012-11-29 21:43:54 +00:00
63989b1d3c* jtag3.c: Handle events returned by the ICE * usbdevs.h: Add defines that mark an event in return from usb_recv_frame(). * usb_libusb.c: (Dito.)
Joerg Wunsch
2012-11-29 21:43:54 +00:00
457a35eb73* avrdude.conf.in: Remove "has_jtag" from Xmega A4 and D4 devices, as they only have PDI.
Joerg Wunsch
2012-11-29 14:23:18 +00:00
30ef6e5c95* avrdude.conf.in: Remove "has_jtag" from Xmega A4 and D4 devices, as they only have PDI.
Joerg Wunsch
2012-11-29 14:23:18 +00:00
89d6d2d982bug #37265: wrong page sizes for XMega64xx in avrdude.conf * avrdude.conf.in: Fix page sizes for all Xmega devices, by cross-checking against Atmel Studio's device XML files
Joerg Wunsch
2012-11-29 14:12:41 +00:00
ed9ae0b503bug #37265: wrong page sizes for XMega64xx in avrdude.conf * avrdude.conf.in: Fix page sizes for all Xmega devices, by cross-checking against Atmel Studio's device XML files
Joerg Wunsch
2012-11-29 14:12:41 +00:00
2abf90726e* jtag3.c: Fill in the missing pieces for Xmega support (both, PDI and JTAG). * jtagmkII.c (jtagmkII_set_xmega_params): Use "fuse1" rather than "fuse0" memory space to fill in the NVM offset from, as there is no "fuse0" on some Xmega devices.
Joerg Wunsch
2012-11-29 13:31:11 +00:00
5d2fc235cc* jtag3.c: Fill in the missing pieces for Xmega support (both, PDI and JTAG). * jtagmkII.c (jtagmkII_set_xmega_params): Use "fuse1" rather than "fuse0" memory space to fill in the NVM offset from, as there is no "fuse0" on some Xmega devices.
Joerg Wunsch
2012-11-29 13:31:11 +00:00
f884583e40Add device support for the recently released ATmega*RFR2 family.
Joerg Wunsch
2012-11-29 09:32:27 +00:00
3bb345359aAdd device support for the recently released ATmega*RFR2 family.
Joerg Wunsch
2012-11-29 09:32:27 +00:00
7a9db49e7cFirst support for Atmel JTAGICE3. Guessed from USB sniffer traces made by Knut Schwichtenberg, and by similarity to JTAGICEmkII.
Joerg Wunsch
2012-11-28 22:39:01 +00:00
6c95ae96b7First support for Atmel JTAGICE3. Guessed from USB sniffer traces made by Knut Schwichtenberg, and by similarity to JTAGICEmkII.
Joerg Wunsch
2012-11-28 22:39:01 +00:00
1af820c0b9Change all the USB details (endpoint numbers, max transfer size etc.) to a per-programmer adjustable value.
Joerg Wunsch
2012-11-26 16:24:56 +00:00
9924b5c06eChange all the USB details (endpoint numbers, max transfer size etc.) to a per-programmer adjustable value.
Joerg Wunsch
2012-11-26 16:24:56 +00:00
147137a218Replace outdated FSF postal address by a reference to the GPL info on their website.
Joerg Wunsch
2012-11-20 14:03:50 +00:00
39ac451895Replace outdated FSF postal address by a reference to the GPL info on their website.
Joerg Wunsch
2012-11-20 14:03:50 +00:00
3823e9c405bug #35186 inverting pins with "~" doesn't work for pin lists (i.e. vcc) bug #37727 Add support for LM3S811 dev board as a programmer * lexer.l,config_gram.y: accepting inverted pins at pin lists syntax: ~num or ~(num,num,...) * par.c: par_set_many_bits is now usable with inverted pins * avrftdi.c: fixed wrong index in ftdi_pin_name * avrdude.conf.in: added programmer lm3s811
Rene Liebscher
2012-11-13 21:34:02 +00:00
4b6b934c91bug #35186 inverting pins with "~" doesn't work for pin lists (i.e. vcc) bug #37727 Add support for LM3S811 dev board as a programmer * lexer.l,config_gram.y: accepting inverted pins at pin lists syntax: ~num or ~(num,num,...) * par.c: par_set_many_bits is now usable with inverted pins * avrftdi.c: fixed wrong index in ftdi_pin_name * avrdude.conf.in: added programmer lm3s811
Rene Liebscher
2012-11-13 21:34:02 +00:00
673f43f37d* lexer.l,config_gram.y,config.[hc]: changed reading of numbers to integers except of default_bitclock which is the only real number. No signs are allowed as negative values do not make sense for current config values. * buspirate.c: include own header file buspirate.h * doc/.cvsignore: add programmers.texi to ignore list
Rene Liebscher
2012-11-04 17:18:59 +00:00
fe204c55b8* lexer.l,config_gram.y,config.[hc]: changed reading of numbers to integers except of default_bitclock which is the only real number. No signs are allowed as negative values do not make sense for current config values. * buspirate.c: include own header file buspirate.h * doc/.cvsignore: add programmers.texi to ignore list
Rene Liebscher
2012-11-04 17:18:59 +00:00
dd3ce5f0e1Add EXTRA_DIST, replace $(srcdir) by $(builddir) for generated files, so "make distcheck" works again.
Joerg Wunsch
2012-09-06 15:33:09 +00:00
498981c109Add EXTRA_DIST, replace $(srcdir) by $(builddir) for generated files, so "make distcheck" works again.
Joerg Wunsch
2012-09-06 15:33:09 +00:00
4a33bc5c82fixed doc/Makefile.am for use with BSD make
Rene Liebscher
2012-09-05 20:52:40 +00:00
e2c61ee7b0fixed doc/Makefile.am for use with BSD make
Rene Liebscher
2012-09-05 20:52:40 +00:00
b704e9e89fpatch #7184 Support for PICKit2 programmer * Makefile.am: add pickit2 files * pickit2.[ch]: new programmer implementation * pgm_type.c: add pickit to list * avrdude.1: documentation for pickit2 * doc/avrdude.texi: documentation for pickit2 * avrdude.conf.in: add pickit2 programmer entry
Rene Liebscher
2012-08-15 18:34:53 +00:00
4f362e6424patch #7184 Support for PICKit2 programmer * Makefile.am: add pickit2 files * pickit2.[ch]: new programmer implementation * pgm_type.c: add pickit to list * avrdude.1: documentation for pickit2 * doc/avrdude.texi: documentation for pickit2 * avrdude.conf.in: add pickit2 programmer entry
Rene Liebscher
2012-08-15 18:34:53 +00:00
926269f39fbug #30559 Ft232 bit-bang support, see comment #30 * ft245r.c: added semaphore workaround for MacOS X, added pthread_testcancel in reader thread
Rene Liebscher
2012-08-15 17:31:11 +00:00
14ba5b7666bug #30559 Ft232 bit-bang support, see comment #30 * ft245r.c: added semaphore workaround for MacOS X, added pthread_testcancel in reader thread
Rene Liebscher
2012-08-15 17:31:11 +00:00
15ab375553Fixes 'label at end of compound statement' error introdcued in r1099
Hannes Weisbach
2012-08-13 19:31:38 +00:00
0cb3966136Fixes 'label at end of compound statement' error introdcued in r1099
Hannes Weisbach
2012-08-13 19:31:38 +00:00
cee2c0cd39Fixes pin_limit error in avrftdic.
Hannes Weisbach
2012-08-13 19:03:41 +00:00
f3e5e5b8d5Fixes pin_limit error in avrftdic.
Hannes Weisbach
2012-08-13 19:03:41 +00:00
bcd3ba87f3Adds bugfixes and maintenance for avrftdi
Hannes Weisbach
2012-07-29 12:29:39 +00:00
5aaecc6ae7Adds bugfixes and maintenance for avrftdi
Hannes Weisbach
2012-07-29 12:29:39 +00:00
777c9117c8Adds ChangeLog entry for Rev 1095
Hannes Weisbach
2012-07-25 16:36:17 +00:00
23326f0ebeAdds ChangeLog entry for Rev 1095
Hannes Weisbach
2012-07-25 16:36:17 +00:00
be820748f2Return MTYPE_FLASH from jtagmkII_memtype() rather than MTYPE_SPM for non-Xmega flash regions.
Joerg Wunsch
2012-07-25 14:56:39 +00:00
a206c7c2dfReturn MTYPE_FLASH from jtagmkII_memtype() rather than MTYPE_SPM for non-Xmega flash regions.
Joerg Wunsch
2012-07-25 14:56:39 +00:00
534f635763Adds avr_pin_name()
Hannes Weisbach
2012-07-20 20:05:30 +00:00
f9a24c3427Adds avr_pin_name()
Hannes Weisbach
2012-07-20 20:05:30 +00:00
5379f36061Add ChangeLogs for 2010 and 2011 to distribution.
Joerg Wunsch
2012-07-18 13:59:02 +00:00
0440263cebAdd ChangeLogs for 2010 and 2011 to distribution.
Joerg Wunsch
2012-07-18 13:59:02 +00:00
a8b5742512Test for libelf.h in subdirectory libelf, too, and inlude it from there if test was positive.
Joerg Wunsch
2012-07-18 12:42:47 +00:00
6d200b83e1Test for libelf.h in subdirectory libelf, too, and inlude it from there if test was positive.
Joerg Wunsch
2012-07-18 12:42:47 +00:00
d486a0a1cdSubmitted by Rene Liebscher:
Joerg Wunsch
2012-06-13 20:45:22 +00:00
5a4c46b6a8Submitted by Rene Liebscher:
Joerg Wunsch
2012-06-13 20:45:22 +00:00
bde3c841e5* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write): fix breakage introduced by the recent page handling reorg; it used to cause an infinite loop
Joerg Wunsch
2012-06-07 14:07:17 +00:00
688b628018* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write): fix breakage introduced by the recent page handling reorg; it used to cause an infinite loop
Joerg Wunsch
2012-06-07 14:07:17 +00:00