Commit graph

4,867 commits

Author SHA1 Message Date
Stefan Rueger
08aaf6e361
Add programmer type to -c*/d output 2024-08-09 16:43:02 +01:00
Stefan Rueger
f1df228902
Add bash script tools/test8 for release v8.0 testing 2024-08-09 14:33:30 +01:00
Stefan Rueger
a2c5b02c5d
Fix prodsig memories for jtag3/pdi/classic 2024-08-09 03:01:49 +01:00
Stefan Rueger
c00321dd52
Exclude jtag3 classic jtag prodsig memories 2024-08-09 02:32:34 +01:00
Stefan Rueger
fc0169f676
Add more hard-coded usbvid/pid to udev rules 2024-08-08 19:29:52 +01:00
Stefan Rueger
d91128269a
Deprecate obsolete features and options 2024-08-08 13:52:31 +01:00
Stefan Rueger
28ebfa0a4b
Update README.md with link to avrdude.pdf 2024-08-08 01:25:49 +01:00
Stefan Rueger
cdce41e7d2
Update NEWS/docu 2024-08-08 01:22:26 +01:00
Stefan Rueger
beb8a275ae
Merge pull request #1873 from stefanrueger/random
Initialise dryrun flash with realistic random code
2024-08-08 01:17:29 +01:00
朝日薫 / K.Sato
19d1ab6695
Writing BOOTROW for Curiosity Nano (#1870)
* Fix writing BOOTROW for Curiosity Nano by @askn37 
* Terminal writes to bootrow will do a read/CE/write cycle if needed by @stefanrueger 

Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com>
2024-08-08 01:15:34 +01:00
Stefan Rueger
c5a2412951
Merge pull request #1869 from stefanrueger/prodsig
Refine programmer/part/memory compatibility for ALL expansion
2024-08-08 01:12:49 +01:00
Stefan Rueger
d9deca0357
Merge pull request #1867 from stefanrueger/udev
Provide dev option `-c \*/u` that shows udev rules
2024-08-08 01:12:10 +01:00
Stefan Rueger
6490c18078
Merge pull request #1865 from stefanrueger/avrdude.pdf
Provide current avrdude.pdf documentation in repo root
2024-08-08 01:11:16 +01:00
Stefan Rueger
6f20b5d767
Merge pull request #1857 from ndim/doc-stop-building-dvi-and-ps
doc: Stop building and installing .ps and .dvi
2024-08-08 01:10:56 +01:00
Stefan Rueger
3cfce5ddb6
Merge pull request #1695 from ndim/improve-autotools-build-part-2
Improve autotools build (part 2/n)
2024-08-08 01:10:33 +01:00
Stefan Rueger
b28f24b222
Merge pull request #1637 from ndim/file-locations-in-docs
Use correct file locations in the documentation
2024-08-08 01:10:09 +01:00
Stefan Rueger
9e78cfef10
Initialise dryrun flash with realistic random code
On -x random dyrun will use only (random) opcodes that
 - The AVR architecture actually has
 - Are benign, ie, not reading/writing I/O or SRAM
 - Stay within the boundaries of the application
2024-08-08 00:53:19 +01:00
Stefan Rueger
57e236a8e6
Provide further op16_...() functions 2024-08-08 00:46:37 +01:00
Stefan Rueger
acac62846d
Add dryrun -xinit=<n> and -xrandom=<n> options 2024-08-07 17:27:12 +01:00
Stefan Rueger
1f72e0cf85
Update indexing of avrdude.texi 2024-08-07 17:05:14 +01:00
Stefan Rueger
41af587da8
Update documentation for USB permissions 2024-08-07 15:52:30 +01:00
Stefan Rueger
9a750de07f
Record USB access problems 2024-08-07 14:48:53 +01:00
Stefan Rueger
0b562510f5
Reformat error debug output of function() file line 2024-08-07 00:56:18 +01:00
Stefan Rueger
9ef51ff026
Silence powerdown comms warning 2024-08-07 00:54:34 +01:00
Stefan Rueger
7d843c4b0c
Provide str_asciiname() 2024-08-07 00:23:59 +01:00
Stefan Rueger
63b0b4a931
Reformat some continuation messages 2024-08-06 23:58:24 +01:00
Hans Ulrich Niedermann
c4d903e155 Use cmake libavrdude SOVERSION/VERSION for autotools
This transfers the information from the CMakeLists.txt
libavrdude VERSION and SOVERSION into the autotools
configure script and (partly) uses the information to
build the libavrdude.la libtool library.

At this time, VERSION must always be SOVERSION.0.0 for
this to work (and that is checked).
2024-08-07 00:53:50 +02:00
Hans Ulrich Niedermann
dfe14e63ae Only build and use libavrdude as a libtool library
As libtool is supposed to be able to build libraries for every
target system, we delegate library building to libtool and stop
building our own static libavrdude.a library.

You can control whether the static/dynamic library is built by
using the --(disable|enable)-(static|dynamic) configure flags.
2024-08-07 00:52:31 +02:00
Hans Ulrich Niedermann
a74c58b32a Keep workaround for no-dist-built-files not being available
As no-dist-built-files was only introduced in Automake 1.16.4,
we cannot rely on that feature being present and need to continue
using our own workaround.

This hooks the dist-hook in a more robust fashion in the face
of multiple dist-hook targets (and versioninfo.mk already uses
one).
2024-08-07 00:37:14 +02:00
Hans Ulrich Niedermann
0b82a1f124 CI: no need to install gettext for linux autotools test 2024-08-07 00:37:14 +02:00
Hans Ulrich Niedermann
50751ee5b3 configure.ac: Guard macros with m4_pattern_forbid
Guard m4 macro calls with m4_pattern_forbid for all
macros which do not come with Autoconf/Automake.

All other macros might not be present on the system,
and it is better to m4_pattern_forbid them and have
autoreconf fail, than to have autoreconf generate a
malformed broken configure script which then always
fails with a weird error message.
2024-08-07 00:37:14 +02:00
Hans Ulrich Niedermann
ef441f58d3 Elaborate comments on versioninfo_*
Elaborate a bit more on the VERSIONINFO_* and versioninfo_*
m4 macros. This should help me get back into things when I
come back to this in a year or so and have forgotten most
of the details.
2024-08-07 00:37:14 +02:00
Stefan Rueger
c16603a96e
Make warning about unused fuse bits a debug message
Different parts read unused fuse bits back with different bit default
values, the ATDF files don't necessarily document this correctly.

Rather than showing a warning that is ignored make this a debug message.
2024-08-06 22:33:14 +01:00
Stefan Rueger
4b03d25aba
Skip memories that the interface/part combo cannot handle 2024-08-06 22:17:35 +01:00
Stefan Rueger
00edcd220e
Make avr_mem_exclude() a libavrdude function 2024-08-06 21:02:49 +01:00
Stefan Rueger
8e10196efd
Fix exceptions for ALL memory list 2024-08-06 14:04:29 +01:00
mcuee
f06b436fe7
Update build.yml to add missing libusb-compat for macOS Homebrew 2024-08-06 15:52:41 +08:00
Stefan Rueger
105f72df31
Refine ALL expansion: exclude known exceptions
For example, classic parts with usersig memory cannot access that using ISP.
2024-08-06 00:31:29 +01:00
Stefan Rueger
546cc8f286
Improve messaging around read errors 2024-08-06 00:19:36 +01:00
Stefan Rueger
3c9d4dbbfe
Define sernum/prodsig ISP read op for t12/t15 2024-08-06 00:19:06 +01:00
Stefan Rueger
98524b33b3
Document user udev rules ought to be 60 or below 2024-08-05 00:57:18 +01:00
Stefan Rueger
74e1fcf13b
Remove comment about reloading udev rules and redraft docu 2024-08-05 00:35:06 +01:00
Stefan Rueger
c090a99aa0
Document udev rule output via -c prog/u 2024-08-04 22:21:14 +01:00
Stefan Rueger
ee8bbe8463
Tweak suggested udev rules 2024-08-04 22:20:37 +01:00
Stefan Rueger
192a34f2db
Provide dev option -c*/u for udev rules 2024-08-04 20:35:09 +01:00
Stefan Rueger
7cc0e08b89
Add relevant usbvid/usbpid to programmers in avrdude.conf 2024-08-04 19:56:35 +01:00
Stefan Rueger
ccc856533f
Provide str_ccpgmids() function 2024-08-04 19:50:43 +01:00
Stefan Rueger
af80e729d9
Provide current avrdude.pdf documentation in repo root 2024-08-03 16:55:00 +01:00
Stefan Rueger
0f4715441c
Update News 2024-08-03 16:47:16 +01:00
Stefan Rueger
a4be96415e
Merge pull request #1864 from stefanrueger/serno-jtag3
Provide -P usb:vid:pid for USB hid i/f and allow long -P usb:serno
2024-08-03 16:30:25 +01:00