Commit Graph

4114 Commits

Author SHA1 Message Date
MCUdude
95b4e7804a Improve -x help for the remaining programmers 2024-07-29 18:04:34 +02:00
MCUdude
9658908e7f check if pgm->type is Arduino instead of pgmid 2024-07-29 17:45:16 +02:00
MCUdude
41e7d81544 Fix issue where help flag wasn't set when it should 2024-07-29 17:43:07 +02:00
Stefan Rueger
df5d1feb89 Add remaining spaces after -x in messages 2024-07-29 16:24:40 +01:00
Stefan Rueger
f37e5930df Clarify invalid value messages for valid -x parameters ...
... and generally massage messaging around -x parameters
2024-07-29 16:15:11 +01:00
MCUdude
313c8b4d1a Print helptext for all programmers that supports extended params when incorrect param is specified 2024-07-29 10:31:56 +02:00
MCUdude
568bb8e575 Use bool instead of int for help flag 2024-07-29 09:19:50 +02:00
MCUdude
c1a0378229 Print -x help text when invalid extended option is passed 2024-07-29 06:31:50 +02:00
MCUdude
cda52a3a06 Fix autoreset flag for -c arduino
plus a few other minor things
2024-07-28 21:56:49 +02:00
MCUdude
12c41f2d0e Small tweaks based on feedback from @stefanrueger 2024-07-28 20:24:31 +02:00
MCUdude
94e968af91 Use %i instead of %2d 2024-07-28 20:07:57 +02:00
Stefan Rueger
c3d97e923e Add -xnoautoreset for the -c urclock programmer 2024-07-28 17:57:51 +01:00
MCUdude
0d7524deeb Add -xno_autoreset for the -c wiring programmer 2024-07-22 21:14:10 +02:00
MCUdude
5e4a9a7616 Add -xno_autoreset for the -c arduino programmer 2024-07-22 19:27:22 +02:00
MCUdude
aebf970d0c Add -xautoreset option for the AVR109 programmer 2024-07-22 17:31:07 +02:00
Stefan Rueger
5dc2399694 Update NEWS 2024-07-15 17:41:26 +01:00
Stefan Rueger
96090dd688 Merge pull request #1840 from stefanrueger/signature-check
Improve signature check for UPDI parts
2024-07-15 17:34:53 +01:00
Stefan Rueger
6039247ce2 Merge pull request #1835 from dbuchwald/issue_1832
Alternative fix proposal for #1832
2024-07-15 17:34:02 +01:00
Stefan Rueger
2c57c2e6b8 Merge pull request #1829 from stefanrueger/additional-memories
Add  fuses, calibration, sernum and tempsense memories to XMEGAs
2024-07-15 17:32:59 +01:00
Stefan Rueger
ca4534af84 Remove unnecessary empty lines in avrdude.conf 2024-07-15 17:31:55 +01:00
Stefan Rueger
f3caabf264 Make dryrun vector tables more realistic 2024-07-15 15:57:53 +01:00
Stefan Rueger
e4c67c2c6e Skip stump parts and all 0xff/0x00 signatures in locate_part_by_signature() 2024-07-15 15:56:36 +01:00
Stefan Rueger
dbb1ceff1a Fix jtag3 access to UPDI sigrow sub-memories 2024-07-14 23:12:20 +01:00
Stefan Rueger
0c710432d2 Update term command usage 2024-07-14 23:09:03 +01:00
Stefan Rueger
d8836d3819 Fix jtag3 access to prodsig sub-memories 2024-07-14 19:40:27 +01:00
Stefan Rueger
99bd83c186 Suppress overzealous compiler warnings 2024-07-14 19:27:04 +01:00
Stefan Rueger
43c915aca3 Skip parts with all 0xff/0x00 signature 2024-07-14 19:13:45 +01:00
Stefan Rueger
811d01e9db Check several signature offsets when trying a -p UPDI part 2024-07-14 18:35:37 +01:00
Stefan Rueger
31bed52080 Consider prog_modes in str_ccmcunames_signature() 2024-07-14 17:59:40 +01:00
Stefan Rueger
44104df3e2 Add missing space 2024-07-14 15:46:24 +01:00
Stefan Rueger
96e92ba470 Extend prodsig and sernum to virtually all classic parts 2024-07-14 01:24:13 +01:00
Stefan Rueger
7fbd963ea4 Rearrange classic parts and parenting in avrdude.conf
Although, on the surface of it, every entry of a classic part has been
changed, and some radically so by different parenting, there are only
subtle changes in AVRDUDE's internal representation:
 - 15 parts that did not have an io memory entry now have one
 - Some ISP opcodes were replaced with equivalent ones (x maps to 0)

This has been checked using the development options, particularly -p*/At,
before and after the changes.

The benefit of the new avrdude.conf is that every (non-TPI) classic part
is now derived from a common .classic or .classic-nocal stub. This enables
putting a common prodsig and sernum memory there. Generally, parenting
off now only happens between related chips. All in all, more systematic.
And it's some 10% smaller, too.
2024-07-14 00:55:50 +01:00
Stefan Rueger
90a4a54fd3 Map x-bits to 0 for SPI opcode comparison 2024-07-14 00:41:14 +01:00
Stefan Rueger
8f7160799a Correct comments 2024-07-13 20:17:01 +01:00
Stefan Rueger
71029c515a Fix write delays for some classic parts
Compared the T WD_FUSE etc values in the data sheets for m169, m169a,
m169p, m169pa, m3290a, m3290p, m3290pa, m329a, m329p, m329pa, m6490a,
m6490p, m649a, m649p and m8535.
2024-07-13 14:31:48 +01:00
Stefan Rueger
6ca23bd3c7 Utilise PM_Classic in code 2024-07-12 19:52:13 +01:00
Stefan Rueger
6f92e188fd Enable sigrow sub-memory reading for butterfly 2024-07-12 19:06:23 +01:00
Stefan Rueger
b23370a8c1 Enable sigrow sub-memory reading for avrftdi_jtag 2024-07-12 19:05:42 +01:00
Stefan Rueger
1ce9154664 Review sigrow sub-memory treatment in jtag*.c 2024-07-12 19:04:19 +01:00
Stefan Rueger
45d1bea575 Enable classic sernum read for ISP/HVPP/HVSP/JTAG in stk500v2.c 2024-07-12 18:53:16 +01:00
Stefan Rueger
8a4c00fc21 Add ability to read classic sernum mem to avr_read_byte_default() 2024-07-12 18:41:37 +01:00
Stefan Rueger
be63435aa2 Copy sernum into prodsig for classic parts in dryrun.c 2024-07-12 18:37:28 +01:00
Stefan Rueger
8d1ea38297 Fix plural in message 2024-07-12 18:25:21 +01:00
Stefan Rueger
6979fce1ee Fix sernum entries for classic parts 2024-07-12 17:52:54 +01:00
Stefan Rueger
f489dac5f7 Fix typo 2024-07-10 19:38:10 +01:00
Dawid Buchwald
e7f7691367 Rolled back page erase feature as not needed anymore 2024-07-07 17:21:12 +02:00
Dawid Buchwald
69a55458da Merge branch 'main' into issue_1832 2024-07-07 17:15:05 +02:00
Stefan Rueger
09d4dbb5b9 Merge branch 'avrdudes:main' into additional-memories 2024-07-07 14:46:03 +01:00
Stefan Rueger
d10986f12c Update News 2024-07-07 14:43:47 +01:00
Stefan Rueger
883a6147f7 Merge pull request #1837 from stefanrueger/updi-page-erase
Use page erase for UPDI programming
2024-07-07 14:40:20 +01:00