Joerg Wunsch
7ff5652edc
patch #9327 : ft245r.c: add TPI support (patches 1-4)
...
Submitted by David Mosberger-Tang
With newer versions of the Linux kernel (e.g., Ubuntu's
linux-image-4.4.0-75-generic), the default for the latency timer is
set to a high value. Since this driver needs quick turnaround times,
set it explicitly to the minium. This improves TPI programming speed
by almost a factor of 10.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1484 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-24 22:00:45 +00:00
Joerg Wunsch
6de6c0ffce
patch #9327 : ft245r.c: add TPI support (patches 1-4)
...
Submitted by David Mosberger-Tang:
* ft245r.c: add TPI support
* avrdude.conf.in (tc2030): New programmer
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1483 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-24 21:25:45 +00:00
Joerg Wunsch
d947e5893f
* ft245r.c (ft245r_open): allow for picking a default
...
device if none has been provided by -P
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1482 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-24 21:09:33 +00:00
Joerg Wunsch
391439493d
* jtag3.c (jtag3_edbg_recv_frame): Better handling for
...
fragment_info == 0x00 (no response available)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1481 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-24 21:04:47 +00:00
Joerg Wunsch
172fcb7c7e
Now that we have a matches() function, prefer it over strncmp()
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1479 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-23 09:48:15 +00:00
Joerg Wunsch
bd50422644
patch #9757 : Fix ATtiny817 Xplained Mini programmer
...
* jtag3.c (jtag3_getsync, jtag3_close): correctly extract
programmer name from list of names
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1478 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-23 09:42:39 +00:00
Joerg Wunsch
8004e38403
patch #8719 : Support Over-the-Air bootloading with XBeeBoot
...
Submitted by David Sainty:
* xbee.c: New programmer
* xbee.h: (Dito.)
* pgm_type.c: Add xbee.h
* avrdude.conf.in (xbee): New programmer
* Makefile.am (libavrdude_a_SOURCES): add xbee.c, xbee.h
* avrdude.1: document the new programmer
* doc/avrdude.texi: (Dito.)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1477 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-22 21:35:26 +00:00
Joerg Wunsch
9a15fcb25f
Update ChangeLog for ft245r.c patches
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1476 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-14 15:48:53 +00:00
Joerg Wunsch
5e6a662e8a
Submitted by David Mosberger-Tang:
...
patch #9320 : fix TPI RESET in bitbang.c
* bitbang.c (bitbang_initialize): wait for 128 ms after deasserting
/RESET (per datasheet), and keep /RESET low during MOSI/MISO link check
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1472 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-14 13:17:44 +00:00
Joerg Wunsch
3d1b0ff308
Submitted by Jon Thacker:
...
patch #9253 : Fix for giving terminal_mode commands more than 20 arguments
* term.c (tokenize): fix realloc usage, pointer returned not necessarily
the same as pointer passed
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1471 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-12 22:11:49 +00:00
Joerg Wunsch
db7249bf57
Submitted by Martino Facchin:
...
patch #9110 : Let reserved fuse bits to be read as *don't care*
* avr.c (compare_memory_masked): New function
* libavrdude.h: declare compare_memory_masked(); also, insist on C99
so <stdint.h> is required now
* main.c: Use compare_memory_masked() in safemode comparisons
C99 / stdint.h has basically already been required before, as types
like uint8_t are in use in a number of other locations throughout the
source.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1470 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-12 22:02:29 +00:00
Joerg Wunsch
10df0ff15a
Submitted by Joseph Coffland:
...
patch #8957 : Allow reading prodsig memory from stk500v2 on xmega devices
* stk500v2.c (stk600_xprog_read_byte, stk600_xprog_paged_load):
treat "prodsig" memory space as equivalent to "calibration"
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1469 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-11 20:59:25 +00:00
Joerg Wunsch
91948428a6
Submitted by Martin Thierer:
...
patch #10017 : uspasp / tpi: Automatically clear configuration byte (fuse) before writing it
* usbasp.c (usbasp_tpi_paged_write): clear fuse region before writing it
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1468 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 20:10:24 +00:00
Joerg Wunsch
62a00cedc7
Submitted by Michael Petersen:
...
patch #9697 : Add iseavrprog support
* avrdude.conf.in (iseavrprog): New programmer
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1467 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 19:37:50 +00:00
Joerg Wunsch
8841a9cd93
bug #50630 : Erase Cycle Counter options ( -y -Y n ) should be removed from usage Message
...
* main.c (usage): remove -y / -Y descriptions
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1466 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 16:51:42 +00:00
Joerg Wunsch
46628eb3c6
Add ATmega8A as an alias for ATmega8
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1465 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 16:49:12 +00:00
Joerg Wunsch
84af4b36a1
bug #50517 : Reading fails if "immediate mode" for output file format
...
is selected - fileio: invalid operation=1
* update.c (do_op): refuse to write to "immediate format" argument
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1464 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 16:22:00 +00:00
Joerg Wunsch
eb461f706f
Submitted by Martin Thierer:
...
bug #60863 : avrftdi programming error probably caused by multiple, consecutive empty pages
* avrftdi.c (avrftdi_flash_write): Skip empty pages
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1462 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 16:00:16 +00:00
Joerg Wunsch
9cf4edf76f
Submitted by Matwey V. Kornilov:
...
bug #58495 : Add atmega324pb support to avrdude.conf.in
* avrdude.conf.in (ATmega324PB): new entry
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1461 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 15:50:53 +00:00
Joerg Wunsch
7c554b0035
bug #55734 : USBtiny programming of ATmega328p broken by Patch #9278
...
* usbtiny.c (usbtiny_initialize): undo change from patch #9728
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1459 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 15:44:18 +00:00
Joerg Wunsch
8907155291
Fix entry for ATmega164P, by deriving it from ATmega324P
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1458 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 15:28:24 +00:00
Joerg Wunsch
aedc3b0c2a
Submitted by evan Venn:
...
bug #59227 : Add new part. How does one get a part added to the CONF file?
* avrdude.conf.in (LGT8FX88P, LGT8FX168P, LGT8FX328P): new parts
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1457 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-07 09:18:32 +00:00
Joerg Wunsch
b05e8af0a7
Submitted by Britton Kerin:
...
bug #57453 : [PATCH] fix reference to nonexistant -m option by changing to -U
* avrdude.1: replace -m option by -U
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1456 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-06 22:44:21 +00:00
Joerg Wunsch
60f5885849
Submitted by Andrew D'Addesio:
...
bug #58078 : [PATCH] buspirate: remove compound literals (fixes GCC>=9)
* buspirate.c (buspirate_start_mode_bin):
avoid propagating local scope compound literals
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1455 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-06 22:34:29 +00:00
Joerg Wunsch
e074edf4cb
Submitted by Jan Egil Ruud:
...
patch #10000 : Add support for extended UPDI device context
* avrdude.conf.in (pickit4_updi, snap_updi, pkobn_updi):
new programmers
* avrdude.conf.in (ATmega808, ATmega809, ATmega1608, ATmega1609)
(AVR DA, AVR DB): new devices
* jtag3.c: Add support for extended UPDI device context
* jtag3_private.h: (Dito.)
* tools/atdf-to-avrdude.xslt: Bug fixes
* usbdevs.h: Bump USBDEV_MAX_XFER_3 to 912
* doc/avrdude.texi: Document changes
* avrdude.1: (Dito)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1454 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-06 22:13:51 +00:00
Joerg Wunsch
c9aeaf8928
Submitted by gerardoallende:
...
bug #59525 : Bogus error message because Copy/Paste typo in stk500.c
* stk500.c (stk500_getparm): Fix bogus ID in error message
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1453 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-06-27 20:42:06 +00:00
Joerg Wunsch
38e5aa33ea
bug #60753 : Patch #1436 breaks multiple programmer/device combinations on MacOS BigSur
...
* avr.c: compare page_size > 1 instead of != 0
* stk500v2.c: (Ditto.)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1452 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-06-27 20:26:05 +00:00
Joerg Wunsch
69a771317f
ChangeLog rotation
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1451 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-06-27 20:24:30 +00:00
Joerg Wunsch
1b650f594d
* avrdude.conf.in (m32m1): add "size" parameter in "efuse"
...
section
Reported by Hannes Wallnöfer:
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1450 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-22 07:36:45 +00:00
Joerg Wunsch
c934f95f5e
patch #9744 : Patch for ATMega324A support
...
* avrdude.conf.in (m324a): New entry.
Submitted by Björn Mellström
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1449 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-20 20:51:51 +00:00
Joerg Wunsch
e98f9854b7
patch #9811 : ATmega328pb has efuse bit 3
...
* avrdude.conf.in (m328pb): Add own efuse definition
Submitted by Ronald Sutherland
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1448 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-20 18:29:03 +00:00
Joerg Wunsch
40b0b104d6
patch #9816 : Implement new programmer type: linuxspi
...
* linuxspi.c: (New file.)
* linuxspi.h: (New file.)
* Makefile.am: Add new files
* configure.ac: Add "linuxspi" --enable option
* avrdude.conf.in: Add "linuxspi" programmer template
* pgm_type.c: Include linuxspi programmer
* doc/avrdude.texi: Document new programmer
* avrdude.1: (Dito.)
Submitted by Ralf Ramsauer
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1447 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-19 21:32:38 +00:00
Joerg Wunsch
9b3762a812
patch #9963 : UsbAsp 3 MHz patch for UsbAsp-flash firmware
...
* usbasp.c: Implement 3 MHz clock option including capability check
* usbasp.h: (Dito.)
Submitted by Marcin Miskiewic
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1446 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-18 21:52:12 +00:00
Joerg Wunsch
1d2e4ef388
patch #9966 : Add JTAGICE3 in UPDI mode
...
* avrdude.conf (jtag3updi): New entry.
Submitted by Sven Schwermer:
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1445 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-18 21:24:03 +00:00
Joerg Wunsch
2c4f9d23b4
patch #9732 : usbtiny_paged_load overflows buffer e.g. when reading EEPROM
...
* usbtiny.c (usbtiny_paged_load, usbtiny_paged_write): ensure chunk
does not overflow memory area
Submitted by Joel Ray Holveck
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1444 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-18 21:16:13 +00:00
Joerg Wunsch
3f5e101f09
Fix various typos.
...
Submitted by Adrian Klieber
patch #9818 : correct typos in SVN rev 1429
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1443 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-16 21:31:19 +00:00
Joerg Wunsch
e35e8f414a
Document patch #9820 has been applied
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1442 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-16 21:26:42 +00:00
Joerg Wunsch
b23c506cbd
Enforce correct length of target string constraints in strncpy().
...
Clang did warn about these.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1438 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-10 21:43:23 +00:00
Joerg Wunsch
60529b4e50
ChangeLog entry for previous commit
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1437 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-09-10 21:40:40 +00:00
Joerg Wunsch
785b0cea55
patch #9819 : Address several leaks in SVN rev 1429
...
Submitted by Adrian Klieber
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1435 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-03-14 22:34:45 +00:00
Joerg Wunsch
c34fb88844
Submitted by: kautism
...
patch #9893 : [PATCH] Reader reads ftdi handle after main thread close it
* ft245r.c: Wait until reader thread has been stopped before closing FTDI
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1434 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-03-11 12:39:57 +00:00
Joerg Wunsch
ae24d7a284
Add changelog entry for previous commit (fix compiler warnings)
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1433 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-03-11 09:43:15 +00:00
Joerg Wunsch
e43c47a93f
Annual ChangeLog rotation
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1432 81a1dc3b-b13d-400b-aceb-764788c761c2
2020-03-11 09:42:02 +00:00
Joerg Wunsch
4648eca956
bug #57428 : [PATCH] document when 'arduino' or 'wiring' should be used, and -D requirement of latter
...
* avrdude.1: Clarify
* doc/avrdude.texi: (dito)
Submitted by Britton Kerin
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1430 81a1dc3b-b13d-400b-aceb-764788c761c2
2019-12-17 22:31:51 +00:00
Joerg Wunsch
bb7be5efe6
Submitted by Martino Facchin:
...
patch #9728 : Fix UsbTiny programmer
* usbtiny.c (usbtiny_initialize): Only consider
pgm->program_enable successful if returning 0
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1429 81a1dc3b-b13d-400b-aceb-764788c761c2
2019-01-05 23:16:11 +00:00
Joerg Wunsch
536816087b
Submitted by Milan Kupcevic:
...
patch #9735 : spelling error fix: psuedo -> pseudo
* avrpart.c (avr_display): Spelling fix
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1428 81a1dc3b-b13d-400b-aceb-764788c761c2
2019-01-05 23:01:56 +00:00
Joerg Wunsch
0a3faafd57
Annual ChangeLog rotation.
...
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1427 81a1dc3b-b13d-400b-aceb-764788c761c2
2019-01-05 22:59:06 +00:00
Joerg Wunsch
f36484ed19
patch #8444 : Proposal for modifications in -B and -U command options managment
...
* update.c (parse_op): Default -U filename to RBIN for output
files
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1425 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-21 22:45:45 +00:00
Joerg Wunsch
9cb9f504ae
Submitted by Simone:
...
patch #8128 : Added new option to configure.ac script
* configure.ac (disable-libusb_1_0): New option
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1423 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-18 22:15:08 +00:00
Joerg Wunsch
7de935d3ad
Submitted by Jan Egil Ruud:
...
patch #9542 : Correct "usersig" on avr8x devices
* avrdude.conf.in (.avr8x_tiny, .avr8x_mega): rename "userrow" to
"usersig", and fix its page size for .avr8x_mega
* jtag3.c: Remove all "userrow" handling
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1422 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-18 21:52:00 +00:00