Commit Graph

225 Commits

Author SHA1 Message Date
joerg_wunsch c77e7b7199 Add patch #9185 in NEWS file.
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1420 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-16 22:42:30 +00:00
joerg_wunsch f262921d16 Submitted by Tom Carney:
patch #8219: Fix boot_start for xmega devices on jtagmkII
* jtagmkII.c (jtagmkII_initialize): Determine boarder between
application and boot area correctly.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1418 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-16 22:01:36 +00:00
joerg_wunsch b79d8b1cfb Submitted by Nicolas BRULEZ
patch #8910: ATxmega32c4 and ATxmega16c4 have wrong signatures
bug #41388: ATxmega32c4 and ATxmega16c4 have wrong signatures
* avrdude.conf.in (ATxmega16C4, ATxmega32C4): Fix signatures



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1416 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-15 23:14:27 +00:00
joerg_wunsch 33e99be6c2 Submitted by Dennis Reimers:
patch #8580: FT245r support to select device by serial number
* ft245r.c (ft245r_open): Add serial number parsing.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1415 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-15 22:44:22 +00:00
joerg_wunsch 72f04e3a0b Submitted by Axel Simon:
patch #9033: avrdoper backend uses libhidapi instead of libusb
* ser_avrdoper: Add libhidapi implementation
* stk500v2.c: Adapt #ifdefs for LIBHIDAPI
* avrdude.1: Document change
* doc/avrdude.texi: (Dito)




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1414 81a1dc3b-b13d-400b-aceb-764788c761c2
2018-01-14 23:12:06 +00:00
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 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 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 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 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 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 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 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 de02ef96ee Mention backout of
patch #8380: adds 500k 1M 2M baud to ser_posix.c



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1368 81a1dc3b-b13d-400b-aceb-764788c761c2
2016-02-15 19:46:58 +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 c1469e5135 bug #44717: avrdude creates empty flash dump
When about to write an empty flash dump file, warn about this to avoid
surprises.

Document the truncation of trailing 0xFF bytes for flash memory areas.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1355 81a1dc3b-b13d-400b-aceb-764788c761c2
2015-04-09 19:50:30 +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
joerg_wunsch 4860f8c6e2 patch #8437: [PATCH] Serial-over-ethernet for Win32
* configure.ac: Check for ws2_32 library
* ser_win32.c: Add hooks for forwarding serial data over
TCP connections
* avrdude.1: Drop previous restriction of -P net:
* doc/avrdude.conf: (Dito.)



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1350 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-25 20:00:33 +00:00
joerg_wunsch ccaf9e9549 bug #42908: no external reset at JTAGICE3
* jtag3.c (jtag3_initialize): Retry with external reset applied if
the first sign-on attempt fails.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1349 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-24 09:52:00 +00:00
rliebscher 0013a990fa update NEWS file
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1348 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-23 22:59:40 +00:00
joerg_wunsch 3f9c9ba793 Allow the -B option argument to be suffixed with Hz, kHz, or MHz, in
order to specify a bitclock frequency rather than period.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1347 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-23 21:49:56 +00:00
joerg_wunsch a0b06973de bug #40870: config nitpick: ATtiny25/45/85 have 1 calibration byte not 2
* avrdude.conf.in (ATtiny25, ATtiny45, ATtiny85): Fix size of
"calibration" memory area



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1346 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-23 21:10:32 +00:00
joerg_wunsch fcc716e1a7 bug #43137: Writing and reading incorrect pages when using jtagicemkI
* jtagmkI.c (jtagmkI_paged_write, jtagmkI_paged_load): correctly
calculate the size of a partial (non-pagesize) buffer



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1345 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-23 20:57:17 +00:00
joerg_wunsch 48c365e31c bug #43078: AVRDUDE crashes after sucessfully reading/writing eeprom
* jtag3.c (jtag3_edbg_recv_frame): Return correct length as
reported in the response packet, rather than full 512 byte which
are always reported by the CMSIS-DAP layer.  Miscalculations
based on the wrongly reported length caused heap corruption
elsewhere, so this is presumably also a fix for bug #43078.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1344 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-23 20:46:53 +00:00
joerg_wunsch 61a5a5e7ff bug #41561: AVRDUDE 6.0.1/USBasp doesn't write first bytes of
flash page
* usbasp.c (usbasp_spi_paged_write): Remove USBASP_BLOCKFLAG_LAST.
It is no longer needed, as we always write full pages now in paged
write mode.

This prevents each flash page from being written twice, where the
second attempt on older devices (ATmega64/128) signalled an immediate
"ready" condition when polling (likely a silicon bug) even though they
were still in progress.  This caused the USBasp firmware to proceed,
and fill the page buffer anew which eventually caused the data
corruption.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1343 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-11-20 09:20:44 +00:00
joerg_wunsch 4822833ce4 bug #42267: jtag3isp fails to read lock and fuse bytes directly
after changing lock byte
* stk500v2.c (stk500isp_write_byte): As a workaround for broken
tool firmware, add 10 ms of delay before returning from any
single-byte write operation.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1337 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-10-07 15:21:14 +00:00
joerg_wunsch 71e437432f * stk500v2.c: Use stk500isp_read_byte/stk500isp_write_byte for
every byte-wide access (rather than JTAGICE3 only).  This finally
obsoletes the use of the prehistoric SPI_MULTI command where
AVRDUDE used to assemble all the low-level ISP stuff by itself.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1336 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-10-06 22:15:29 +00:00
joerg_wunsch 24e7130492 bug #22248: Read efuse error
* avrdude.conf.in (m168, m328, m48, m88, t1634, t26, t261, t461,
t861, t88): In efuse (or hfuse for t26) read operation, turn all
bits in byte 3 from "x" to "o" (output); this is a first step
towards fixing the symptoms mentioned in the bug, by unifying the
behaviour between different AVRs.  Not touched are the historic
devices where the fuses are not documented to form a full byte
each (2333, 4433, 4434, 8535, m103, m161, m163).



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1335 81a1dc3b-b13d-400b-aceb-764788c761c2
2014-10-06 13:35:14 +00:00