Commit graph

  • 83ff6d306d bug #37441: lockbits in ATxmega + avrdude = problem * fileio.c: replace strmcp(..., "lock") by strncmp(..., "lock", 4) where applicable Joerg Wunsch 2014-10-15 20:01:12 +00:00
  • 3d5beb40df bug #42267: jtag3isp fails to read lock and fuse bytes directly after changing lock byte * stk500v2.c (stk500isp_write_byte): As a workaround for broken tool firmware, add 10 ms of delay before returning from any single-byte write operation. Joerg Wunsch 2014-10-07 15:21:14 +00:00
  • b348d97620 * stk500v2.c: Use stk500isp_read_byte/stk500isp_write_byte for every byte-wide access (rather than JTAGICE3 only). This finally obsoletes the use of the prehistoric SPI_MULTI command where AVRDUDE used to assemble all the low-level ISP stuff by itself. Joerg Wunsch 2014-10-06 22:15:29 +00:00
  • 361e948a7a bug #22248: Read efuse error * avrdude.conf.in (m168, m328, m48, m88, t1634, t26, t261, t461, t861, t88): In efuse (or hfuse for t26) read operation, turn all bits in byte 3 from "x" to "o" (output); this is a first step towards fixing the symptoms mentioned in the bug, by unifying the behaviour between different AVRs. Not touched are the historic devices where the fuses are not documented to form a full byte each (2333, 4433, 4434, 8535, m103, m161, m163). Joerg Wunsch 2014-10-06 13:35:14 +00:00
  • cdee435f8b bug #43268: usb_drain() call causes LUFA AVR-ISP MKII Code to Fail * usb_libusb.c (usbdev_drain): Make this a dummy function only. Joerg Wunsch 2014-09-22 10:01:39 +00:00
  • 0136b7dd1b patch #7694 Add support for the atmega32m1 * avrdude.conf.in: added ATmega32M1 Rene Liebscher 2014-08-19 20:06:44 +00:00
  • 1ec0fb131e patch #8440 Print part id after signature When printing the part signature also print the part id. * avrpart.c (locate_part_by_signature): New function. * libavrdude.h (locate_part_by_signature): New function. * main.c (main): Use the new function to find the part and print its id. Rene Liebscher 2014-08-18 21:43:08 +00:00
  • 17bb2a10cd patch #8511 Fix reset on FT245R * ft245r.c: applied patch Rene Liebscher 2014-08-18 21:08:05 +00:00
  • b3982b24f8 bug #43002 usbasp debug output typo * usbasp.c: fixed typos Rene Liebscher 2014-08-18 20:40:32 +00:00
  • a226a8a922 bug #42662 clang warnings under FreeBSD 10.x * avrftdi.h: Fix header guard macro name. * pgm_type.c (programmers_types): Remove duplicate "const". Joerg Wunsch 2014-07-16 20:38:52 +00:00
  • 8fd3870861 bug #42662 clang warnings under FreeBSD 10.x * avrftdi.c: remove warnings * buspirate.c: (Dito.) * dfu.c: (Dito.) * fileio.c: (Dito.) * libavrdude.h: (Dito.) * pickit2.c: (Dito.) * safemode.c: (Dito.) * ser_avrdoper.c: (Dito.) * ser_posix.c: (Dito.) * ser_win32.c: (Dito.) * stk500v2.c: (Dito.) * usb_libusb.c: (Dito.) * usbasp.c: (Dito.) Rene Liebscher 2014-07-16 20:02:01 +00:00
  • 8a387a198f fixed bug from -r1305, patch #8463 Axel Wachtler 2014-07-11 16:55:14 +00:00
  • 960a7bc9d0 Add SVN properties to text file. Joerg Wunsch 2014-06-24 15:26:14 +00:00
  • ec361815fa * linux_ppdev.h: added missing msg level for avrdude_message in ppi_claim/ppi_release macros * avrftdi.c: added break at end of default Rene Liebscher 2014-06-23 20:20:38 +00:00
  • eab60712a0 patch #8419 fix ftdi_syncbb hang with libftdi 1 * ft245r.c: set pthread cancel type to asynchronous, reorder ftdi_usb_close/deinit Rene Liebscher 2014-06-21 21:29:18 +00:00
  • f57f89bfec avrftdi_private.h: added missing msg level for avrdude_message in E/E_VOID macros Rene Liebscher 2014-06-17 20:27:37 +00:00
  • 2d2f71fb28 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 Rene Liebscher 2014-06-17 20:08:28 +00:00
  • c6788bd795 added verbose level in avrdude_message() Axel Wachtler 2014-06-13 20:07:40 +00:00
  • 471b504278 fix some more spelling errors Rene Liebscher 2014-06-11 08:45:14 +00:00
  • 4ddd784940 bug #42516 spelling-error-in-binary * stk500v2.c, avrftdi.c, usbasp.c: fixed spelling errors Rene Liebscher 2014-06-11 07:17:54 +00:00
  • 14ffb37cfd bug #42337 avrdude.conf updates for UM232H/CM232H Rene Liebscher 2014-06-01 20:18:27 +00:00
  • 29aab53b6f add missing ) in linuxgpio.c Rene Liebscher 2014-05-27 19:50:28 +00:00
  • 046d324d32 More libtool stuff to be ignored by SVN. Joerg Wunsch 2014-05-19 13:09:52 +00:00
  • 9d8f653f66 Add the "m4" directory to the list of files ignored by SVN. Joerg Wunsch 2014-05-19 13:07:58 +00:00
  • d3149cee79 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.) Joerg Wunsch 2014-05-19 12:32:33 +00:00
  • 8b3a4aab56 Yet another slip from previous commits. Joerg Wunsch 2014-05-19 12:06:20 +00:00
  • 94eed0dffe Remove obsolete file (forgotten in previous commit). Joerg Wunsch 2014-05-19 12:04:04 +00:00
  • d09bc2e1fb 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. Joerg Wunsch 2014-05-19 10:01:59 +00:00
  • d8089139d2 Cleanup unused include files. Joerg Wunsch 2014-05-19 08:52:00 +00:00
  • 491876339b ppi_open() does not return a value Joerg Wunsch 2014-05-19 08:48:30 +00:00
  • 8a6f8b04bd * 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 Joerg Wunsch 2014-05-19 08:46:52 +00:00
  • 15a08ee93f added Changelog entry for rev 1305/1306 Axel Wachtler 2014-05-18 11:34:36 +00:00
  • 3d4445ae87 Submitted by Georg von Zengen: patch #8463: typo in rev 1305 Joerg Wunsch 2014-05-18 10:58:40 +00:00
  • eb5fcb581f Exchange of fprintf(stderr, ...) with avrdude_message(...). Axel Wachtler 2014-05-18 08:41:46 +00:00
  • 52dd5cc7ac Make a first attempt to build a shared library (not to be installed by now). Joerg Wunsch 2014-05-16 17:50:40 +00:00
  • 96647f1486 * dfu.c (dfu_open, dfu_init): Fix signature of the dummy functions (in the !HAVE_LIBUSB case) to match prototypes. Joerg Wunsch 2014-05-16 16:02:29 +00:00
  • a13d8b1ecf Fix syntax error (forgotten closing paren). Joerg Wunsch 2014-05-16 16:01:08 +00:00
  • 57903bdeb8 Replace all occurences of exit() in potential library code by appropriate return values. Joerg Wunsch 2014-05-16 15:52:25 +00:00
  • 2eec999cdb bug #42310: New part description for AT90PWM216 * avrdude.conf.in: added pwm216 entry Rene Liebscher 2014-05-07 21:19:12 +00:00
  • 868416dbba bug #42158 Linux GPIO - Source Typo * pindefs.h: fixed typo Rene Liebscher 2014-05-07 20:53:34 +00:00
  • 487584b784 bug #42056: double free or corruption triggered at exit * pgm.c: copy usbpid list in pgm_dup Rene Liebscher 2014-04-14 21:41:43 +00:00
  • 408184c43d Add a warning to not modify the file manually. Joerg Wunsch 2014-04-05 08:01:08 +00:00
  • 584654b70e 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. Joerg Wunsch 2014-04-05 07:58:58 +00:00
  • d69b85c974 Bump everything for post-6.1-release. Joerg Wunsch 2014-03-12 23:15:46 +00:00
  • 57ac257fe3 Add the avrdude subdirectory that was accidentally forgotten when creating the tag. v6.1 Joerg Wunsch 2014-03-12 23:03:18 +00:00
  • 978347abea Back out freeing p->usbpid by now, it makes avdude dump core for "-p ?". Joerg Wunsch 2014-03-12 22:58:00 +00:00
  • 0176e378b9 Release version 6.1. Joerg Wunsch 2014-03-12 22:35:33 +00:00
  • 3e0b544560 Bump version to 6.1; prepare for release. Joerg Wunsch 2014-03-12 22:34:08 +00:00
  • a341da1fec * pgm.c (pgm_free): Cleanup police: destroy the p->usbpid list when freeing the programmer struct. Joerg Wunsch 2014-03-12 21:20:32 +00:00
  • b9420a9831 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 Joerg Wunsch 2014-03-12 21:08:05 +00:00
  • e4abb62ddb Add the new Atmel-ICE, in all of JTAG, PDI, dW, and ISP modes. Joerg Wunsch 2014-02-28 14:36:38 +00:00
  • e6410fc5db Bump copyright year. Joerg Wunsch 2014-02-28 14:26:24 +00:00
  • a1933951b4 In jtag3_recv, avoid memmov'ing more data than available Joerg Wunsch 2014-02-28 14:24:48 +00:00
  • f7bb8a1c2a Documentation updates for EDBG. Joerg Wunsch 2014-02-27 13:32:58 +00:00
  • 98febe591a 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). Joerg Wunsch 2014-02-27 13:26:15 +00:00
  • 343330fddd 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. Joerg Wunsch 2014-02-27 13:06:03 +00:00
  • 0ca7d30267 If the device is not open, don't try closing it. Joerg Wunsch 2014-02-27 07:35:15 +00:00
  • 2de8e9c8ca usbdev_close() returns nothing. Joerg Wunsch 2014-02-27 07:34:33 +00:00
  • 3977713be0 If there's no USB handle, bail out from all functions immediately. Joerg Wunsch 2014-02-27 07:31:55 +00:00
  • b363c7b710 In usbdev_open(), replace all calls to exit(1) by return -1. Joerg Wunsch 2014-02-27 07:20:32 +00:00
  • e59df50eeb Implement the Atmel EDBG/CMSIS-DAP driver protocol for JTAGICE3 (running firmware 3.x) and XplainedPro boards. Joerg Wunsch 2014-02-26 17:54:32 +00:00
  • 7f2079731b In usbdev_recv_frame(), fix a bug where a new recv request was issued even though all desired data had aldready been received. Joerg Wunsch 2014-02-22 20:30:16 +00:00
  • f80f51f6a9 Change the second parameter of the ser_open method from "baud" into a "union pinfo", so the USB parameters can be passed without hacks. Joerg Wunsch 2014-02-21 13:44:11 +00:00
  • 2dab4109fe #include <stdint.h> so uint16_t is correctly defined. Joerg Wunsch 2014-01-30 12:53:27 +00:00
  • eed99eb1a9 Fix EEPROM size of ATmega256RFR2 et al. Joerg Wunsch 2014-01-28 22:01:47 +00:00
  • 9ec6cf8e32 [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. Joerg Wunsch 2014-01-27 21:15:28 +00:00
  • 8437de71d1 * 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. Joerg Wunsch 2014-01-22 10:44:18 +00:00
  • 78133fdfba Update bug ID for STK500v1 patch for devices > 128 KiB. Joerg Wunsch 2014-01-22 07:51:33 +00:00
  • 83ec8ba013 Contributed by Alan Horstmann: Fix handling of devices > 128 KiB in stk500v1 protocol * stk500.c: Implement extended address byte handling. * avrdude.conf.in (ATmega2560): enable stk500_devcode so STK500v1 protocol actually starts at all. Joerg Wunsch 2014-01-22 07:42:18 +00:00
  • 4c645d7945 Implement the meat of FLIP version 1 protocol, and document it. Joerg Wunsch 2014-01-17 16:54:33 +00:00
  • fcb5db7152 * flip2.c (flip2_page_erase): Remove unimplemented function. * dfu.h: Correctly conditionalize <usb.h> vs. <lusb0_usb.h>; add adjustable timeout (struct dfu_dev); add dfu_abort() * dfu.c (dfu_abort): New function; implement adjustable timeout. Joerg Wunsch 2014-01-17 14:00:01 +00:00
  • 74e1b66a67 * configure.ac (libhid): Turn from AC_TRY_RUN into AC_TRY_COMPILE, so it also works for cross-compilation setups. Joerg Wunsch 2014-01-17 08:27:48 +00:00
  • 88ea96e5e5 Move the descriptor checks up from dfu_init() into the FLIP protocol implementation. Joerg Wunsch 2014-01-16 08:11:19 +00:00
  • c782e1979e Clone a FLIPv1 protocol implementation from FLIPv2. Joerg Wunsch 2014-01-16 07:57:36 +00:00
  • d90c344377 Change name of flip2.h include file. Joerg Wunsch 2014-01-16 07:42:53 +00:00
  • 3994114df8 Also change the idempotency #ifdef to reflect the name change. Joerg Wunsch 2014-01-16 07:36:44 +00:00
  • 3ace80a0e8 * 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.) Joerg Wunsch 2014-01-16 07:34:40 +00:00
  • 7099d67003 Add the 2013 ChangeLog file to distribution. Joerg Wunsch 2014-01-16 07:28:53 +00:00
  • b82aca47d5 In flip2_initialize(), check user is running on an Xmega device. Joerg Wunsch 2014-01-16 07:27:41 +00:00
  • e2462d535f Added some verbose-level messages. Joerg Wunsch 2014-01-15 16:32:11 +00:00
  • efc87b6d2e 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.) Joerg Wunsch 2014-01-15 13:34:49 +00:00
  • a323e4b9ec Annual changelog rotation. Joerg Wunsch 2014-01-15 13:16:34 +00:00
  • aef2dfde88 fixed description of pins for ft232r Rene Liebscher 2014-01-13 20:42:27 +00:00
  • 7133e90113 * pgm.c/pgm.h: fixed syntax error in const pointer to const Nils Springob 2013-12-15 12:57:13 +00:00
  • a863762f4d bump version to 6.1-svn-20131205 Joerg Wunsch 2013-12-05 16:33:11 +00:00
  • 8fa7417923 bug #40817: Elf file support (possibly) not working on 6.0.1 windows build * fileio.c (fileio): open file in binary mode also for FMT_ELF Joerg Wunsch 2013-12-05 16:27:54 +00:00
  • 1c401d5d08 Rework of bitbanging functions setpin, getpin, highpulsepin to make simplier use of new pindefs data in pgm structure * linuxgpio.c, bitbang.c, buspirate.c, par.c, pgm.h, term.c, serbb_*.c: changed interface of setpin, getpin, highpulsepin to take pin function as parameter (not the real number, which can be found by pgm->pinno[function]) Rene Liebscher 2013-12-04 19:02:55 +00:00
  • 3b793351bb bug #40748 linuxgpio doesn't work on Raspberry PI rev. 2. * linuxgpio.c: fixed check for unused pins to ignore the inverse flag * pindefs.c: fixed fill_old_pinlist to not create an empty mask with inverse flag set Rene Liebscher 2013-11-30 12:11:32 +00:00
  • d2ba956ba8 * ATmega1284 variant added (same as ATmega1284p but with different signature) Nils Springob 2013-10-24 17:31:53 +00:00
  • 01396c2d0c * ATmega1284 variant added (same as ATmega1284p but with different signature) Nils Springob 2013-10-18 07:59:06 +00:00
  • a35a9be511 Add UM232H and C232H programmers Hannes Weisbach 2013-09-25 10:56:55 +00:00
  • dbec4af8d9 Submitted by Daniel Rozsnyo: bug #40085: Typo fix in fuses report (for 6.1-svn-20130917) * main.c: Fix a typo. Joerg Wunsch 2013-09-22 21:23:12 +00:00
  • 367ea3263a Remove DRYRUN-option from avrftdi Hannes Weisbach 2013-09-19 16:28:11 +00:00
  • 943b1e0ed4 task #12798 Please cleanup #ifdef notyet entries in avrftdi.c Hannes Weisbach 2013-09-19 16:07:35 +00:00
  • 8b828d3cb7 Release 6.0.1, for bug #40055. v6.0.1 Joerg Wunsch 2013-09-18 06:19:42 +00:00
  • 722f33f68e Prepare for a 6.0.1 release. Joerg Wunsch 2013-09-18 05:58:44 +00:00
  • e8df20d480 bug #40055: AVRDUDE segfaults when writing eeprom * main.c: Always clear the UF_AUTO_ERASE flag if either a non-Xmega device was found, or the programmer does not offer a page_erase method. Joerg Wunsch 2013-09-18 05:54:37 +00:00
  • 3b4dd795b2 We are post-6.0 now. Joerg Wunsch 2013-09-17 21:20:25 +00:00
  • b4707cebde About to releaes AVRDUDE 6.0. v6.0 Joerg Wunsch 2013-09-17 20:57:37 +00:00
  • e5f1e08389 Prepare everything for 6.0-RELEASE. Joerg Wunsch 2013-09-17 20:54:48 +00:00