Commit Graph

4115 Commits

Author SHA1 Message Date
Stefan Rueger
fe26375884 Compute opcodes for disasm, given the part 2024-07-17 18:49:58 +01:00
Stefan Rueger
be125ee0ce Provide avr-gcc's archnum in avrdude.conf 2024-07-17 15:37:42 +01:00
Stefan Rueger
f78b407358 Model availability of opcodes for parts 2024-07-17 15:18:49 +01:00
Stefan Rueger
3bc3c0f4d9 Utilize flash size for disasm 2024-07-17 01:39:18 +01:00
Stefan Rueger
483cc07d9d Rename _ld[1-3]/_st[1-3] to _ldx[1-3]/_stx[1-3] 2024-07-17 01:35:49 +01:00
Stefan Rueger
8e864afcf0 Lowercase opcode mnemonics 2024-07-16 22:27:07 +01:00
Stefan Rueger
baab44f9f5 Provide avr_opcodes[] table 2024-07-16 22:21:26 +01:00
Stefan Rueger
6d62c8312a Enum opcodes instead of #define 2024-07-16 20:44:37 +01:00
Stefan Rueger
ae414be93d Move global disasm variables into context structure 2024-07-16 19:49:57 +01:00
Stefan Rueger
a7cf143934 Assert const-ness of pointer arguments 2024-07-16 15:10:03 +01:00
Stefan Rueger
825c93e64f Provide disasm terminal command 2024-07-16 14:44:47 +01:00
Stefan Rueger
ec285290fe Remove option parsing from disasm files 2024-07-16 14:43:34 +01:00
Stefan Rueger
d3dbf3505a Remove tools.[ch] and functions.h & rewrite BitCount() 2024-07-16 11:17:14 +01:00
Stefan Rueger
b2ead9a4ef Make disasm files part of compilation 2024-07-16 11:10:55 +01:00
Stefan Rueger
a21f84bb64 Rename and reformat disasm files 2024-07-16 11:09:58 +01:00
Stefan Rueger
8f575224b1 Add avrdisas-0.07 sources 2024-07-16 10:31:41 +01: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