Commit Graph

1051 Commits

Author SHA1 Message Date
Joerg Wunsch c5058da936 bug #28458: Buffer line is incorrectly released for PP programmers
* par.c (par_close): use par_setmany() rather than par_setpin()
for PPI_AVR_BUFF.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@888 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 16:23:28 +00:00
Joerg Wunsch ff60d53522 bug #27507: SIGSEGV when using avrdragon (avrdude 5.8)
* stk500v2.c (stk500v2_dragon_isp_initpgm): Use
stk500v2_jtagmkII_setup/stk500v2_jtagmkII_rather than their
jtagII counterparts, to get the private data properly
initialized.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@887 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 15:53:50 +00:00
Joerg Wunsch f514ad8fbc Cosmetics: adjust for 8-column hard tabs, remove UTF-8 dashes.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@886 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 13:30:44 +00:00
Joerg Wunsch edfd29d7b6 Add $Id$ line.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@885 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 13:29:49 +00:00
Joerg Wunsch 485250220c Fix properties of the buspirate stuff (svn:keywords, svn:mime-type, svn:eol-style)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@884 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 13:20:23 +00:00
Joerg Wunsch 373c213418 Add $Id$ line.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@883 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 13:16:38 +00:00
Joerg Wunsch 038d28ac29 Fix a few warnings that came up recently (some of them only triggered
by recent GCC versions).
* config_gram.y (parse_cmdbits): "brkt possibly used uninitialized"
(GCC errs here)
* jtagmkII.c (jtagmkII_reset32): "status possibly used uninitialized"
(I think GCC errs, too)
* buspirate.c: "pointers differ in signedness" (mismatch between
string processing and the use of "unsigned char" throughought the
AVRDUDE API)



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@882 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 13:13:02 +00:00
Joerg Wunsch 5ccdb8b905 jtagmkII_smc_init32(): replace sleep() by usleep() for
win32 compatibility.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@881 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-01 08:55:33 +00:00
David Hoerl 10db97bb35 * fileio.c: ihex2bin did not properly handle files > 64K bytes
* usb_libusb.c: re-enabled usb_reset for Macs (no reset causes lots of failures)
* avrdude.1: spacing issue for ucr2 fixed.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@880 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-29 20:19:15 +00:00
Michal Ludvig 1e6c7b0a5e * buspirate.c: Implemented reset= and speed= extended parameters.
* avrdude.1: Document the change.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@879 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-09 02:18:40 +00:00
Michal Ludvig 498d92d028 * configure.ac, Makefile.am: Test if GCC accepts -Wno-pointer-sign
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@878 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-04 23:42:16 +00:00
Michal Ludvig e7543c2250 * avrdude.1: Added info about BusPirate.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@877 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-04 03:32:55 +00:00
Michal Ludvig d148f4c43e * buspirate.c: Implemented 'BinMode' support for
firmware 2.7 and higher.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@876 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-04 03:14:17 +00:00
Michal Ludvig 3476594946 * Makefile.am: Silent warnings about signedness - they're useless
and annoying, especially for 'char' vars.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@875 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-03 03:29:11 +00:00
Michal Ludvig 1da61f080e * arduino.c: Add on to bug #26703 / patch #6866 - clear DTR/RTS
when closing the port.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@874 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-02 23:52:52 +00:00
David Hoerl 89bf8e2652 bug #22271 (project avrdude) - disable usb_reset() for Macs (was just FreeBSD)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@873 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-22 19:48:01 +00:00
Michal Ludvig ce27505c0d * main.c: Re-added default to serial port for BusPirate.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@872 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 23:31:05 +00:00
David Hoerl 9bf4f335cf Small changes to remove warnings in avr32 code
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@871 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 22:33:49 +00:00
David Hoerl 390c092c34 avr32 cleanup, now does flash read and verify
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@870 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 16:44:30 +00:00
David Hoerl 6ef18c4e99 restored inadvertantly removed buspirate header
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@869 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 14:26:52 +00:00
David Hoerl 3aaa04fc59 avr32 information
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@868 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 14:18:28 +00:00
David Hoerl 43f3df912a restored inadvertantly removed buspirate entry
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@867 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 13:59:07 +00:00
David Hoerl 0f5f52462a restored inadvertantly removed buspirate entry
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@866 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 13:40:36 +00:00
Michal Ludvig 33f8d0416f * buspirate.c: Replace GNU-only %as with %s in sscanf call.
* ser_win32.c(ser_set_dtr_rts): Fixed typo in parameter name.
	* NEWS: Announce BusPirate.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@865 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 06:51:53 +00:00
David Hoerl c2d47a3578 Added AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@864 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:47:50 +00:00
David Hoerl 8078b48cdc Removed some comments
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@863 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:44:06 +00:00
David Hoerl c2744d7778 AVR32 verify and read now work
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@862 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:34:03 +00:00
David Hoerl d2d5e188fa Added read msg for AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@861 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:33:35 +00:00
David Hoerl 1be0b7c2b8 Cast in fprintf to remove warning on possible size mismatch
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@860 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 22:10:58 +00:00
David Hoerl eb5dccdbca Cast in fprintf to remove warning on possible size mismatch
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@859 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 22:10:46 +00:00
David Hoerl b6149364f0 Added #include <unistd.h> to stop warning msg.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@858 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 21:53:26 +00:00
David Hoerl ebeadb58de AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@857 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:10:02 +00:00
David Hoerl fc96149548 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@856 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:10:00 +00:00
David Hoerl 66be0a7f95 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@855 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:59 +00:00
David Hoerl 4fedef1192 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@854 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:58 +00:00
David Hoerl d61d603d6a AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@853 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:57 +00:00
David Hoerl 0b2e9ebdd8 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@852 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:56 +00:00
David Hoerl 7c4dc335ca AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@851 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:55 +00:00
David Hoerl e6928c77cf AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@850 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:53 +00:00
David Hoerl 99a626821f AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@849 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:52 +00:00
David Hoerl 226a267011 avr32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@848 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:03:51 +00:00
David Hoerl 4246ec4455 added myself
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@847 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 19:03:16 +00:00
David Hoerl d52d262ec1 About time for this
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@846 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 19:01:49 +00:00
Michal Ludvig daee7db4ca Support for Arduino auto-reset:
* serial.h, ser_avrdoper.c, ser_posix.c, ser_win32.c: Added 
	  serial_device.set_dtr_rts implementations.
	* arduino.c, stk500.c, stk500.h: Call serial_set_dtr_rts()
	  to reset Arduino board before program upload.
	Inspired by patch #6866, resolves bug #26703



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@845 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 01:41:40 +00:00
Michal Ludvig 17db533dfc * buspirate.c: Optimised buspirate_cmd() - reading 1kB EEPROM now
takes only 14 sec instead of almost 2 mins with the original
  implementation.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@844 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-08 05:00:41 +00:00
Michal Ludvig d5a1a058d0 Minor change - buspirate->BusPirate in strcmp()
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@843 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-08 04:40:53 +00:00
Michal Ludvig a5cd46d616 Added support for the BusPirate programmer.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@842 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-08 02:05:03 +00:00
Joerg Wunsch edd01c0fda usbdev_close(): Repair the logic around the
conditional compilation of usb_reset() introduced in r798.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@841 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-08-17 04:15:08 +00:00
Joerg Wunsch d2eff2b99d AVRDUDE 5.8 is done now.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@840 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 23:06:04 +00:00
Joerg Wunsch a1a6149f64 AVRDUDE 5.8 is around the corner.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@838 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:52:02 +00:00