Commit Graph

1509 Commits

Author SHA1 Message Date
Joerg Wunsch a6a06f47f6 Prevent `spi' and `pgm' commands from crashing terminal mode
These commands are been meaningful only on direct bitbang programming
adapters which implement a pgm->setpin method.

Disable these commands for all other programmers, and issue an
informational message.

This is a partial fix for bug #790.
2022-01-01 20:58:26 +01:00
Jörg Wunsch 69231d7ad0
Merge pull request #791 from MCUdude/add-programmers
Add PicKit4 and SNAP programmers
2022-01-01 20:31:59 +01:00
MCUdude 2623e7a9fa Update docs to reflect new programmers 2022-01-01 12:06:52 +01:00
MCUdude 302b6eb05a Add PicKit4 and SNAP ISP and PDI programmer options 2022-01-01 12:04:16 +01:00
Joerg Wunsch 89c4ab0375 Remove the License subclause 2021-12-31 00:07:52 +01:00
Marius Greuel 5246cf1750 Make Windows version resource accept fewer than four version numbers 2021-12-29 22:28:19 +01:00
Marius Greuel 65e3fe358a Always upload GitHub Build artifacts, even on failure 2021-12-29 22:27:36 +01:00
Jörg Wunsch 4c3530e199
Merge pull request #787 from dl8dtl/serialupdi-manpage
Serialupdi manpage
2021-12-28 23:41:22 +01:00
Joerg Wunsch a369f9d28f SerialUPDI man page addition 2021-12-28 23:34:34 +01:00
Joerg Wunsch 805ca48ffa Merge remote-tracking branch 'upstream/main' 2021-12-28 23:24:13 +01:00
Jörg Wunsch b14459dc04
Merge pull request #782 from dbuchwald/main
Documentation for SerialUPDI programmer
2021-12-28 23:23:37 +01:00
Joerg Wunsch a625db23e0 Merge remote-tracking branch 'upstream/main' 2021-12-28 15:00:53 +01:00
Jörg Wunsch f531af70db
Merge pull request #783 from mariusgreuel/pr-improve-cmake
Improve CMake project
2021-12-28 14:47:58 +01:00
Jörg Wunsch 5520bd6711
Merge pull request #784 from mariusgreuel/pr-bugfix-avr_read
Fix avr_read() for page reads

Closes issue #481
2021-12-26 18:34:39 +01:00
Marius Greuel 55251ea6f5 Fix avr_read() for page reads with page sizes that are not a multiple of the memory size 2021-12-26 16:57:23 +01:00
Marius Greuel 3840468e36 Improve CMake project to filter conditional sections 2021-12-26 16:46:15 +01:00
Marius Greuel f391b7138b Improve CMake project for FreeBSD builds 2021-12-26 16:40:28 +01:00
Dawid Buchwald c48c5135d8 Added SerialUPDI related documentation 2021-12-26 14:34:01 +01:00
Dawid Buchwald 993b8d7792 Another addition to .gitignore file 2021-12-26 14:22:39 +01:00
Dawid Buchwald b78170397a Added missing entry to .gitignore 2021-12-26 13:06:21 +01:00
Jörg Wunsch c60c5c4b83
Merge pull request #779 from yegorich/memleaks
Fix memory leaks

In jtag3_send() and jtagmkI_send(), free the buffer when returning an error.
2021-12-26 00:44:33 +01:00
Yegor Yefremov d14bb02dca Fix memory leaks
Free buf in the case of an error. Found via cppcheck.
2021-12-24 10:14:16 +01:00
Jörg Wunsch 3d39f3f232
Merge pull request #777 from yegorich/typos
Fix typos in src/avrftdi.c.

No actual code change imposed.
2021-12-23 17:52:36 +01:00
Yegor Yefremov f2dc95ea01 Fix typos 2021-12-23 17:17:08 +01:00
Joerg Wunsch 025ebd4ae8 Ah OK, CMAKE doesn't like dashes in the version number.
Turn 6.99-20211218 into 6.99.20211218
2021-12-22 23:33:20 +01:00
Joerg Wunsch 47947fb35c Make version numbers of configure.ac and CMakeLists.txt match
We are moving towards AVRDUDE 7.0, so express this by using
6.99 by now.
2021-12-22 23:27:05 +01:00
Marius Greuel 86cef2559f Add serialupdi to CMakeLists.txt 2021-12-22 22:40:21 +01:00
Jörg Wunsch 1f44ec5e0c
Merge pull request #768 from mariusgreuel/pr-migration2
GitHub Migration part 2: start a CMake infrastructure
2021-12-22 22:20:21 +01:00
Jörg Wunsch 2c0ccfed3a
Merge pull request #772 from dbuchwald/main
SerialUPDI implementation - release candidate 1
2021-12-22 20:01:35 +01:00
Dawid Buchwald c093b21a67 Moved SerialUPDI sources to correct location 2021-12-21 21:45:36 +01:00
Dawid Buchwald 291549d021 Merged AVRDUDES/main into SerialUPDI branch 2021-12-21 21:38:51 +01:00
Dawid Buchwald 0bb1b758a4 Removed files from old location 2021-12-21 21:30:31 +01:00
Jörg Wunsch cef773d17f
Merge pull request #769 from mariusgreuel/pr-windows-cleanup
Remove 'windows' folder with giveio.sys driver
2021-12-21 18:11:10 +01:00
Marius Greuel 764c0f6e19 Add credits for giveio.sys driver contributions 2021-12-21 17:57:39 +01:00
Marius Greuel 60cb548075 Remove 'windows' folder with giveio.sys driver 2021-12-21 17:45:35 +01:00
Marius Greuel 89c345c6a6 Add GitHub build action for CMake project 2021-12-20 17:52:37 +01:00
Marius Greuel e4ebfe420c Add Windows version resource 2021-12-20 17:51:44 +01:00
Marius Greuel fbdb6a98c0 Add CMake project 2021-12-20 17:50:42 +01:00
Joerg Wunsch 868895e2e0 Make `bootstrap' executable
That bit appears to get lost during transition from SVN.
2021-12-19 00:35:52 +01:00
Jörg Wunsch 6454bd79a8
Merge pull request #767 from dl8dtl/toplevel-updates
Update toplevel files.
2021-12-18 22:35:02 +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
Jörg Wunsch 6404e78154
Merge pull request #765 from mariusgreuel/pr-migration1
GitHub Migration
* Move source files to src/ subdir
* Remove ChangeLog* - meta information is kept in VCS anyway
* replace old README by readme.md
2021-12-18 21:38:03 +01:00
Dawid Buchwald d1dddad896 Added support for writing USERROW memory 2021-12-18 16:47:37 +01:00
Dawid Buchwald c3100763cb Implemented lockbits programming and forced chip erase procedure
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1522 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:30 +01:00
Dawid Buchwald dc846ba7e8 Fix candidate for EEPROM writing issue
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1520 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:30 +01:00
Dawid Buchwald 189f829c3f Fix candidate for write fuse operation
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1519 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:30 +01:00
Dawid Buchwald 9ff14b7a42 Fix candidate for issue with atmega4809
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1518 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:30 +01:00
Dawid Buchwald e941d4d3f1 Implemented faster flash programming method
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1517 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:30 +01:00
Dawid Buchwald c6902553be First successful programming
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1516 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:30 +01:00
Dawid Buchwald 8f67f9c50b Implemented byte and page read operations
git-svn-id: svn://svn.savannah.nongnu.org/avrdude/branches/serialupdi@1514 81a1dc3b-b13d-400b-aceb-764788c761c2
2021-12-18 15:25:29 +01:00