Commit graph

  • c5f714342b Add -vvvv trace output to usbasp_transmit(). Joerg Wunsch 2013-08-31 07:32:18 +00:00
  • 056b5f6e77 bug #39893: Verification failure with AVRISPmkII and Xmega * stk500v2.c (stk600_xprog_page_erase): Fix argument that is passed to stk600_xprog_memtype() Joerg Wunsch 2013-08-30 06:49:40 +00:00
  • b47607549e bug #39893: Verification failure with AVRISPmkII and Xmega * stk500v2.c (stk600_xprog_page_erase): Fix argument that is passed to stk600_xprog_memtype() Joerg Wunsch 2013-08-30 06:49:40 +00:00
  • 3879e70713 * fileio.c (elf2b): replace elf_getshstrndx() by elf_getshdrstrndx() as the former one is deprecated Joerg Wunsch 2013-07-11 21:43:11 +00:00
  • 858a800f5d * fileio.c (elf2b): replace elf_getshstrndx() by elf_getshdrstrndx() as the former one is deprecated Joerg Wunsch 2013-07-11 21:43:11 +00:00
  • 6f8e643ba0 reverted accidently checked in debug setting Rene Liebscher 2013-06-20 20:45:12 +00:00
  • a8117f20d5 reverted accidently checked in debug setting Rene Liebscher 2013-06-20 20:45:12 +00:00
  • 1f8462ca58 check more error codes, fixed some leftover parts which still used MPSSE even when using bitbanging, reduced blocksize to get a more stable behaviour of bitbanging Rene Liebscher 2013-06-20 20:11:49 +00:00
  • 10caeca025 check more error codes, fixed some leftover parts which still used MPSSE even when using bitbanging, reduced blocksize to get a more stable behaviour of bitbanging Rene Liebscher 2013-06-20 20:11:49 +00:00
  • da3961e155 use bitbanging on ftdi mpsse when wrong pins are used * avrftdi.c, avrftdi_private.h: added additional pin check and bitbanging fallback * pindefs.[ch]: added a flag to enable/disable output * ft245r.c: changes because of added flag above Rene Liebscher 2013-06-19 17:40:32 +00:00
  • da9c2fe1c8 use bitbanging on ftdi mpsse when wrong pins are used * avrftdi.c, avrftdi_private.h: added additional pin check and bitbanging fallback * pindefs.[ch]: added a flag to enable/disable output * ft245r.c: changes because of added flag above Rene Liebscher 2013-06-19 17:40:32 +00:00
  • 46f7b6b470 Submitted by "Malte" and John McCorquodale: patch #7876 JTAGICE mkII fails to connect to attiny if debugwire is enabled AND target has a very slow clock * jtagmkII.c (jtagmkII_getsync): When leaving debugWIRE mode temporarily, immediately retry with ISP, rather than leaving. * stk500v2 (stk500v2_program_enable): Implemented similar logic for the JTAGICE3. Joerg Wunsch 2013-05-17 16:23:55 +00:00
  • 021240ac3c Submitted by "Malte" and John McCorquodale: patch #7876 JTAGICE mkII fails to connect to attiny if debugwire is enabled AND target has a very slow clock * jtagmkII.c (jtagmkII_getsync): When leaving debugWIRE mode temporarily, immediately retry with ISP, rather than leaving. * stk500v2 (stk500v2_program_enable): Implemented similar logic for the JTAGICE3. Joerg Wunsch 2013-05-17 16:23:55 +00:00
  • 203fe6d14a Wrap long lines. Joerg Wunsch 2013-05-17 16:09:55 +00:00
  • efbf84950e Wrap long lines. Joerg Wunsch 2013-05-17 16:09:55 +00:00
  • 729ef4df18 Try various compiler names until one succeeds. Joerg Wunsch 2013-05-17 14:02:45 +00:00
  • 1569cd8b8d Try various compiler names until one succeeds. Joerg Wunsch 2013-05-17 14:02:45 +00:00
  • 22477da39e * configure.ac: reactivate check for TYPE_232H, which does not exist in libftdi < 0.20 * avrftdi*.*: changed include check for libftdi/libusb, deactivate 232H if not available * ft245r.c: changed include check for libftdi/libusb Rene Liebscher 2013-05-16 17:11:35 +00:00
  • f2bcdc87b8 * configure.ac: reactivate check for TYPE_232H, which does not exist in libftdi < 0.20 * avrftdi*.*: changed include check for libftdi/libusb, deactivate 232H if not available * ft245r.c: changed include check for libftdi/libusb Rene Liebscher 2013-05-16 17:11:35 +00:00
  • d0625e8fec Add option -l logfile to redirect diagnostic messages to a logfile rather than stderr. Joerg Wunsch 2013-05-16 09:11:32 +00:00
  • 58dd75556f Add option -l logfile to redirect diagnostic messages to a logfile rather than stderr. Joerg Wunsch 2013-05-16 09:11:32 +00:00
  • 3756a42db1 Break long lines. Joerg Wunsch 2013-05-16 08:11:19 +00:00
  • b9a400a34c Break long lines. Joerg Wunsch 2013-05-16 08:11:19 +00:00
  • 8f9bc91d53 * avrftdi*.*: accept also old libftdi (0.20 still works with it), added powerup to initialize Rene Liebscher 2013-05-15 20:05:02 +00:00
  • f11db218a7 * avrftdi*.*: accept also old libftdi (0.20 still works with it), added powerup to initialize Rene Liebscher 2013-05-15 20:05:02 +00:00
  • 0fc17a60a6 removed some debug code from file ft245r.c Rene Liebscher 2013-05-15 19:03:58 +00:00
  • d201c4d11a removed some debug code from file ft245r.c Rene Liebscher 2013-05-15 19:03:58 +00:00
  • 7ff877e067 * configure.ac: if both found libftdi and libftdi1 use only libftdi1 * avrdude.conf.in: fixed buff pins of avrftdi programmers (low active buffer need now inverted numbers) * avrftdi*.*: accept also old libftdi (0.20 still works with it), added powerup to initialize * ft245r.c: accept libftdi1, code cleanup and make it more similar to avrfdti (os they might be merged someday) Rene Liebscher 2013-05-15 18:55:19 +00:00
  • 9ae148ffbe * configure.ac: if both found libftdi and libftdi1 use only libftdi1 * avrdude.conf.in: fixed buff pins of avrftdi programmers (low active buffer need now inverted numbers) * avrftdi*.*: accept also old libftdi (0.20 still works with it), added powerup to initialize * ft245r.c: accept libftdi1, code cleanup and make it more similar to avrfdti (os they might be merged someday) Rene Liebscher 2013-05-15 18:55:19 +00:00
  • c65f6cbe6c Add a small script to cross-compile a Win32 binary under Unix. Joerg Wunsch 2013-05-14 20:35:41 +00:00
  • 065d688a8f Add a small script to cross-compile a Win32 binary under Unix. Joerg Wunsch 2013-05-14 20:35:41 +00:00
  • 6599064e4d Bump version to 6.0rc1. Joerg Wunsch 2013-05-08 17:35:28 +00:00
  • 19880def06 Bump version to 6.0rc1. Joerg Wunsch 2013-05-08 17:35:28 +00:00
  • 55d25c0fe9 Add forgotten avrftdi_private.h. Joerg Wunsch 2013-05-08 17:34:00 +00:00
  • 724f44c234 Add forgotten avrftdi_private.h. Joerg Wunsch 2013-05-08 17:34:00 +00:00
  • 93e940b60a avrftdi: add pgm->power[up|down], fix pgm->enable|disable Hannes Weisbach 2013-05-07 08:50:13 +00:00
  • 9e81c10f08 avrftdi: add pgm->power[up|down], fix pgm->enable|disable Hannes Weisbach 2013-05-07 08:50:13 +00:00
  • 26ab40f3a5 avrftdi: apply patch by rliebscher. Hannes Weisbach 2013-05-07 08:50:06 +00:00
  • 62ee4ec3c5 avrftdi: apply patch by rliebscher. Hannes Weisbach 2013-05-07 08:50:06 +00:00
  • 4fc72c7d58 * pindefs.h: use unsigned int if stdint.h is not available and UINT_MAX is 0xffffffff otherwise use unsinged long * ft245r.c: added support for more pin functions led, vcc, buff Rene Liebscher 2013-05-06 19:21:38 +00:00
  • 5e06d73fc2 * pindefs.h: use unsigned int if stdint.h is not available and UINT_MAX is 0xffffffff otherwise use unsinged long * ft245r.c: added support for more pin functions led, vcc, buff Rene Liebscher 2013-05-06 19:21:38 +00:00
  • c72b97d2a8 avrftdi_tpi.[c|h]: integrate avr_tpi_[program_enable,chip_erase]() Hannes Weisbach 2013-05-06 12:50:42 +00:00
  • 272e78ac00 avrftdi_tpi.[c|h]: integrate avr_tpi_[program_enable,chip_erase]() Hannes Weisbach 2013-05-06 12:50:42 +00:00
  • be385b2b48 avr.c: Adds avr_tpi_program_enable Hannes Weisbach 2013-05-06 12:49:26 +00:00
  • 2f6ad9c3ed avr.c: Adds avr_tpi_program_enable Hannes Weisbach 2013-05-06 12:49:26 +00:00
  • 5b7952ade8 avr.c: Add generic TPI chip erase function Hannes Weisbach 2013-05-06 12:43:47 +00:00
  • 716fbbfe17 avr.c: Add generic TPI chip erase function Hannes Weisbach 2013-05-06 12:43:47 +00:00
  • 9344a2ea8d avrftdi.c: Fail on wrong pin configuration Hannes Weisbach 2013-05-06 12:05:27 +00:00
  • 2ef3c19545 avrftdi.c: Fail on wrong pin configuration Hannes Weisbach 2013-05-06 12:05:27 +00:00
  • 0efa2518e7 avrftdi: Change to new 0-based pin definitions Hannes Weisbach 2013-05-06 11:48:15 +00:00
  • ca81aeb139 avrftdi: Change to new 0-based pin definitions Hannes Weisbach 2013-05-06 11:48:15 +00:00
  • 556b3eddb3 avrftdi: Use pgm->setpin instead of pgm->cookie->set_pin Hannes Weisbach 2013-05-06 11:48:08 +00:00
  • 548e8bef49 avrftdi: Use pgm->setpin instead of pgm->cookie->set_pin Hannes Weisbach 2013-05-06 11:48:08 +00:00
  • 8c151664c9 Include "ac_cfg.h" before testing for HAVE_* macros. Joerg Wunsch 2013-05-06 09:54:27 +00:00
  • 5729bdf698 Include "ac_cfg.h" before testing for HAVE_* macros. Joerg Wunsch 2013-05-06 09:54:27 +00:00
  • a816d19d02 * main.c: revert to rev 1159 (doing pgm_display after pgm_open) * avrpart.[ch]: moved avr_pin_name to pindefs.[ch] * pgm.c: moved pins_to_str to pindefs.[ch], added initialization of new pin definitions in pgm_new() * pindefs.[ch]: added moved functions from other files, added a lot of documentation, reformatted files using astyle to have consistent spacing, added a new generic check function for pins * ft245r.c: used new generic pin check function Rene Liebscher 2013-05-05 13:35:35 +00:00
  • 21a122a8f6 * main.c: revert to rev 1159 (doing pgm_display after pgm_open) * avrpart.[ch]: moved avr_pin_name to pindefs.[ch] * pgm.c: moved pins_to_str to pindefs.[ch], added initialization of new pin definitions in pgm_new() * pindefs.[ch]: added moved functions from other files, added a lot of documentation, reformatted files using astyle to have consistent spacing, added a new generic check function for pins * ft245r.c: used new generic pin check function Rene Liebscher 2013-05-05 13:35:35 +00:00
  • 2d8c584c8c Create new pin definition data structures to support 0-based pin numbers, and mixed inverse/non-inverse pin lists. * avrftdi.c,buspirate.c,linuxgpio.c,par.c,serbb_*.c: added function call to fill old pinno entries from new pin definitions. * pindefs.[hc]: added data struct and helper functions for new pin definitions * avrdude.conf.in: pins in entries using ftdi_syncbb are now 0-based * config_gram.y: allow combinations of inverted and non-inverted pins in pin lists * ft245r.c: reworked to work directly with the new pin definitions, pins are now 0-based, inverse pins are supported, buff is supported * pgm.[ch]: added new pin definitions field to programmer structure, adapted pin display functions Rene Liebscher 2013-05-03 22:35:00 +00:00
  • bb0092eb4e Create new pin definition data structures to support 0-based pin numbers, and mixed inverse/non-inverse pin lists. * avrftdi.c,buspirate.c,linuxgpio.c,par.c,serbb_*.c: added function call to fill old pinno entries from new pin definitions. * pindefs.[hc]: added data struct and helper functions for new pin definitions * avrdude.conf.in: pins in entries using ftdi_syncbb are now 0-based * config_gram.y: allow combinations of inverted and non-inverted pins in pin lists * ft245r.c: reworked to work directly with the new pin definitions, pins are now 0-based, inverse pins are supported, buff is supported * pgm.[ch]: added new pin definitions field to programmer structure, adapted pin display functions Rene Liebscher 2013-05-03 22:35:00 +00:00
  • 90b0a233ef avrftdi_tpi.c: Remove set_pin() to set MOSI high Hannes Weisbach 2013-05-03 13:01:20 +00:00
  • e72e92f027 avrftdi_tpi.c: Remove set_pin() to set MOSI high Hannes Weisbach 2013-05-03 13:01:20 +00:00
  • 7e63e1babf avrftdi_tpi.c: Update I/O to pgm->cmd_tpi Hannes Weisbach 2013-05-03 12:58:15 +00:00
  • 1d29bd71df avrftdi_tpi.c: Update I/O to pgm->cmd_tpi Hannes Weisbach 2013-05-03 12:58:15 +00:00
  • 32a1fe42e3 avrftdi_private.h: Update forward declaration Hannes Weisbach 2013-05-03 12:55:24 +00:00
  • 171be6ed47 avrftdi_private.h: Update forward declaration Hannes Weisbach 2013-05-03 12:55:24 +00:00
  • 66d0b86ed3 avrftdi: move logging defines to avrftdi_private.h Hannes Weisbach 2013-05-02 11:07:37 +00:00
  • 1885f8ba84 avrftdi: move logging defines to avrftdi_private.h Hannes Weisbach 2013-05-02 11:07:37 +00:00
  • bf49c4ee1f avr.c: Fix avr_tpi_poll_nvmbsy() polling returned data instead return code Hannes Weisbach 2013-05-02 11:07:30 +00:00
  • 068c6ca9cc avr.c: Fix avr_tpi_poll_nvmbsy() polling returned data instead return code Hannes Weisbach 2013-05-02 11:07:30 +00:00
  • aca6384fe7 Updates NEWS file with avrftdi's TPI support Hannes Weisbach 2013-05-02 11:07:22 +00:00
  • ce473c01d9 Updates NEWS file with avrftdi's TPI support Hannes Weisbach 2013-05-02 11:07:22 +00:00
  • d02dc96ab5 avrftdi_private.h: Fix header include order in windows Hannes Weisbach 2013-05-02 11:07:16 +00:00
  • 6742e48d32 avrftdi_private.h: Fix header include order in windows Hannes Weisbach 2013-05-02 11:07:16 +00:00
  • e9944c32c0 avrftdi.c: Fix wrong loop invariant in write_flush() Hannes Weisbach 2013-05-02 11:07:07 +00:00
  • cc12312b2c avrftdi.c: Fix wrong loop invariant in write_flush() Hannes Weisbach 2013-05-02 11:07:07 +00:00
  • 6a4d3d3964 Adds TPI-support for FTDI-based programmers with MPSSE Hannes Weisbach 2013-05-02 11:07:00 +00:00
  • 1341a16432 Adds TPI-support for FTDI-based programmers with MPSSE Hannes Weisbach 2013-05-02 11:07:00 +00:00
  • 923aa2edab avrftdi: Set guard time to fixed 2 bits. Hannes Weisbach 2013-05-02 11:06:52 +00:00
  • f31f050de2 avrftdi: Set guard time to fixed 2 bits. Hannes Weisbach 2013-05-02 11:06:52 +00:00
  • 27f7e6e5a4 avrftdi_tpi.c: Adds avrftdi_tpi_disable() Hannes Weisbach 2013-05-02 11:06:45 +00:00
  • 91c6cdfdea avrftdi_tpi.c: Adds avrftdi_tpi_disable() Hannes Weisbach 2013-05-02 11:06:45 +00:00
  • 2ce37b2895 avrftdi_tpi.c: Simplify break command by sending 16 zero bits Hannes Weisbach 2013-05-02 11:06:37 +00:00
  • 848cf9b55d avrftdi_tpi.c: Simplify break command by sending 16 zero bits Hannes Weisbach 2013-05-02 11:06:37 +00:00
  • 3c17593867 tpi.h: Adds definition of TPI Identification code Hannes Weisbach 2013-05-02 11:06:30 +00:00
  • a211b17abb tpi.h: Adds definition of TPI Identification code Hannes Weisbach 2013-05-02 11:06:30 +00:00
  • a6b33b8b22 avrftdi_tpi.c: Move to new avrftdi log infrastructure Hannes Weisbach 2013-05-02 11:06:22 +00:00
  • da998cb635 avrftdi_tpi.c: Move to new avrftdi log infrastructure Hannes Weisbach 2013-05-02 11:06:22 +00:00
  • 008ff9bb97 Adds initial avrftdi TPI support. Hannes Weisbach 2013-05-02 11:06:15 +00:00
  • 33e9b840bf Adds initial avrftdi TPI support. Hannes Weisbach 2013-05-02 11:06:15 +00:00
  • 38c5f51a33 avrftdi.c: rename constant ERROR to ERR Hannes Weisbach 2013-04-28 19:35:36 +00:00
  • b1a5eaf2a0 avrftdi.c: rename constant ERROR to ERR Hannes Weisbach 2013-04-28 19:35:36 +00:00
  • 508438a8d4 Rework of textual output of avrftdi. Hannes Weisbach 2013-04-28 19:35:26 +00:00
  • 6cb94ba5a2 Rework of textual output of avrftdi. Hannes Weisbach 2013-04-28 19:35:26 +00:00
  • c413afc9b1 Fixes bugs #38659 and #38831 Hannes Weisbach 2013-04-27 21:49:27 +00:00
  • d4439e4d43 Fixes bugs #38659 and #38831 Hannes Weisbach 2013-04-27 21:49:27 +00:00
  • 295b6f3711 Updates avrftdi to use libftdi1 Hannes Weisbach 2013-04-27 20:52:01 +00:00
  • fe9e329013 Updates avrftdi to use libftdi1 Hannes Weisbach 2013-04-27 20:52:01 +00:00
  • 81a0c06013 Replaces the old AM_CONFIG_HEADER by AC_CONFIG_HEADERS; automake 1.13+ barfs. Joerg Wunsch 2013-04-25 20:14:44 +00:00
  • ff31f7f44f Replaces the old AM_CONFIG_HEADER by AC_CONFIG_HEADERS; automake 1.13+ barfs. Joerg Wunsch 2013-04-25 20:14:44 +00:00
  • 13c00d2c30 Add new devices: ATmega2564RFR2, ATmega1284RFR2, ATmega644RFR2 Joerg Wunsch 2013-03-12 10:07:56 +00:00