Commit Graph

309 Commits

Author SHA1 Message Date
Joerg Wunsch 1049777283 PR #826 is done 2022-01-11 15:41:32 +01:00
Joerg Wunsch 60bda0bcc4 PR #820 is merged 2022-01-11 12:45:04 +01:00
Joerg Wunsch b33709bc04 Mention Micronucleus bootloader (PR #786 - thanks, Hans!) 2022-01-10 22:15:14 +01:00
Joerg Wunsch c7f7fcda8e Fix URL for linuxgpio programmer
Closes #419
2022-01-10 22:12:36 +01:00
Joerg Wunsch 829425f246 Mention PR #818 2022-01-10 21:33:31 +01:00
Joerg Wunsch a3bf6cc4c5 Fix names of Logic Green devices
There's some confusion as the datasheet calls the device family
LGT8FX8P but the devices itself are LGT8F88P through LGT8F328P.
Obviously, the "X" is actually a wildcard denoting the flash size.
2022-01-10 21:29:09 +01:00
Joerg Wunsch b1b80bfa4a Mention PR #817 and issue #812 2022-01-10 21:27:01 +01:00
Joerg Wunsch ea29434568 Mention PR #814 and the issues it closes 2022-01-09 20:33:05 +01:00
Joerg Wunsch e3338c428f Add PR #810 2022-01-08 18:27:48 +01:00
Joerg Wunsch 7d574ccf0b PR #808 is done 2022-01-07 21:40:59 +01:00
Joerg Wunsch 11f7692cc0 Mention PR #798 - all those Windows changes 2022-01-07 18:31:54 +01:00
Joerg Wunsch 3a3250322d Mention PR #807 2022-01-07 13:17:25 +01:00
Joerg Wunsch 8c4c9d0090 Add PR #801 2022-01-07 09:23:49 +01:00
Joerg Wunsch 32d78cc9a0 Mention new ATtinys supported 2022-01-07 09:10:30 +01:00
Joerg Wunsch 5cbd6a5160 Mention PR #802 2022-01-07 09:08:58 +01:00
Joerg Wunsch 67df9b0782 Mention closed PR #803 (and its related issues) 2022-01-06 22:58:46 +01:00
Joerg Wunsch fffbd09767 Mention PR #806 as fixed 2022-01-06 15:55:51 +01:00
Joerg Wunsch 7bf9711392 Mention PR #804 2022-01-05 22:46:36 +01:00
Joerg Wunsch 8c1c803fb2 Mention PR #792 as closed 2022-01-05 17:54:49 +01:00
Joerg Wunsch dba89e7269 Mention PR #796 as fixed 2022-01-04 14:07:15 +01:00
Joerg Wunsch 3a77394d67 Mention recent PRs and fixed issues 2022-01-03 23:35:10 +01:00
Joerg Wunsch c69627a87c Update NEWS
Structure has also been changed to use the Github terminology
(issues and pull requests, rather than bugs and patches).
2022-01-01 21:11:31 +01:00
Joerg Wunsch 3a8af359f3 Update toplevel files.
Integrate old INSTALL into README.md, both files had a lot
of (potential) overlap.

Add template for new entries in NEWS, targetting next release.

Bump version number to 6.99-20211218

Tentatively, with the Github migration and all ongoing code
restructuring, we aim for a version 7.0 release at some point
in the future.
2021-12-18 22:32:50 +01:00
Joerg Wunsch 7015ebe0d6 Update for release of version 6.4
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1523 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-16 21:02:35 +00:00
Joerg Wunsch 02a2cab296 Add a project-related INSTALL file
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1521 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-14 22:03:51 +00:00
Joerg Wunsch 2df2587155 bug #57338: if safemode has to change fuses avrdude should exit with non-zero exit code
In main.c, drop unused variable `fuses_specified'.
Variable ran out of service in r519, but never got removed.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1509 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-06 21:46:41 +00:00
Joerg Wunsch 202b6cab39 bug #58994: VPP PWM still enabled at the end of programming process
Submitted by Dmitrii Chernukhin:
* pickit2.c (pickit2_disable): turn off VPP before shutting down




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1508 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-06 21:13:00 +00:00
Joerg Wunsch 6f69ddb068 Disable parport support by default; bump version date
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1507 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-05 21:57:12 +00:00
Joerg Wunsch 1214f99c2b patch #10153: linuxspi: Support "-E reset" and "-E noreset"
Submitted by Alex Sverdlin:
* linuxspi.c (linuxspi_parseexitspecs): New function




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1506 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-03 22:30:05 +00:00
Joerg Wunsch f09f308ff8 Bug #55462 was fixed in the course of patch #9757
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1503 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 23:15:06 +00:00
Joerg Wunsch 53de300b6e bug #58440: linuxgpio PIN limit too low
* libavrdude.h (PIN_MAX): bump (for HAVE_LINUXGPIO) to 400



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1502 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 21:54:56 +00:00
Joerg Wunsch 03132d7338 patch #8923: Enable TPI for linuxgpio
Submitted by David Mosberger-Tang:
* linuxgpio.c (linuxgpio_initpgm): add cmd_tpi entry




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1501 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 21:41:44 +00:00
Joerg Wunsch 15bd30d442 patch #8996: Remove lock byte read mask (bug#21954, bug#46759)
Submitted by: Milan Kupcevic <milan@debian.org>
* avrdude.conf.in (ATmega48, ATmega88, ATmega168, ATmega328)
(ATmega32U4, ATmega640, ATmega1280, ATmega1281, ATmega2560)
(ATmega2561, ATmega8, ATtiny13, ATmega64, ATmega128, ATmega16)
(AT90CAN32, AT90CAN64, AT90CAN128, ATmega324, ATmega644)
(ATmega1284, ATmega161, ATmega162, ATmega163, ATmega169, ATmega32)
(ATmega329, ATmega649, ATmega8515, ATmega8535, ATtiny2313, ATtiny4313)
(AT90PWM2, AT90USB646, AT90USB1286, AT90USB162, AT90USB82, ATmega32U2)
(ATmega16U2, ATmega8U2, ATmega325, ATmega645, ATtiny1634): Remove
lock byte read mask (bug#46759).




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1500 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 21:28:45 +00:00
Joerg Wunsch 4396674aa7 patch #9304: [Bug #48767] Implemented WinSock variation of "ser_drain(...)" functionality
Submitted by Christopher Cooper:
* ser_win32.c (ser_drain): Implement a network drain
function.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1499 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 21:15:55 +00:00
Joerg Wunsch 2aee540bfa Use -B <bitclock> rather than -b <baudrate> to specify the clock rate
in linuxspi driver.

This offers the additional advantage of being able to parse kHz and
MHz values (in main.c).


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1497 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 18:21:44 +00:00
Joerg Wunsch dd1255b0c8 Improve defaults and documentation of linuxspi
* avrdude.conf.in: use @HAVE_LINUXGPIO_BEGIN/END@ and
@HAVE_LINUXSPI_BEGIN/END@ brackets around respective config
snippets; values were already set in configure.ac.
* linuxspi.c (linuxspi_open): Provide a reasonable (for the
Raspberry Pi) default for the -P option
* avrdude.1: Extend linuxspi documentation
* doc/avrdude.texi: (Dito.)



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1496 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 17:33:49 +00:00
Joerg Wunsch 18fe8ef834 patch #10031: linuxspi: Support GPIO uAPI v2
Submitted by Alex Sverdlin:
* linuxspi.c (linuxspi_reset_mcu, linuxspi_open): Since Linux
v5.10 GPIO ABI Version 1 is optional and depends on
CONFIG_GPIO_CDEV_V1.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1495 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 15:51:24 +00:00
Joerg Wunsch bd4f46b1ff patch #10030: linuxspi: Support inverted GPIO pin
Submitted by Alex Sverdlin:
* linuxspi.c (linuxspi_open): Clear the inversion mask on request
and set default state to avoid short glitches on the GPIO line.




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1494 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 15:48:30 +00:00
Joerg Wunsch 6f183d427c patch #10029: linuxspi: Report GPIO_GET_LINEHANDLE_IOCTL errors
Submitted by Alex Sverdlin:
* linuxspi.c (linuxspi_open): Report ioctl error




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1493 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 15:46:10 +00:00
Joerg Wunsch 93767e0de1 patch #10028: linuxspi: close() only when necessary
Submitted by Alex Sverdlin:
* linuxspi.c: unify descriptor closing




git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1491 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 15:42:33 +00:00
Joerg Wunsch 711323e7cc Submitted by Alex Sverdlin:
patch #10027: linuxspi: Add reset pulse, according to AVR programming algorithm
* linuxspi.c (linuxspi_open, linuxspi_program_enable):
movw out reset code into linuxspi_reset_mcu()



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1490 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-27 15:40:12 +00:00
Joerg Wunsch 49e5f2451c patch #9328: ft245r.c: add TPI support (patches 5-7)
Submitted by David Mosberger-Tang:
* ft245r.c (ft245r_set_bitclock): add workaround for
FT245 hardware bugs in bitclock setting

Correct baud rate calculation (multiplying with factor of 2 was wrong)
and add compile-time workaround for FTDI chips suffering for the
variable pulse-width errata.  The workaround entails always running
the chip at 3MHz and stuffing the channel with repeated bytes to
achieve the desired baudrate.

This has no effect on programming speed.  Note, however, that now a
baudrate option -b750000 has to be used to achieve maximum speed.

(Option enabled by default now.)



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1488 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-25 09:17:11 +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 f821bfc03d patch #9123: ftdi_syncbb: use FT245R_CYCLES in ft245r_set_bitclock()
Submitted by Ivan Frederiks:

Replace magic numbers by #defined constant



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1475 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-14 15:47:29 +00:00
Joerg Wunsch e8c5ed0fcd patch #9122: Fixed MISO sampling in ftdi_syncbb
Submitted by Ivan Frederiks

Fix MISO sampling on falling edge of SCK.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1474 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-11-14 15:44:54 +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