Joerg Wunsch
b8562e7eed
* bitbang.c: Fix Win32 build error: move freq up to the file
...
level.
* buspirate.c: Fix Win32 build warning: include <malloc.h> to
to get a declaration for alloca().
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@898 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 20:02:35 +00:00
Thomas Fischl
ce87897cb3
bug #28520 : Programming with USBasp with low clock speed fails
...
* usbasp.c: Change blocksize depending on sck frequency to avoid usb transmition timeouts.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@897 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 18:33:23 +00:00
Joerg Wunsch
10bf04f706
bug #27505 : serbb_posix does not cope with inverted pins
...
* serbb_posix (serbb_highpulsepin): apply PIN_MASK when
checking pin numbers.
* serbb_win32 (serbb_highpulsepin): (Dito.)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@896 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 16:31:54 +00:00
Joerg Wunsch
872dd6199a
bug #28516 : Linux/Dragon: Error message on exit
...
* stk500v2.c: Fix the "bad response to GO command:
RSP_ILLEGAL_EMULATOR_MODE" message. jtagmkII_close()
has been called with the wrong pgm->cookie. Wrap it
inside stk500v2_jtagmkII_close(), adjusting the cookie
data appropriately.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@895 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 16:01:37 +00:00
Joerg Wunsch
828253ff93
Submitted by Doug:
...
patch #7010 : Win32 enhanced bitbang_delay
* bitbang.c (bitbang_calibrate_delay, bitbang_delay): On Win32,
use the high-resolution performance counter rather than the
uneducated delay loop guess if it is available on the target
hardware.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@894 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 14:50:22 +00:00
Joerg Wunsch
fd0d2665d4
Add Thomas Fischl as well (USBasp).
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@893 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 13:43:41 +00:00
Joerg Wunsch
0494fa205f
Add Michal Ludvig, for his contribution of the buspirate code.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@892 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 13:41:42 +00:00
Joerg Wunsch
f9762375e4
Annual changelog rotation.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@891 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 10:41:27 +00:00
Joerg Wunsch
2107a74340
Submitted by Gerard:
...
patch #6828 : Using arbitrary BAUD rates
* ser_posix.c (serial_baud_lookup): Allow non-standard baud
rates.
* ser_win32.c (serial_baud_lookup): (Dito.)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@890 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-08 10:39:18 +00:00
Joerg Wunsch
8902e9d1a4
Submitted by Eric Trein:
...
bug #27596 : AT90s2333 is not correctly supported in avrdude.conf
* avrdude.conf.in (at90s2333): add various STK500v2 parameters.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@889 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-07 16:34:58 +00:00
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