Commit Graph

818 Commits

Author SHA1 Message Date
joerg_wunsch d12f28b22f Submitted by David Mosberger-Tang
patch #8924: Enable TPI for usbtiny
* usbtiny.c: Extend to handle TPI targets
* configure.ac: Probe for <netinet/in.h>



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1412 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-12 23:31:35 +00:00
joerg_wunsch 274112181e Submitted by Yegor Yefremov:
patch #9222: Enable silent build
* configure.ac: Add AM_SILENT_RULES
* Makefile.am: Document how to run "make" to get verbose
build messages




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1411 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-12 22:07:39 +00:00
joerg_wunsch 23b0d1df50 Submitted by: Kjetil Kjeka:
patch #9317: Support atmega64m1 as part
* avrdue.conf.in (ATmega64M1): New entry.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1410 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-12 21:55:40 +00:00
joerg_wunsch b0f30e13d5 Submitted by Submitted David Griffith:
patch #9530: Update URL to Ladyada's USBtinyISP page.
* avrdude.conf.in (usbtiny): Update URL



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1409 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-12 21:45:09 +00:00
joerg_wunsch 565681e683 Submitted by Milan Kupcevic:
patch #9423: Support ATtiny841 and ATtiny441
bug #47376: ATtiny841 description missing in configuration file
bug #49455: support for tiny441
* avrdude.conf.in (ATtiny841, ATtiny441): New entries



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1408 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-12 21:38:09 +00:00
joerg_wunsch a463580945 patch #9506: Script to create device configuration stub from Atmel ATDF files
Thanks to Morten Engelhardt Olsen for his contribution!



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1406 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-10 06:59:26 +00:00
joerg_wunsch dd7ee6507b Submitted by Jan Egil Ruud <janegil.ruud@microchip.com>
patch #9507: Fix UPDI chip erase
* lexer.l (family_id): New keyword.
* config_gram.y: (Ditto)
* doc/avrdude.texi: Document new keyword
* avrdude.conf.in: Add family_id for avr8x devices
* avr.c: Pass error code up.
* jtag3.c: Pass error code from memory read up; implement
jtag3_read_sib()
* libavrdude.h: Add new items.
* main.c: Implement different chip erase handling required
for UPDI devices.

Submitted by Jan Egil Ruud <janegil.ruud@microchip.com>
patch #9506: Script to create device configuration stub from Atmel ATDF files
* avrdude.conf.in (ATtiny202, ATtiny204, ATtiny402, ATtiny404)
(ATtiny406, ATtiny804, ATtiny806, ATtiny807, ATtiny1604)
(ATtiny1606, ATtiny1607, ATtiny212, ATtiny214, ATtiny412)
(ATTiny414, ATtiny416, ATtiny417, ATtiny814, ATtiny816)
(ATtiny1614, ATtiny1616, ATtiny3214, ATtiny3216, ATtiny3217)
(ATmega3208, ATmega3209, ATmega4808, ATmega4809): New devices




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1405 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-09 23:29:31 +00:00
joerg_wunsch 9c3fd061a7 Annual ChangeLog rotation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1404 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-09 23:17:54 +00:00
joerg_wunsch e9bf58c1cf Submitted by Jan Egil Ruud <janegil.ruud@microchip.com>
patch #9507: Fix UPDI chip erase
* jtag3.c (jtag3_chip_erase_updi): New function
* jtag3_private.h: More constants




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1403 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-12-30 00:05:54 +00:00
joerg_wunsch 51ff73286c Submitted by Jan Egil Ruud <janegil.ruud@microchip.com>
patch #9508: Add PowerDebugger and XPlained Mini in UPDI mode
* avrdude.conf.in (xplainedmini_updi, powerdebugger,
powerdebugger_pdi, powerdebugger_updi, powerdebugger_dw,
powerdebugger_isp): New programmers

(extends previous commit)


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1402 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-12-29 23:33:54 +00:00
joerg_wunsch 6a6534cfad Add Xplained Mini in UPDI mode as new programmer.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1401 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-12-29 23:16:50 +00:00
joerg_wunsch 4a8125a817 bootstrap: Detect whether libtoolize is named `glibtoolize' (MacOS)
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1400 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-12-29 22:23:06 +00:00
joerg_wunsch 6a286a90b2 Bump version date to indicate added UPDI support.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1399 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-11-29 23:11:35 +00:00
joerg_wunsch 27d0aebbbe Submitted by Jan Egil Ruud <janegil.ruud@microchip.com>
patch #9482: Add support for UPDI and AVR8X
* avrdude.conf.in (xplainedpro_updi): New programmer
* avrdude.conf.in (.avr8x, ATtiny1617, ATtiny817): New device
family and devices
* config_gram.y: add K_OCD_BASE and K_HAS_UPDI
* lexer.l: (Ditto.)
* doc/avrdude.texi: Document "has_updi" flag
* jtag3.c: Implement UPDI
* jtag3.h: (Ditto.)
* jtag3_private.h: (Ditto.)
* libavrdude.h: Add ocd_base value and AVRPART_HAS_UPDI flag
* pgm_type.c: Add jtagice3_updi




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1398 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-11-29 23:09:51 +00:00
joerg_wunsch 34b031f3d7 Submitted by Jan Egil Ruud <janegil.ruud@microchip.com>
avrdude.conf.in (ATmega328PB): New part



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1397 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-11-29 22:44:56 +00:00
joerg_wunsch 4bcf963c88 bug #48084: Avoid compiled-in timestamp for reproducible release builds
Remove "compiled on/at" string in main.c.
 



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1396 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-11-13 16:47:51 +00:00
joerg_wunsch 26ef3f553b Fix bug-id for last change.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1395 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-03-06 21:12:00 +00:00
joerg_wunsch 47a7b5f2b6 Reported by Roger A. Krupski:
safemode.c: Display lfuse at correct MSG level



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1394 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-03-05 18:23:18 +00:00
joerg_wunsch 620d03cbfc Annual changelog rotation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1393 81a1dc3b-b13d-400b-aceb-764788c761c2
2017-03-05 18:21:08 +00:00
joerg_wunsch 3f52fcce58 Define DEBUG and DEBUGRECV unconditionally, as MSG_TRACE2 messages.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1392 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-09-14 06:17:59 +00:00
joerg_wunsch 5b46537df2 Add ehajo-isp programmer (commercial version of USBtiny).
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1391 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-05-09 22:05:59 +00:00
joerg_wunsch 554c72cab4 * configure.ac (libftdi1): Rather than hardcoding the library
providing the libusb-1.0 API, use the result from the previous
probe.  This helps detecting libftdi1 on FreeBSD where the
libusb-1.0 API is provided by the system's libusb.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1390 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-04-20 20:40:58 +00:00
joerg_wunsch 059fbf3f47 In usbhid_open(), correctly calculate the
offset for serial number matching.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1389 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-04-18 14:47:53 +00:00
joerg_wunsch 9ac840041b bug #47550: Linux GPIO broken
* linuxgpio.c: Replace %ud by %u in snprintf calls.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1388 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-03-28 17:29:30 +00:00
joerg_wunsch 37cb2ad56c Bump read timeout in usbhid_recv() to 300 ms.
In some situations (e.g. when accessing a DW-fused device),
100 ms have proven to be too short.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1387 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-03-02 21:04:36 +00:00
joerg_wunsch 6927e1aa06 Use libhidapi as (optional) transport for CMSIS-DAP compliant
debuggers (JTAGICE3 with firmware 3+, AtmelICE, EDBG, mEDBG).



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1381 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-20 22:50:13 +00:00
joerg_wunsch 10e2e34afb (Obtained from patch #8717: pattch for mcprog and libhidapi support)
* configure.ac: Probe for libhidapi
* Makefile.am: Add @LIBHIDAPI@




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1380 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-17 21:48:37 +00:00
joerg_wunsch f8723855af Bump copyright year.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1379 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-16 22:28:19 +00:00
joerg_wunsch 8a67ccd56e Bump for post-release 6.3.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1378 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-16 22:08:17 +00:00
joerg_wunsch 062bdd7c33 Prepare release 6.3.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1376 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-16 21:28:52 +00:00
joerg_wunsch 72a6c54196 Add the Xplained Mini to the documentation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1375 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 21:02:00 +00:00
joerg_wunsch 22db0384e6 patch #8895: Spelling in 6.2 code
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1374 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 20:34:27 +00:00
joerg_wunsch d6786d29b3 patch #8895: Spelling in 6.2 code
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1373 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 20:29:53 +00:00
joerg_wunsch a7d90e58da patch #8896: Silence cppcheck warnings in 6.2 code
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1372 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 20:22:26 +00:00
joerg_wunsch ce4deb2ec0 patch #8735: ATtiny28 support in avrdude.conf
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1371 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 20:15:07 +00:00
joerg_wunsch 10e5e4468e Add ATmega{48,88,168}PB devices.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1370 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 20:10:01 +00:00
joerg_wunsch a94e7b1325 patch #8435: Implementing mEDBG CMSIS-DAP protocol
* usb_libusb.c: Add endpoint IDs for Xplained Mini, correctly
transfer trailing ZLP when needed
* avrdude.conf.in (xplainedmini, xplainedmini_dw): New entries.
* jtag3.c (jtag3_edbg_send, jtag3_edbg_recv_frame): Implement
fragmentation needed for the 64-byte EP size of the Xplained Mini




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1369 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 19:58:45 +00:00
joerg_wunsch 2d3095d3d4 Annual changelog rotation.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1367 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-09 14:23:03 +00:00
joerg_wunsch bdb38b388a Do not suggest users might change the default config file. It will be
overwritten by updates.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1366 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-12-15 22:40:13 +00:00
joerg_wunsch 1238faae24 bug #46610: Floating point exception (core dumped) arch linux rpi2
bug #46483: version 6.2. ser_open(): can't set attributes for device
* ser_posix.c: Back out change from patch #8380



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1365 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-12-09 22:45:57 +00:00
joerg_wunsch efb2a1e457 This is the post-6.2 state now.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1364 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-11-16 22:46:49 +00:00
joerg_wunsch 3a23a71d25 About to release version 6.2.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1362 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-11-16 22:40:29 +00:00
joerg_wunsch 26153f62f2 Submitted by Martino Facchin:
bug #45727: Wrong atmega8u2 flash parameters
* avrdude.conf.in (ATmega8U2): correct page and block size



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1360 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-10-31 20:50:52 +00:00
joerg_wunsch 60099b1694 Submitted by Pasquale Cocchini:
bug #46020: Add TIAO TUMPA to the conf file.
* avrdude.conf.in (tumpa): New entry.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1359 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-10-31 20:23:26 +00:00
joerg_wunsch 44abc2201d Submitted by Pasquale Cocchini:
bug #46021: Please add read in the memory lock section of ATtiny85
* avrdude.conf.in (ATtiny25/45/85): add read pattern for lock bits



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1358 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-10-31 09:01:52 +00:00
joerg_wunsch 88ba0ea077 * Makefile.am (libavrdude_a_SOURCES): reflect recent changes
(pgm.h is gone, config.h is new).




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1357 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-10-30 23:11:22 +00:00
joerg_wunsch ad6d60a105 Add this year's ChangeLog file.
bug #45035: Build from r1355 SVN fails due to missing ChangeLog file


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1356 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-05-06 12:43:16 +00:00
joerg_wunsch 608b9677c0 Annual ChangeLog rotation (quite late this year).
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1354 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-04-09 19:48:01 +00:00
joerg_wunsch 71b6c3439a Properly declare arg #2 of net_send() (in ser_win32.c) as being a pointer
to const data.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1353 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-26 09:38:15 +00:00
joerg_wunsch 5815a76df8 patch #8380: adds 500k 1M 2M baud to ser_posix.c
* ser_posix.c: Add a hack to allow for arbitrary baud rates on
Linux




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1351 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-25 21:33:22 +00:00