Commit Graph

5453 Commits

Author SHA1 Message Date
stefanrueger
7154723b9e Update NEWS 2026-07-21 07:58:22 +02:00
Stefan Rueger
d4a08b9a4a Merge pull request #2158 from MX682X/main
Fixing look up table logic for automotive ATTiny parts with pickit5
2026-07-21 07:53:15 +02:00
Joerg Wunsch
17cae4139c Update NEWS 2026-07-21 00:08:48 +02:00
Jörg Wunsch
65f5f8d0fd Merge pull request #2162 from wexi/pr-mkii-leave-progmode
jtagmkII: treat leave-progmode refusal as benign when target reset succeeds
2026-07-21 00:06:09 +02:00
Enoch
110c199b59 jtagmkII: treat leave-progmode refusal as benign when target reset succeeds
The JTAG ICE mkII couples CMND_LEAVE_PROGMODE with re-attaching the
on-chip debug system. On a part with the OCDEN fuse unprogrammed -- the
required state of every shipped product -- that attach cannot succeed
and the ICE answers RSP_FAILED although all memory operations completed.
Bench-isolated on an AT90CAN128: identical command bytes, only the
stored OCDEN fuse value decides OK vs FAILED (lock bits ruled out).

Issue the recovery reset first and report a notice when it succeeds;
keep the error only for the case where the reset fails too, since that
is the only outcome that actually leaves the target dead.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012Mh2GBGBjSKBTr3Lrxo2fa
2026-07-19 19:33:35 +03:00
Joerg Wunsch
9af4fd3d42 Update NEWS 2026-07-18 23:07:31 +02:00
Jörg Wunsch
9274cc5824 Merge pull request #2157 from dl8dtl/fix_2149
Fix issue #2149:

* sort memory regions while reading config file so list always yields the same order
* use `avr_mem_name()` to display the memory regions
2026-07-18 23:05:33 +02:00
Joerg Wunsch
5f4a60d4f7 Use avr_mem_name() to derive the name of fuses
As discussed in

https://github.com/avrdudes/avrdude/pull/2157

it is useful to use avr_mem_name() rather than m.desc in
particular to better describe fuses.
2026-07-17 23:32:15 +02:00
Joerg Wunsch
032726565b Mark avr_mem_name() to be wrapped by SWIG 2026-07-17 23:31:31 +02:00
Joerg Wunsch
682a569ec5 Update NEWS for recent PRs / issues 2026-07-16 23:21:24 +02:00
Joerg Wunsch
f81bc0ff9d Merge branch 'main' into fix_2149 2026-07-16 23:05:59 +02:00
Jörg Wunsch
43d12bb44e Merge pull request #2156 from dl8dtl/fix_dark_mode
Fix dark mode
2026-07-16 23:03:52 +02:00
Jörg Wunsch
080bf6be72 Merge pull request #2155 from dl8dtl/fix_2148_avr_la
Fix GUI for AVR LA

Add one more fuse field to the memory popup, so "fusea" can be handled.
2026-07-16 23:00:10 +02:00
Joerg Wunsch
fc7c89f1d4 Move ordering of memory sections after reading config file
As suggested, sort the memory sections into order right after reading
the config file, so all consumers of the library will later see them
in the same order.
2026-07-16 22:56:46 +02:00
stefanrueger
f89393cf90 Strdup string instead of variable-length char array 2026-07-16 21:41:23 +02:00
MX682X
d256af3564 fixing assignments on "auto" parts and some adjustments on the scripts_decoder 2026-07-16 09:38:59 +02:00
MX682X
68aa185437 added script version information 2026-07-16 08:12:44 +02:00
Joerg Wunsch
1c9907541c Merge branch 'main' into fix_dark_mode 2026-07-14 22:13:21 +02:00
Joerg Wunsch
c03ceb563d Merge branch 'main' into fix_2148_avr_la 2026-07-14 22:12:51 +02:00
Joerg Wunsch
78e0e0aafe Extend the RE for modern AVRs to all two-letter middle strings
As Microchip introduces new AVR families, they seem to follow now the
scheme to have "AVR", the number of KiB flash, two letters, and the
number of pins of the device.  Extend the regular expression to match
these (and thus also future devices) when displaying the device
selection groups.
2026-07-14 22:07:15 +02:00
Joerg Wunsch
318aacb8b3 Fix for issue #2148: handle one more fuse of AVR-LA
AVR-LA devices have 10 fuses, yet the GUI so far only had entries for
(up to) 9 fuses.  Thus, selecting an AVR-LA device, it eventually
threw an exception for trying to touch GUI elements that don't exist.
2026-07-14 22:03:50 +02:00
Joerg Wunsch
67fcfcb442 Fix darkmode stylesheets for signature display
Signature display fiddles a bit with stylesheets, deviating from standard
text attributes, in order to inform about signature mismatch.  Adapt this
for darkmode operation.
2026-07-13 23:23:13 +02:00
Joerg Wunsch
9b4464ab9b Find out whether GUI is in darkmode
Adapt log level colors for darkmode.
2026-07-13 23:09:23 +02:00
Stefan Rueger
638e400d2e Set TO_BE_DEPRECATED_IN_2026 macro 2026-07-11 12:49:26 +01:00
Stefan Rueger
0cf6b7e57f Increment libavrdude version 2026-07-11 12:46:53 +01:00
Stefan Rueger
0bc4157451 Update NEWS and avrdude.pdf 2026-07-11 12:38:07 +01:00
Stefan Rueger
65dd419fdd Declare const char * pointers as such v8.2 2026-07-11 12:11:28 +01:00
Stefan Rueger
eb2e73241a Copy const argument for modifications 2026-07-11 12:10:01 +01:00
Stefan Rueger
216a400749 Update version to v8.2 2026-07-11 11:40:03 +01:00
Stefan Rueger
b53c83bd44 Merge pull request #2152 from stefanrueger/remove-hvmoncfg
Remove hvmoncfg alias
2026-07-01 17:29:40 +01:00
Stefan Rueger
15265dc1ee Remove hvmoncfg alias
This alias is no longer needed as Microchip are changing the .atdf fuse
name to hwmoncfg.
2026-07-01 17:24:56 +01:00
Stefan Rueger
e184d2ab3c Update NEWS 2026-07-01 00:00:43 +01:00
Stefan Rueger
a29c8d66c9 Merge pull request #2151 from stefanrueger/update-mem-macros
Add macros for new memories
2026-06-30 23:59:41 +01:00
Stefan Rueger
3f1d2cf19d Add macros for new memories 2026-06-30 19:44:58 +01:00
Stefan Rueger
2756ccffc3 Update NEWS 2026-06-29 00:10:11 +01:00
Stefan Rueger
0e06e6a345 Merge pull request #2150 from MX682X/main
updating device pack
2026-06-29 00:07:56 +01:00
MX682X
762b1560fc updating device pack 2026-06-28 22:22:01 +02:00
Joerg Wunsch
ec3086c2e7 Add the AVR-LA series to "AVR…D/E/L…" in GUI device selection
The GUI device selection dialog roughly classifies individual
AVRs, to allow restricting the selection box.  For the new
AVR-LA devices, it makes sense to group them to the AVR-D* and
AVR-E* devices, instead of falling back to "Other".
2026-06-28 22:09:58 +02:00
Stefan Rueger
26775daf58 Update NEWS 2026-06-28 16:58:54 +01:00
Stefan Rueger
6c740cb7dd Merge pull request #2147 from stefanrueger/programmer.type
Fix programmer type usage
2026-06-28 16:54:14 +01:00
Stefan Rueger
b92026ccc3 Remove memory comments in avrdude.conf
The cleanliness and consistency of avrdude.conf owes much to AVRDUDE's
ability to print its own understanding of avrdude.conf entries using
developer options -c*/s and -p*/s.

Unfortunately, comments around memory entries are lost when using these
options, so it's better to not put them into the configuration.
2026-06-28 15:52:05 +01:00
Stefan Rueger
38007133ef Rename type component of programmer to ptyp
The type component of the programmer structure can be, and on a number of
occasions has been, confused with the type component of the avrdude.conf
file. The latter is solely used to set the initpgm component. The former
is an internally used structure component that the user does not see.

Hence it is justified, and desirable, to rename the type component of the
programmer to avoid future confusion.
2026-06-28 15:18:44 +01:00
Stefan Rueger
6715b31cac Fix pgm->type usage 2026-06-28 15:17:51 +01:00
Stefan Rueger
92827e19c0 Change the type of pgm->type to const char * 2026-06-28 15:17:51 +01:00
Stefan Rueger
00d5808749 Remove not needed cleaning of type component
The type component of the programmer is set at runtime. As such it does
not need to be part of the raw dump of the configuration values for the
developer option -c*/r. As the type component is not used in the raw dump,
the removed code does not serve a purpose.
2026-06-28 15:12:44 +01:00
Stefan Rueger
3b48e36515 Update NEWS 2026-06-28 06:45:20 +01:00
Stefan Rueger
af1f99e757 Merge pull request #2144 from stefanrueger/hvmoncfg-alias
Alias `hvmoncfg `to `hwmoncfg`
2026-06-28 06:39:30 +01:00
Stefan Rueger
2972a01274 Merge pull request #2143 from stefanrueger/avrintel
Update avrintel
2026-06-28 06:38:17 +01:00
Stefan Rueger
c310625f5d Merge pull request #2141 from stefanrueger/pgmid_is
Future-proof programmer identification
2026-06-28 06:36:15 +01:00
Stefan Rueger
cd8c47ef39 Replace tabs with spaces in avrdude.1 2026-06-28 06:35:30 +01:00