Commit Graph

5469 Commits

Author SHA1 Message Date
stefanrueger
64033bfdbd Fix sentence 2026-07-28 03:52:48 +02:00
stefanrueger
32ec716895 Document modify configuration syntax 2026-07-28 03:07:01 +02:00
stefanrueger
c25afe26b8 Provide modify (part|programmer) <id> configuration syntax 2026-07-28 02:40:20 +02:00
stefanrueger
91c562a3b2 Provide modify_comments() 2026-07-28 02:35:34 +02:00
stefanrueger
3fd620c020 Clarify why memory is freed in pgm_dup() 2026-07-28 01:21:56 +02:00
stefanrueger
1ecca1fdbe Add comment listing changes from original source 2026-07-25 22:33:51 +02:00
stefanrueger
a2f944f6d5 Update NEWS 2026-07-23 22:33:12 +02:00
Stefan Rueger
c787b11e99 Merge pull request #2168 from stefanrueger/leave-progmode
Fix `prog_enabled` clearance
2026-07-23 22:24:31 +02:00
stefanrueger
c919f89414 Update NEWS 2026-07-22 18:44:39 +02:00
Stefan Rueger
6c7736fbd4 Merge pull request #2167 from stefanrueger/usbdebug
Provide `trace_dump()`
2026-07-22 18:42:50 +02:00
stefanrueger
f103f43d62 Only enter trace_dump() body when needed 2026-07-22 18:34:52 +02:00
stefanrueger
0fe991ada5 Pad buffer and small variants 2026-07-22 18:25:31 +02:00
stefanrueger
1e68da229b Fix prog_enabled clearance
prog_enabled should only be cleared once there is evidence that leave
programming has actually worked.
2026-07-22 08:30:16 +02:00
stefanrueger
4b15f82f7d Provide trace_dump() 2026-07-22 08:04:40 +02:00
stefanrueger
21211e945d Provide str_hexdump16() 2026-07-22 07:44:29 +02:00
stefanrueger
d4c39fd300 Simplify hexdump_buf() 2026-07-22 07:06:30 +02:00
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