2014-06-21 Rene Liebscher patch #8419 fix ftdi_syncbb hang with libftdi 1 * ft245r.c: set pthread cancel type to asynchronous, reorder ftdi_usb_close/deinit 2014-06-17 Rene Liebscher * avrftdi_private.h: added missing msg level for avrdude_message in E/E_VOID macros 2014-06-17 Rene Liebscher Removing exit calls from config parser * config.h: cleanup, left only internally needed definitions * config.c: removed exit calls, use yyerror and yywarning * config_gram.y: (Dito.) * lexer.l: (Dito.) * libavrdude.h: removed internal definitions of config parser * main.c: removed yyerror, it is now in config.c * jtagmkII.c: added missing free in error case * pgm.c: replaced exits by returns * pickit2.c: add missing return 2014-06-13 Axel Wachtler start removing global "verbose" variable, for avrdude library. * arduino.c: added verbose level in avrdude_message() * avr910.c: (Dito.) * avr.c: (Dito.) * avrdude.h: (Dito.) * avrftdi.c: (Dito.) * avrpart.c: (Dito.) * bitbang.c: (Dito.) * buspirate.c: (Dito.) * butterfly.c: (Dito.) * config.c: (Dito.) * config_gram.y: (Dito.) * dfu.c: (Dito.) * fileio.c: (Dito.) * flip1.c: (Dito.) * flip2.c: (Dito.) * ft245r.c: (Dito.) * jtag3.c: (Dito.) * jtagmkI.c: (Dito.) * jtagmkII.c: (Dito.) * lexer.l: (Dito.) * libavrdude.h: (Dito.) * linuxgpio.c: (Dito.) * main.c: (Dito.) * par.c: (Dito.) * pgm.c: (Dito.) * pickit2.c: (Dito.) * pindefs.c: (Dito.) * ppi.c: (Dito.) * ppiwin.c: (Dito.) * safemode.c: (Dito.) * ser_avrdoper.c: (Dito.) * serbb_posix.c: (Dito.) * serbb_win32.c: (Dito.) * ser_posix.c: (Dito.) * ser_win32.c: (Dito.) * stk500.c: (Dito.) * stk500generic.c: (Dito.) * stk500v2.c: (Dito.) * term.c: (Dito.) * update.c: (Dito.) * usbasp.c: (Dito.) * usb_libusb.c: (Dito.) * usbtiny.c: (Dito.) * wiring.c: (Dito.) 2014-06-11 Rene Liebscher bug #42516 spelling-error-in-binary * stk500v2.c, avrftdi.c, usbasp.c: fixed spelling errors 2014-06-01 Rene Liebscher bug #42337 avrdude.conf updates for UM232H/CM232H * avrdude.conf.in: fixed entries as proposed 2014-05-19 Joerg Wunsch bug #41854: avrdude 6.1 does not compile on systems without libUSB Submitted by Didrik Madheden: * flip1.c: Provide dummy functions for the #ifndef HAVE_LIBUSB case * flip2.c: (Dito.) 2014-05-19 Joerg Wunsch * libavrdude.h: Join the former "public" header files (avr.h avrpart.h pindefs.h serial.h fileio.h safemode.h update.h pgm_type.h config.h confwin.h lists.h) into a single header that can be included by anyone wanting to link against the library * avr.h: Remove file. * avrpart.h: (Dito.) * pindefs.h: (Dito.) * serial.h: (Dito.) * fileio.h: (Dito.) * safemode.h: (Dito.) * update.h: (Dito.) * pgm.h: (Dito.) * pgm_type.h: (Dito.) * config.h: (Dito.) * confwin.h: (Dito.) * lists.h: (Dito.) * Makefile.am: Adapt for new include file constellation; install shared lib * configure.ac: Bump version date * arduino.c: #include rather than a bunch of different headers * avr910.c: (Dito.) * avr910.h: (Dito.) * avr.c: (Dito.) * avrftdi.c: (Dito.) * avrftdi_private.h: (Dito.) * avrftdi_tpi.c: (Dito.) * avrftdi_tpi.h: (Dito.) * avr.h: (Dito.) * avrpart.c: (Dito.) * avrpart.h: (Dito.) * bitbang.c: (Dito.) * buspirate.c: (Dito.) * butterfly.c: (Dito.) * config.c: (Dito.) * config_gram.y: (Dito.) * config.h: (Dito.) * confwin.c: (Dito.) * confwin.h: (Dito.) * dfu.c: (Dito.) * fileio.c: (Dito.) * fileio.h: (Dito.) * flip1.c: (Dito.) * flip1.h: (Dito.) * flip2.c: (Dito.) * flip2.h: (Dito.) * ft245r.c: (Dito.) * ft245r.h: (Dito.) * jtag3.c: (Dito.) * jtagmkI.c: (Dito.) * jtagmkII.c: (Dito.) * lexer.l: (Dito.) * libavrdude.h: (Dito.) * linuxgpio.c: (Dito.) * lists.c: (Dito.) * lists.h: (Dito.) * main.c: (Dito.) * par.c: (Dito.) * pgm.c: (Dito.) * pgm_type.c: (Dito.) * pgm_type.h: (Dito.) * pickit2.c: (Dito.) * pickit2.h: (Dito.) * pindefs.c: (Dito.) * pindefs.h: (Dito.) * ppi.c: (Dito.) * ppiwin.c: (Dito.) * safemode.c: (Dito.) * safemode.h: (Dito.) * ser_avrdoper.c: (Dito.) * serbb_posix.c: (Dito.) * serbb_win32.c: (Dito.) * serial.h: (Dito.) * ser_posix.c: (Dito.) * ser_win32.c: (Dito.) * stk500.c: (Dito.) * stk500generic.c: (Dito.) * stk500v2.c: (Dito.) * stk500v2_private.h: (Dito.) * term.c: (Dito.) * term.h: (Dito.) * update.c: (Dito.) * update.h: (Dito.) * usbasp.c: (Dito.) * usbasp.h: (Dito.) * usb_libusb.c: (Dito.) * usbtiny.c: (Dito.) * usbtiny.h: (Dito.) * wiring.c: (Dito.) 2014-05-19 Joerg Wunsch * main.c: Cleanup unused include files. 2014-05-19 Joerg Wunsch * linux_ppdev.h: Caught two more instances of exit() * configure.ac: Add AC_CONFIG_MACRO_DIR as suggested by libtoolize * Makefile.am: add -I m4 to ACLOCAL_AMFLAGS as suggested by libtoolize 2014-05-16 Axel Wachtler * arduino.c: Replacing all occurences of fprintf(stderr,...) with avrdude_message(...) in potential library functions. * avr910.c: (Dito.) * avr.c: (Dito.) * avrdude.h: (Dito.) * avrftdi.c: (Dito.) * avrftdi_private.h: (Dito.) * avrpart.c: (Dito.) * bitbang.c: (Dito.) * buspirate.c: (Dito.) * butterfly.c: (Dito.) * config.c: (Dito.) * config_gram.y: (Dito.) * dfu.c: (Dito.) * fileio.c: (Dito.) * flip1.c: (Dito.) * flip2.c: (Dito.) * ft245r.c: (Dito.) * jtag3.c: (Dito.) * jtagmkI.c: (Dito.) * jtagmkII.c: (Dito.) * lexer.l: (Dito.) * linuxgpio.c: (Dito.) * linux_ppdev.h: (Dito.) * main.c: (Dito.) * par.c: (Dito.) * pgm.c: (Dito.) * pickit2.c: (Dito.) * pindefs.c: (Dito.) * ppi.c: (Dito.) * ppiwin.c: (Dito.) * safemode.c: (Dito.) * ser_avrdoper.c: (Dito.) * serbb_posix.c: (Dito.) * serbb_win32.c: (Dito.) * ser_posix.c: (Dito.) * ser_win32.c: (Dito.) * stk500.c: (Dito.) * stk500generic.c: (Dito.) * stk500v2.c: (Dito.) * term.c: (Dito.) * update.c: (Dito.) * usbasp.c: (Dito.) * usb_libusb.c: (Dito.) * usbtiny.c: (Dito.) * wiring.c: (Dito.) 2014-05-16 Joerg Wunsch * configure.ac: Bump version, add libtool hooks * Makefile.am: First attempt to define building a shared library (not to be installed by now) 2014-05-16 Joerg Wunsch * dfu.c (dfu_open, dfu_init): Fix signature of the dummy functions (in the !HAVE_LIBUSB case) to match prototypes. 2014-05-16 Joerg Wunsch * avr910.c: Replace all occurences of exit() in potential library functions by appropriate return values * avrftdi.c: (Dito.) * bitbang.c: (Dito.) * bitbang.h: (Dito.) * buspirate.c: (Dito.) * butterfly.c: (Dito.) * config.c: (Dito.) * flip2.c: (Dito.) * ft245r.c: (Dito.) * jtagmkI.c: (Dito.) * jtagmkII.c: (Dito.) * linuxgpio.c: (Dito.) * main.c: (Dito.) * par.c: (Dito.) * pgm.c: (Dito.) * pickit2.c: (Dito.) * pindefs.c: (Dito.) * pindefs.h: (Dito.) * ser_avrdoper.c: (Dito.) * ser_posix.c: (Dito.) * ser_win32.c: (Dito.) * serbb_posix.c: (Dito.) * serbb_win32.c: (Dito.) * stk500.c: (Dito.) * stk500v2.c: (Dito.) 2014-05-07 Rene Liebscher bug #42310: New part description for AT90PWM216 * avrdude.conf.in: added pwm216 entry 2014-05-07 Rene Liebscher bug #42158: Linux GPIO - Source Typo * pindefs.h: fixed typo 2014-04-14 Rene Liebscher bug #42056: double free or corruption triggered at exit * pgm.c: copy usbpid list in pgm_dup 2014-04-05 Joerg Wunsch * avrdude.1: Remove the note that users might edit the system-wide config file. This file will be overwritten by the next installation, so it's not a good idea to manually modify it. Using the -C +file option is a much better way for user modifications. * doc/avrdude.texi: (Dito.) * avrdude.conf.in: Add a warning to not modify the file manually. 2014-03-13 Joerg Wunsch * configure.ac (AC_INIT): Bump version for post-6.1. 2014-03-12 Joerg Wunsch * configure.ac (AC_INIT): Bump version to 6.1. 2014-03-12 Joerg Wunsch * pgm.c (pgm_free): Cleanup police: destroy the p->usbpid list when freeing the programmer struct. 2014-03-12 Joerg Wunsch bug #40782: Verify errors for object size > 16 k on x32e5 due to typo in avrdude.conf * avrdude.conf.in (ATmega8E5, ATmega32E5): fix boot location 2014-02-28 Joerg Wunsch * avrdude.conf.in (atmelice, atmelice_pdi, atmelice_dw, atmelice_isp): New entries. * avrdude.1: Document the Atmel-ICE addition. * doc/avrdude.texi: (Dito.) * usbdevs.c (USB_DEVICE_ATMEL_ICE): New entry. 2014-02-28 Joerg Wunsch * main.c: Bump copyright year. 2014-02-28 Joerg Wunsch * jtag3.c (jtag3_recv): avoid memmov'ing more data than available 2014-02-27 Joerg Wunsch * avrdude.1: Documentation update for EDBG. * doc/avrdude.texi: (Dito.) 2014-02-27 Joerg Wunsch * jtag3.c: For EDBG protocol, always use 512-byte block I/O. The lower layers will split this according to the EP's maxsize. This makes it work over USB 1.1 connections (albeit very slowly, due to the interrupt transfers used). 2014-02-27 Joerg Wunsch * config_gram.y: Turn the usbpid parameter of the programmer into a list of PIDs. Make the JTAGICE3 programmer handle a list of PIDs, by trying each of them in sequence. Use a single, central jtag3_open_common() function to handle the common code of all jtag3_open_* functions. Centralize all USB VID/PID definitions in usbdevs.h. * flip1.c: (Dito.) * ft245r.c: (Dito.) * stk500v2.c: (Dito.) * jtag3.c: (Dito.) * jtag3.h: (Dito.) * flip2.c: (Dito.) * usbdevs.h: (Dito.) * pgm.c: (Dito.) * serial.h: (Dito.) * pgm.h: (Dito.) * usbtiny.c: (Dito.) * usbasp.c: (Dito.) * avrftdi.c: (Dito.) * usbtiny.h: (Dito.) * avrdude.conf.in: (Dito.) * usbasp.h: (Dito.) * usb_libusb.c: (Dito.) 2014-02-27 Joerg Wunsch * usb_libusb.c (usbdev_open): Replace all calls to exit(1) by return -1 2014-02-26 Joerg Wunsch * jtag3_private.h: Add EDBG/CMSIS-DAP specific constants. * jtag3.c: Add EDBG/CMSIS-DAP protocol implementation. * serial.h: (Dito.) * usbdevs.h: (Dito.) * usb_libusb.c: (Dito.) * configure.ac: (Dito.) * avrdude.conf.in: Add JTAGICE3 and XplainedPro entries using EDBG. * configure.ac: Bump version date. 2014-02-22 Joerg Wunsch * usb_libusb.c (usbdev_recv_frame): Fix a bug where a new recv request was issued even though all desired data had aldready been received. 2014-02-21 Joerg Wunsch * serial.h: Change the second parameter of the ser_open method from "baud" into a "union pinfo", so the USB parameters can be passed without hacks. * arduino.c: (Dito.) * avr910.c: (Dito.) * buspirate.c: (Dito.) * butterfly.c: (Dito.) * jtag3.c: (Dito.) * jtagmkI.c: (Dito.) * jtagmkII.c: (Dito.) * ser_avrdoper.c: (Dito.) * ser_posix.c: (Dito.) * ser_win32.c: (Dito.) * stk500.c: (Dito.) * stk500v2.c: (Dito.) * usb_libusb.c: (Dito.) * wiring.c: (Dito.) 2014-01-30 Joerg Wunsch [bug #41402] dfu.c missing include * dfu.c: include where uint16_t is defined 2014-01-28 Joerg Wunsch * avrdude.conf.in (ATmega256RFR2 et al.): Fix EEPROM size. 2014-01-27 Joerg Wunsch [bug #41357] OS X: Avrdude messes with the usb stack? * usb_libusb.c (usbdev_close): Only issue the usb_reset() for Linux systems, as these are the only ones that seem to require it under some circumstances. 2014-01-22 Joerg Wunsch * configure.ac (libelf): check against elf_getshdrstrndx() rather than just elf_begin() only, so it is clear we found a sufficiently recent libelf to work with. 2014-01-22 Joerg Wunsch Contributed by Alan Horstmann: bug #40897: AT Mega2560 not correctly programmed with stk500(v1) ISP (solution patch) * stk500.c: Implement extended address byte handling. * avrdude.conf.in (ATmega2560): enable stk500_devcode so STK500v1 protocol actually starts at all. 2014-01-17 Joerg Wunsch * flip1.c: Implement the meat of FLIP version 1 protocol. * avrdude.1: Document the new protocol. * doc/avrdude.texi: (Dito.) 2014-01-17 Joerg Wunsch * flip2.c (flip2_page_erase): Remove unimplemented function. * dfu.h: Correctly conditionalize vs. ; add adjustable timeout (struct dfu_dev); add dfu_abort() * dfu.c (dfu_abort): New function; implement adjustable timeout. 2014-01-17 Joerg Wunsch * configure.ac (libhid): Turn from AC_TRY_RUN into AC_TRY_COMPILE, so it also works for cross-compilation setups. 2014-01-16 Joerg Wunsch * dfu.c (dfu_init): Move the descriptor checks up into the FLIP protocol implementation. * flip2.c (flip2_initialize): (Dito.) * flip1.c (flip1_initialize): (Dito.) 2014-01-16 Joerg Wunsch * flip2.c: Rename from flip.c * flip2.h: Rename from flip.h * Makefile.am: Reflect the renaming. * dfu.c: Update information how to get GPL. * dfu.h: (Dito.) 2014-01-16 Joerg Wunsch * flip.c (flip2_initialize): Check user is running on an Xmega device. 2014-01-15 Joerg Wunsch * flip.c: Added some verbose-level messages (-vv) * dfu.c: Added some verbose-level messages (-vvvv) 2014-01-15 Joerg Wunsch Submitted by Kirill Levchenko: patch #7896: DFU FLIPv2 programming support * pgm_type.c: Add the flip2 programmer type. * config_gram.y: Allow for the usbid keyword in a device definition. * avrdude.conf.in: Add usbpid values to those Xmega devices where applicable. * avrpart.h: Add usbpid device field. * dfu.c: (New file.) * dfu.h: (New file.) * flip.c: (New file.) * flip.h: (New file.) * Makefile.am: Add new files. * doc/avrdude.texi: Document the changes. * avrdude.1: (Dito.) 2014-01-15 Joerg Wunsch * ChangeLog-2013: Annual changelog rotation.