Commit Graph

1193 Commits

Author SHA1 Message Date
joerg_wunsch 9e02e561fa jtagmkII_smc_init32(): replace sleep() by usleep() for
win32 compatibility.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@881 81a1dc3b-b13d-400b-aceb-764788c761c2
2010-01-01 08:55:33 +00:00
dhoerl 3e7897371a * 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/avrdude@880 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-29 20:19:15 +00:00
mludvig 7d1ea872cd * buspirate.c: Implemented reset= and speed= extended parameters.
* avrdude.1: Document the change.



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



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@876 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-04 03:14:17 +00:00
mludvig 3f8491d3d6 * 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/avrdude@875 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-03 03:29:11 +00:00
mludvig 1b4ba95e3c * 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/avrdude@874 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-11-02 23:52:52 +00:00
dhoerl e984f82979 bug #22271 (project avrdude) - disable usb_reset() for Macs (was just FreeBSD)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@873 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-22 19:48:01 +00:00
mludvig d1f8ac6638 * main.c: Re-added default to serial port for BusPirate.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@872 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 23:31:05 +00:00
dhoerl 6a771ddb9b Small changes to remove warnings in avr32 code
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@871 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 22:33:49 +00:00
dhoerl ee73e2e873 avr32 cleanup, now does flash read and verify
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@870 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 16:44:30 +00:00
dhoerl a13dec9e18 restored inadvertantly removed buspirate header
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@869 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 14:26:52 +00:00
dhoerl 14121a5d51 avr32 information
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@868 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 14:18:28 +00:00
dhoerl ad623c3e7b restored inadvertantly removed buspirate entry
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@867 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 13:59:07 +00:00
dhoerl 4d174e8165 restored inadvertantly removed buspirate entry
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@866 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 13:40:36 +00:00
mludvig 2dbc1647ad * 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/avrdude@865 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-12 06:51:53 +00:00
dhoerl 93245b144f Added AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@864 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:47:50 +00:00
dhoerl e59cded5cb Removed some comments
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@863 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:44:06 +00:00
dhoerl 1008b85c79 AVR32 verify and read now work
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@862 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:34:03 +00:00
dhoerl dedc0c3d70 Added read msg for AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@861 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 23:33:35 +00:00
dhoerl 42c2863662 Cast in fprintf to remove warning on possible size mismatch
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@860 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 22:10:58 +00:00
dhoerl 39653cb958 Cast in fprintf to remove warning on possible size mismatch
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@859 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 22:10:46 +00:00
dhoerl e6eb325ad9 Added #include <unistd.h> to stop warning msg.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@858 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 21:53:26 +00:00
dhoerl 1ae58775b8 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@857 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:10:02 +00:00
dhoerl ad86a0c421 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@856 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:10:00 +00:00
dhoerl 933b26e875 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@855 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:59 +00:00
dhoerl 25bf5bcb37 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@854 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:58 +00:00
dhoerl 6f4fe97cca AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@853 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:57 +00:00
dhoerl 8ab13f94d5 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@852 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:56 +00:00
dhoerl c85c54cffb AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@851 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:55 +00:00
dhoerl 261086971e AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@850 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:53 +00:00
dhoerl 15bce663b9 AVR32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@849 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:09:52 +00:00
dhoerl 9e56293d62 avr32
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@848 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 20:03:51 +00:00
dhoerl e8f77d42e4 added myself
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@847 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 19:03:16 +00:00
dhoerl 701fc20977 About time for this
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@846 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 19:01:49 +00:00
mludvig 328314aae3 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/avrdude@845 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-10 01:41:40 +00:00
mludvig bfa9f07aa2 * 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/avrdude@844 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-08 05:00:41 +00:00
mludvig 839dd39eeb Minor change - buspirate->BusPirate in strcmp()
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@843 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-08 04:40:53 +00:00
mludvig fa7829bcd7 Added support for the BusPirate programmer.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@842 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-10-08 02:05:03 +00:00
joerg_wunsch 5b51a2fdcb 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/avrdude@841 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-08-17 04:15:08 +00:00
joerg_wunsch 58f7e0f2ab AVRDUDE 5.8 is done now.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@840 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 23:06:04 +00:00
joerg_wunsch 0d527175b0 AVRDUDE 5.8 is around the corner.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@838 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:52:02 +00:00
joerg_wunsch 7f797a9d16 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/avrdude@837 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:48:48 +00:00
joerg_wunsch 162f815820 * 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/avrdude@836 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:39:37 +00:00
joerg_wunsch 9837547418 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/avrdude@835 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-10 22:22:22 +00:00
joerg_wunsch 4f753c3bd8 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/avrdude@834 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-06 22:10:20 +00:00
joerg_wunsch fb7a640d75 Post-release 5.7.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@833 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 12:01:21 +00:00
joerg_wunsch 4f8176e67f Prepare for releasing version 5.7.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@831 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 11:44:26 +00:00
joerg_wunsch a13d67fae9 Prepare for releasing version 5.7.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@830 81a1dc3b-b13d-400b-aceb-764788c761c2
2009-07-02 11:43:46 +00:00