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
Joerg Wunsch
490ae0bb19
Submitted by Roger Wolff:
...
bug #26527 : bug in unicode conversion
* ser_avrdoper.c (convertUniToAscii): when encountering a UTF-16
character that cannot be converted to ASCII, increment the UTF-16
pointer anyway when proceeding.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@837 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:48:48 +00:00
Joerg Wunsch
7b6b425b75
* jtagmkI.c (jtagmkI_send): Replace %zd format by %u since not all
...
implementations do understand the C99 formatting options (sigh).
* jtagmkII.c (jtagmkII_send): (Ditto.)
* stk500v2.c (stk500v2_recv): (Ditto.)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@836 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:39:37 +00:00
Joerg Wunsch
40e33e39b2
bug #26002 : HVPP of EEPROM with AVR Dragon and ATmega8 Fails
...
Add page size for ATmega8 EEPROM.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@835 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:22:22 +00:00
Joerg Wunsch
1348900d7c
Fix a serious memory corruption problem resulting
...
out of the chaining of both, the stk500v2 and the jtagmkII
programmers for some programming hardware (JTAG ICE mkII and AVR
Dragon running in ISP, HVSP or PP mode), where both programmers
have to maintain their private programmer data.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@834 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-06 22:10:20 +00:00
Joerg Wunsch
606aa2d4fd
Post-release 5.7.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@833 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 12:01:21 +00:00
Joerg Wunsch
493113907c
Prepare for releasing version 5.7.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@831 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 11:44:26 +00:00
Joerg Wunsch
7021e5022b
Prepare for releasing version 5.7.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@830 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 11:43:46 +00:00
Joerg Wunsch
be7642861a
Add my name to the copyright output when being verbose.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@829 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 11:26:29 +00:00
Joerg Wunsch
d8013732ed
Contributed by Shaun Jackman <sjackman@gmail.com>
...
bug #21798 : Fix both XSLT scripts
* tools/get-dw-params.xsl (format-hex): Add the parameter count.
* tools/get-hv-params.xsl (format_cstack): Ditto.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@828 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 10:49:19 +00:00
Joerg Wunsch
9330d9000e
bug #21922 : ATmega163 still not working in version 5.5
...
* avrdude.conf.in (atmega163): fill in stk500v2 parameters, correct
some flash programming parameters as well.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@827 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 10:45:53 +00:00
Joerg Wunsch
85ab99b2ea
bug #22206 : avrdude: ser_setspeed(): tcsetattr() failed
...
* ser_posix.c (ser_setspeed): Don't pass TCSAFLUSH to tcsetattr() as
it apparently fails to work on Solaris. After reading the
documentation again, it seems TCSAFLUSH and TCSANOW are indeed
mutually exclusive.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@826 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 10:31:13 +00:00
Joerg Wunsch
6fdd7e2ad0
bug #22234 : WINDOWS version: HOWTO: Specify Serial Ports Larger than COM9
...
* ser_win32.c (ser_open): prepend \\.\ to any COM port name, so it is
safe to be used for COM ports above 9.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@825 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 10:23:57 +00:00
Joerg Wunsch
f663500996
bug #26408 : Crash in stk500v2_open()
...
* stk500generic.c: Implement setup and teardown hooks, calling in turn
the respective hooks of the stk500v2 implementation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@824 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 09:11:45 +00:00
Joerg Wunsch
a17e93fc2d
bug #26130 : Avrdude doesn't display it's version.
...
* main.c (usage): add a version number display to the default usage
message.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@823 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 08:42:14 +00:00
Joerg Wunsch
141a19049a
bug #26412 : avrdude segfaults when called with a programmer that does not
...
support it
Do not call pgm->perform_osccal() unless it is != 0.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@822 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-01 16:08:49 +00:00
Joerg Wunsch
9161daeaa1
Contributed by Zoltan Laday:
...
patch #6825 : xmega problems with JTAGICEmkII
* jtagmkII.c: Many fixes for Xmega devices.
* jtagmkII_private.h: Add various new constants required for
Xmega devices.
* avrdude.conf.in: New devices: ATXMEGA64A1, ATXMEGA192A1,
ATXMEGA256A1, ATXMEGA64A3, ATXMEGA128A3, ATXMEGA192A3,
ATXMEGA256A3, ATXMEGA256A3B, ATXMEGA16A4, ATXMEGA32A4,
ATXMEGA64A4, ATXMEGA128A4
* avr.c (avr_read, avr_write): Add more names for (Xmega)
memory areas that require paged operation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@821 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-06-24 21:32:12 +00:00
Joerg Wunsch
91f6cc9ac2
Handle writing fuse bytes (on the Xmega).
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@820 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-06-24 21:18:36 +00:00
Joerg Wunsch
1c55f53261
Submitted by Carl Hamilton:
...
* update.c (parse_op): correctly \0-terminate buf after filling
it, before it is potentially used as the source of a call to
strlen or strcpy.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@819 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-04-28 18:35:14 +00:00
Joerg Wunsch
5290713bb9
Merge the -P 0xXXX option description from
...
avrdude.1.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@818 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-04-14 18:54:20 +00:00
Joerg Wunsch
09df6aa664
declare AM_PROG_CC_C_O to avoid the warning
...
"compiling `config_gram.c' with per-target flags
requires `AM_PROG_CC_C_O' in `configure.ac'"
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@817 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-04-14 18:51:26 +00:00
Joerg Wunsch
4f075ae3b3
bug #25971 : "error writing to <stdout>" with multiple -U params.
...
* fileio.c: Do not close the input/output stream when working on an
stdio stream.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@816 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-03-22 21:28:46 +00:00
Thomas Fischl
90943bf2bb
Based on patch #6484 commited by Jurgis Brigmanis:
...
* usbasp.c: added software control for ISP speed
* usbasp.h: (Ditto.)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@815 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-02-28 13:10:47 +00:00
Joerg Wunsch
e293f2b5a2
* avr910.c (avr910_read_byte_flash): Eliminate a static variable that
...
hasn't been in use for 5 years.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@814 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-02-28 10:07:01 +00:00
Joerg Wunsch
acf6f3060b
AVRDUDE 5.6 is history now.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@813 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-02-27 10:34:24 +00:00