Commit Graph

4326 Commits

Author SHA1 Message Date
Stefan Rueger
cd956e827e Exclude all but flash/eeprom/sig from ALL in debugwire i/fce or -c urclock 2024-08-12 15:31:21 +01:00
Stefan Rueger
11f419f554 Update NEWS 2024-08-09 20:28:06 +01:00
Stefan Rueger
23244e7223 Merge pull request #1877 from stefanrueger/jtag3-prodsig
Fixes for jtag3 programmers and prep for jtagmkII
2024-08-09 20:26:18 +01:00
Stefan Rueger
526ffe1814 Add options -a and -m to test8 2024-08-09 20:24:53 +01:00
Stefan Rueger
5999e5f067 Merge branch 'avrdudes:main' into jtag3-prodsig 2024-08-09 18:35:06 +01:00
Stefan Rueger
c833d9fae0 Update NEWS/docu 2024-08-09 18:34:46 +01:00
Stefan Rueger
3c8ea5e638 Merge branch 'avrdudes:main' into jtag3-prodsig 2024-08-09 18:30:26 +01:00
Stefan Rueger
5537a64cb3 Merge pull request #1876 from stefanrueger/udev-again
Add more hard-coded usbvid/pid to udev rules
2024-08-09 18:29:33 +01:00
Stefan Rueger
2834faf4c1 Merge pull request #1875 from stefanrueger/deprecated
Deprecate obsolete features and options
2024-08-09 18:28:33 +01:00
Stefan Rueger
2ae5f08c9b Exclude jtag2updi sib memory 2024-08-09 18:20:51 +01:00
Stefan Rueger
80cd5a97ce Add scope of jtagmkII.c 2024-08-09 18:13:28 +01:00
Stefan Rueger
78f0594971 Update scope of jtag3.c 2024-08-09 18:13:15 +01:00
Stefan Rueger
f2be9b030c Consider bootrow for jtagmkII and PDI/calibration 2024-08-09 17:11:34 +01:00
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